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/CH1/EX1.35/EX1_35.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/CH1/EX1.35/EX1_35.sce')
-rwxr-xr-x | 1760/CH1/EX1.35/EX1_35.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1760/CH1/EX1.35/EX1_35.sce b/1760/CH1/EX1.35/EX1_35.sce new file mode 100755 index 000000000..3f76e1c75 --- /dev/null +++ b/1760/CH1/EX1.35/EX1_35.sce @@ -0,0 +1,25 @@ + //EXAMPLE 1-35 PG NO 30-31
+I1=4; //Current
+I2=6; //Current
+V=110; //Voltage
+Vab1=V-(6+4)*2;
+VB=80;
+VC=50;
+R11=(Vab1-VB)/I1;
+R12=(Vab1-VC)/I2;
+Vab2=V-(-2+20)*2; //Voltage
+R21=(VB-Vab2)/2; //Resistance
+R22=(Vab2-VC)/20; //Resistance
+I=(V-VB)/2; //Current
+R=(VB-VC)/I; //Resistance
+disp('i)variable = '+string (Vab1)+' ohm')
+disp('ii)resistance = '+string (R11)+' ohm')
+disp('iii)resistance = '+string (R12)+' ohm')
+disp('iv)variable = '+string (Vab2)+' ohm')
+disp('v)resistance = '+string (R21)+' ohm')
+disp('vi)resistance = '+string (R22)+' ohm')
+disp('vii) resistance = '+string (R) + ' ohm')
+disp('viii) Current = '+string (I) + ' A')
+
+
+
|