From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce (limited to '2195/CH3/EX3.15.1.c/ex_3_15_1_c.sce') 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") -- cgit