summaryrefslogtreecommitdiff
path: root/3673/CH7/EX7.5/Ex7_5.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3673/CH7/EX7.5/Ex7_5.sce
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 '3673/CH7/EX7.5/Ex7_5.sce')
-rw-r--r--3673/CH7/EX7.5/Ex7_5.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3673/CH7/EX7.5/Ex7_5.sce b/3673/CH7/EX7.5/Ex7_5.sce
new file mode 100644
index 000000000..0600011c2
--- /dev/null
+++ b/3673/CH7/EX7.5/Ex7_5.sce
@@ -0,0 +1,24 @@
+//Example 7_5 page no:263
+clc;
+Vmag=50;
+Vang=0;
+Rmag=9.22;
+Rang=77.47;
+Imag=Vmag/Rmag;
+Iang=Vang-Rang;
+V1mag=5.42*5.38;//voltage across (2+j5)ohm
+V1ang=-77.47+68.19;
+I2mag=(20*4)/9.22;
+I2ang=120-77.47;
+V2mag=I2mag*5.38;//voltage across (2+j5)ohm due to current I2 is
+V2ang=42.53+68.19;
+V1rel=V1mag*(cosd(V1ang));
+V1img=V1mag*(sind(V1ang));
+V2rel=V2mag*(cosd(V2ang));
+V2img=V2mag*(sind(V2ang));
+Vrel=V1rel+V2rel;
+Vimg=V1img+V2img;
+Vfmag=sqrt((Vrel*Vrel)+(Vimg*Vimg));
+Vfang=atand(Vimg/Vrel);
+disp(Vfmag,"magnitude of voltage across(2+5j)ohm is(in V)");
+disp(Vfang,"angle of voltage across (2+5j)ohm is(in degree)");