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 /1760/CH5/EX5.29/EX5_29.sce | |
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 '1760/CH5/EX5.29/EX5_29.sce')
-rwxr-xr-x | 1760/CH5/EX5.29/EX5_29.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1760/CH5/EX5.29/EX5_29.sce b/1760/CH5/EX5.29/EX5_29.sce new file mode 100755 index 000000000..c770a4cd6 --- /dev/null +++ b/1760/CH5/EX5.29/EX5_29.sce @@ -0,0 +1,19 @@ + //EXAMPLE 5-29 PG NO 323
+V1=5; //Voltage
+V2=0.05; //Voltage
+R1=100; //Resistance
+R2=1000; //Resistance
+R3=85;
+R4=880;;
+I1=0.00266; //Current
+I2=0.02676; //Current
+Va=V1-R1*I2;
+Vb=V1-R2*I1;
+VTH=Va-Vb;
+RTH=((R1*R3)/(R1+R3))+(R2*R4)/(R2+R4)
+I=(0.016)/(RTH+20);
+disp('i) Voltage (Va) is in polar = '+string (Va) +' V ');
+disp('i) Voltage (Vb) is in polar = '+string (Vb) +' V ');
+disp('i) Voltage (VTH) is in polar = '+string (VTH) +' V ');
+disp('i) Resistance (RTH) is in polar = '+string (RTH) +' ohms ');
+disp('i) Current (I) is = '+string (I) +' A ');
|