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 /2195/CH3/EX3.15.1.c/ex_3_15_1_c.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 '2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce')
-rwxr-xr-x | 2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce b/2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce new file mode 100755 index 000000000..0755c529c --- /dev/null +++ b/2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce @@ -0,0 +1,16 @@ +//Example 3.15.1.c//voltage +clc; +clear; +close; +format('v',5) +r1=25;// in kilo ohms +r2=5;//in kilo ohms +v=30;//in volts +vr2=(r1/(r1+r2))*v;// voltage in volts across 5 kilo ohms resistance +//case 2 +s2=20;//sensivity in kilo ohms/volts +v1=10;// in volts +rm2=v1*s2;//in kilo ohms +req1=((rm2*r2)/(rm2+r2));//equivalent resistance in ohms +vrb2=((req1/(r1+req1)))*v;// voltmeter reading when sensivity is 1 kilo ohms /V +disp(vrb2," voltmeter reading when sensivity is 1 kilo ohms /V in volts") |