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 --- 1376/CH9/EX9.1/9_1.sci | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1376/CH9/EX9.1/9_1.sci (limited to '1376/CH9/EX9.1/9_1.sci') diff --git a/1376/CH9/EX9.1/9_1.sci b/1376/CH9/EX9.1/9_1.sci new file mode 100755 index 000000000..72353e4dd --- /dev/null +++ b/1376/CH9/EX9.1/9_1.sci @@ -0,0 +1,16 @@ +//9.1 +clc; +n=300/1; +Z2=complex(1.5,1); +a=polar(Z2); +I2=5; +E2=I2*a; +E1=E2/n; +alpha=atand(1/1.5) +Io=complex(100,40) +delta=atand(40/100); +b=polar(Io) +sigma=-(b*sind(alpha+delta))*100/(n*I2); +printf("Ratio error=%.2f percent",sigma) +bet=(b*cosd(alpha+delta))/(n*I2); +printf("\nPhase angle=%.2f degree",bet) \ No newline at end of file -- cgit