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 --- 1892/CH1/EX1.9/Example1_9.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1892/CH1/EX1.9/Example1_9.sce (limited to '1892/CH1/EX1.9/Example1_9.sce') diff --git a/1892/CH1/EX1.9/Example1_9.sce b/1892/CH1/EX1.9/Example1_9.sce new file mode 100755 index 000000000..a5d197d8a --- /dev/null +++ b/1892/CH1/EX1.9/Example1_9.sce @@ -0,0 +1,22 @@ +// Example 1.9 + +clear; clc; close; + +format('v',7); +// Given data +R2=0.04;//in ohm +X2=0.2;//in ohm + +//Calculations +R2dash=X2;//in ohm (for Tm=Tst) +//formula : R2dash=R2+rex +Rex=R2dash-R2;//in ohm/phase +disp(Rex,"(i) External resistance required in ohm/phase : "); +disp("For Tst=Tm/2, Tm=k*E2^2/2/X2 and Tst=k*E2^2*R2/(R2^2+X2^2)"); +disp("This gives a polynomial for value of R2dash."); +P=[1 -4*X2 X2^2];//R2dash^2-4*X2*R2dash+X2^2=0 +R2dash=roots(P);//in ohm +disp(R2dash,"Value of R2dash(ohm) are ") +disp(R2dash(2),"But R2dash cant be greater than X2, R2dash(ohm) is : "); +Rex=R2dash(2)-R2;//in ohm/phase +disp(Rex,"(ii) External resistance required in ohm/phase : "); -- cgit