You are on page 1of 1

%theta : Angular displacment

% thetadot : Angular Velocity


%Thetadoubledot: Angular Acceleration
Theta=input('Enter Angular Displacement = ')
Thetadot=input('Enter Angular Velocity')
Thetadobuledot=('Enter Angular Acceleration')
beta=('Enter
betadot=

betadoubledot=([[(1/sqrt(2)))*thetadoubledot*cos(theta)-
(1/2)*thetadoubledot*cos(theta)*cos(theta)-
thetadot*thetadot*sin(theta)+
((1/(2*sqrt(2)))*thetadot*thetadot*sin(2*theta))-
(1/2)*thetadot*thetadot*sin(theta)*sin(theta)-
(1/2)*thetadoubledot*sin(theta)*sin(theta)]*[(1-
((1/sqrt(2))*cos(teta)))*(1-((1/sqrt(2)*cos(theta)))]-[[2*(1-
((1/sqrt(2))*cos(theta))*((1/sqrt((2))*thetadot*cos(theta))-
((1/sqrt(2))*sin(theta))*((1/sqrt(2))*thetadot*sin(theta))]*((1-
((1/sqrt(2)*cos(theta)))*((1/sqrt(2))*thetadot*sin(theta)))]]
/((sec(beta)*sec(beta)*(1-(1/sqrt(2))*cos(teta))^4)))-
(2*betadot*betadot*sec(beta)*sec(beta)*tan(beta))

You might also like