blob: caa49a2c84c1689141170d44c19780a8b48f245d (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 7_2
clc();
clear;
//To find average angular velocity
theta=1800 //units in rev
t=60 //units in sec
w=(theta/t) //units in rev/sec
w=w*(2*%pi) //units in rad/sec
printf("Average angular velocity is w=%d rad/sec",w)
|