Matlab Code
Matlab Code
FpV = 1184.3525.*cos(pi*theta/180);
FpH=(1184.3525.*(sin(pi*theta/180) +
(2^0.5)*sin(2.*pi*theta/180)./5));
%Fp=(FpV^(2)+FpH^(2))^(0.5);
Fp=1184.3525*sqrt(1+0.8.*sqrt(2).*sin(pi*theta/180).*sin(p
i*theta/180).*cos(pi*theta/180).*(1+0.2.*sqrt(2).*cos(pi*t
heta/180)));
subplot(3,1,1);
plot(theta, FpV);
set(gca,'XLim',[0 360]);
set(gca,'XTick',(0:15:360));
grid on;
subplot(3,1,2);
plot(theta, FpH);
set(gca,'XLim',[0 360]);
set(gca,'XTick',(0:15:360));
grid on;
subplot(3,1,3);
plot(theta, Fp);
set(gca,'XLim',[0 360]);
set(gca,'XTick',(0:15:360));
ylabel('Inertial Force')
grid on;