diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /213/CH2/EX2.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '213/CH2/EX2.7')
-rwxr-xr-x | 213/CH2/EX2.7/2_7.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/213/CH2/EX2.7/2_7.sce b/213/CH2/EX2.7/2_7.sce new file mode 100755 index 000000000..f87044b74 --- /dev/null +++ b/213/CH2/EX2.7/2_7.sce @@ -0,0 +1,24 @@ +//To Find Velocity and Acceleration
+clc
+//Given:
+r=1.5 //m
+N0=1200,N=1500 //rpm
+t=5 //seconds
+//Solution:
+//Calculating the angular velocities
+omega0=2*%pi*N0/60,omega=2*%pi*N/60 //rad/s
+//Calculating the linear velocity at the beginning
+v0=r*omega0 //m/s
+//Calculating the linear velocity at the end of 5 seconds
+v5=r*omega //m/s
+//Calculating the angular acceleration
+alpha=(omega-omega0)/t //ad/s^2
+//Calculating the tangential acceleration after 5 seconds
+TangentialAcceleration=alpha*(r/2) //m/s^2
+//Calculating the radial acceleration after 5 seconds
+RadialAcceleration=(omega^2)*(r/2) //m/s^2
+//Results:
+printf("\n\n The linear velocity at the beginning, v0 = %.1f m/s.\n",v0)
+printf(" The linear velocity after 5 seconds, v5 = %.1f m/s.\n",v5)
+printf(" The tangential acceleration after 5 seconds is %.1f m/s^2.\n",TangentialAcceleration)
+printf(" The radial acceleration after 5 seconds is %d m/s^2.",RadialAcceleration)
\ No newline at end of file |