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 --- 2411/CH1/EX1.9/Ex1_9.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 2411/CH1/EX1.9/Ex1_9.sce (limited to '2411/CH1/EX1.9') diff --git a/2411/CH1/EX1.9/Ex1_9.sce b/2411/CH1/EX1.9/Ex1_9.sce new file mode 100755 index 000000000..ae996ba20 --- /dev/null +++ b/2411/CH1/EX1.9/Ex1_9.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex1.9: Page-14 (2008) +clc; clear; +omega1 = 500; // Angular speed of rotating shaft, r.p.m. +omega2 = 0; // Initial angular speed of the second wheel, r.p.m. +I = 1; // For simplicity assume moment of ineria of the wheels to be unity +I1 = I, I2 = I; // Moment of inertia of wheels A and B, kg-Sq.m +// As I1*omega1 + I2*omega2 = (I1 + I2)*omega, solving for omega +omega = (I1*omega1 + I2*omega2)/(I1 + I2); // Angular speed of the combination of two wheels, r.p.m. +printf("\nThe angular speed of the combination of two wheels = %3.0f r.p.m.", omega); + +// Result +// The angular speed of the combination of two wheels = 250 r.p.m. \ No newline at end of file -- cgit