summaryrefslogtreecommitdiff
path: root/3648/CH7/EX7.6/Ex7_6.sce
blob: cad9914b28494b2035ac858ab19af99bbb42aca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 7_6
clc();
clear;
//To find out the rotation rate
at=8.6   //units in meters/sec^2
r=0.2    //units in meters
alpha=at/r    //units in rad/sec^2
t=3   //units in sec
wf=alpha*t   //units in rad/sec
printf("The rotation rate is wf=%d rad/sec",wf)
//In textbook answer is printed wrong as 129 rad/sec but the correct answer is 128 rad/sec