From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 213/CH2/EX2.7/2_7.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 213/CH2/EX2.7/2_7.sce (limited to '213/CH2/EX2.7') 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 -- cgit