diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1376/CH9/EX9.1/9_1.sci | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1376/CH9/EX9.1/9_1.sci')
-rwxr-xr-x | 1376/CH9/EX9.1/9_1.sci | 16 |
1 files changed, 16 insertions, 0 deletions
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 |