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 /1199/CH2/EX2.33/2_33.sci | |
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 '1199/CH2/EX2.33/2_33.sci')
-rwxr-xr-x | 1199/CH2/EX2.33/2_33.sci | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1199/CH2/EX2.33/2_33.sci b/1199/CH2/EX2.33/2_33.sci new file mode 100755 index 000000000..11f8b5efe --- /dev/null +++ b/1199/CH2/EX2.33/2_33.sci @@ -0,0 +1,14 @@ +// 2.33
+clc;
+E_20=0.112*10^-3;// emf at 20degree C
+E_900=8.446*10^-3;
+E_1200=11.946*10^-3;
+E1=E_900-E_20;
+E2=E_1200-E_20;
+//E1=1.08*R1/(R1+2.5+R2 (i)
+//E2=1.08*(R1+2.5)/(R1+2.5+R2 (ii)
+//on solving (i) and (ii)
+R1=5.95;
+R2=762.6;
+printf("Value of resistance R1=%.2f ohm",R1)
+printf("\nValue of resistance R2=%.2f ohm",R2)
|