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 --- 83/CH8/EX8.1/example_8_1.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 83/CH8/EX8.1/example_8_1.sce (limited to '83/CH8/EX8.1/example_8_1.sce') diff --git a/83/CH8/EX8.1/example_8_1.sce b/83/CH8/EX8.1/example_8_1.sce new file mode 100755 index 000000000..1aca454b4 --- /dev/null +++ b/83/CH8/EX8.1/example_8_1.sce @@ -0,0 +1,18 @@ +//Chapter 8 +//Example 8.1 +//page 300 +//To determine the change in the frequency +clear;clc; +f=50; +H=5e3; +KE=H*100*1000; //K.E stored in the generator +PI=50e6; //power input to generator before the stem valve is closed +EE=PI*0.4 ; //Excess energy input to the rotating parts +fnew=f*((KE+EE)/KE)^0.5; //frequency at the end of the 0.4sec +printf('\nKinetic Energy stored in the rotating parts of generator and turbine = %d kW-sec',KE/1000); +printf('\nExcess power input to generator before the stem valve begins to close=%d MW',PI/1000000); +printf('\nExcess energy input to rotating parts in 0.4sec=%d kW-sec',EE/1000); +printf('\nFrequency at the end of 0.4sec=%0.2f Hz\n\n',fnew); + + + -- cgit