Professional Documents
Culture Documents
>> Fo=int(Tf^(-2)*2*Fm*t,0,Tf/2)+int(Tf^(-2)*2*Fm*(Tf-t),Tf/2,Tf)
Fo =
Fm/2
>> Fc=int(4*Tf^(-2)*Fm*t*cos(n*2*pi*t/Tf),0,Tf/2)+int(4*Tf^(-2)*Fm*(Tf-
t)*cos(n*2*pi*t/Tf),Tf/2,Tf)
Fc =
>> simplify(Fc)
ans =
-(2*Fm*cos(pi*n)*(cos(pi*n) - 1))/(pi^2*n^2)
>> pretty(ans)
2 Fm cos(pi n) (cos(pi n) - 1)
- ------------------------------
2 2
pi n
>> Fs=int(4*Tf^(-2)*Fm*t*sin(n*2*pi*t/Tf),0,Tf/2)+int(4*Tf^(-2)*Fm*(Tf-
t)*sin(n*2*pi*t/Tf),Tf/2,Tf)
Fs =
>> simplify(Fs)
ans =
(4*Fm*sin(pi*n)*sin((pi*n)/2)^2)/(pi^2*n^2)
>> pretty(ans)
/ pi n \2
4 Fm sin(pi n) sin| ---- |
\ 2 /
---------------------------
2 2
pi n