summaryrefslogtreecommitdiff
path: root/3648/CH7/EX7.5/Ex7_5.sce
blob: 2ad5a181b7f6eb0d189c24decdaf16cbf8ae6c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 7_5
clc();
clear;
//To find the angular acceleration and angular velocity of one wheel
vtf=20   //units in meters/sec
r=0.4    //units in meters
wf=vtf/r   //units in rad/sec
vf=20   //units in meters/sec
v0=0    //units in meters/sec^2
t=9   //units in sec
a=(vf-v0)/t   //units in meters/sec^2
alpha=a/r     //units in rad/sec^2
printf("Angular accelertion is a=%.2f meters/sec^2\n",a)
printf("Angular velocity is alpha=%.2f rad/sec^2",alpha)