diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3802/CH3/EX3.15 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3802/CH3/EX3.15')
-rw-r--r-- | 3802/CH3/EX3.15/Ex3_15.jpg | bin | 0 -> 16644 bytes | |||
-rw-r--r-- | 3802/CH3/EX3.15/Ex3_15.sce | 26 |
2 files changed, 26 insertions, 0 deletions
diff --git a/3802/CH3/EX3.15/Ex3_15.jpg b/3802/CH3/EX3.15/Ex3_15.jpg Binary files differnew file mode 100644 index 000000000..3262ab66d --- /dev/null +++ b/3802/CH3/EX3.15/Ex3_15.jpg diff --git a/3802/CH3/EX3.15/Ex3_15.sce b/3802/CH3/EX3.15/Ex3_15.sce new file mode 100644 index 000000000..cd7ede439 --- /dev/null +++ b/3802/CH3/EX3.15/Ex3_15.sce @@ -0,0 +1,26 @@ +//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex3_15.sce
+
+clc;
+clear;
+V1=complex(12,0);
+//current source and its parallel impedance gives the voltage source
+V2=complex(5*cosd(-30),5*sind(-30))*complex(6,-3);
+//for loop1 , the coefficient of I1 ,I2 and source is given below
+a1=complex(10+6,15);
+b1=-complex(10,15);
+c1=V1;
+//for loop2 , the coefficient of I1 ,I2 and source is given below
+a2=-complex(10,15);
+b2=complex(19,12);
+c2=-V2;
+del2=det([a1 c1;a2 c2]);
+del=det([a1 b1;a2 b2]);
+I2=del2/del;
+I2_mag=sqrt(real(I2)^2+imag(I2)^2);
+I2_ang=atand(imag(I2)/real(I2))+180;
+printf("\n Current through the 3 ohm resistor=%1.3f angle:%3.2f degree \n",I2_mag,I2_ang)
|