summaryrefslogtreecommitdiff
path: root/620/CH25/EX25.22
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /620/CH25/EX25.22
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '620/CH25/EX25.22')
-rw-r--r--620/CH25/EX25.22/example25_22.sce16
-rw-r--r--620/CH25/EX25.22/example25_22.txt9
2 files changed, 25 insertions, 0 deletions
diff --git a/620/CH25/EX25.22/example25_22.sce b/620/CH25/EX25.22/example25_22.sce
new file mode 100644
index 000000000..3e6fcb5b5
--- /dev/null
+++ b/620/CH25/EX25.22/example25_22.sce
@@ -0,0 +1,16 @@
+r1=100;
+x_l1=125.7;
+r2=220;
+x_l2=251.4;
+r3=150;
+x_c=198.9;
+v=24;
+f=400;
+z1=r1+%i*x_l1;
+z2=r2+%i*x_l2;
+z3=r3-%i*x_c;
+vth=v*z2/(z1+z2);
+zth=z1*z2/(z1+z2);
+i=vth/(zth+z3);
+disp("the current (in mA) through the capacitor has a mgnitude of"); disp(sqrt((real(i))^2+(imag(i))^2)*10^3);
+disp("with a phase angle (in deg) of");disp((atan(imag(i)/real(i))*180/%pi)); \ No newline at end of file
diff --git a/620/CH25/EX25.22/example25_22.txt b/620/CH25/EX25.22/example25_22.txt
new file mode 100644
index 000000000..c02e32dee
--- /dev/null
+++ b/620/CH25/EX25.22/example25_22.txt
@@ -0,0 +1,9 @@
+
+ the current (in mA) through the capacitor has a mgnitude of
+
+ 65.573204
+
+ with a phase angle (in deg) of
+
+ 26.857457
+ \ No newline at end of file