From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1445/CH8/EX8.24/ch8_ex_24.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 1445/CH8/EX8.24/ch8_ex_24.sce (limited to '1445/CH8/EX8.24/ch8_ex_24.sce') diff --git a/1445/CH8/EX8.24/ch8_ex_24.sce b/1445/CH8/EX8.24/ch8_ex_24.sce new file mode 100644 index 000000000..e330f4a03 --- /dev/null +++ b/1445/CH8/EX8.24/ch8_ex_24.sce @@ -0,0 +1,28 @@ +//CHAPTER 8- DIRECT CURRENT MACHINES +//Example 24 + +disp("CHAPTER 8"); +disp("EXAMPLE 24"); + +//This example is same as example 19 + +//VARIABLE INITIALIZATION +v=250; //in Volts +r_a=0.5; //in Ohms +r_f=250; //in Ohms +N1=600; //in rpm +I_l=21; //in Amperes +r=250; //in Ohms + +//SOLUTION +I_f1=v/r_f; +I_a1=I_l-I_f1; +I_a2=2*I_a1; +E_b1=v-(I_a1*r_a); +E_b2=v-(I_a2*r_a); +ratio=(r+r_f)/r_f; +N2=(ratio*N1*E_b2)/E_b1; +N2=round(N2); +disp(sprintf("The new speed is %d rpm",N2)); + +//END -- cgit