summaryrefslogtreecommitdiff
path: root/1217/CH9/EX9.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1217/CH9/EX9.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1217/CH9/EX9.8')
-rwxr-xr-x1217/CH9/EX9.8/Exa9_8.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1217/CH9/EX9.8/Exa9_8.sce b/1217/CH9/EX9.8/Exa9_8.sce
new file mode 100755
index 000000000..05b653813
--- /dev/null
+++ b/1217/CH9/EX9.8/Exa9_8.sce
@@ -0,0 +1,23 @@
+//Exa 9.8
+clc;
+clear;
+close;
+//given data
+Im=100;//in mA
+Vr=7;//in volts
+R2=10;//in kohm
+Vsense=0.7;//in volts
+//using equation Vo=((R1+R2)/R2)*Vr
+//for Vo=10 volts assuming R2=10kohm
+disp("Eqn is given by Vo=((R1+R2)/R2)*Vr")
+Vo=10;//in volts
+R1=((Vo*R2)/Vr)-R2//it gives 3R2=7R1;
+disp(R1,"Value of resistance R1(in kohms): ")
+//now let output voltage is 15 volts
+Vo=15;//in volts
+R1=((Vo*R2)/Vr)-R2//it gives 3R2=7R1;
+disp(R1,"Value of resistance R1(in kohms): ")
+R3=(R1*R2)/(R1+R2);
+disp(R3,"value of resistance R3 in kohms : ")
+Rcl=Vsense/(Im*10^-3);//in ohms
+disp(Rcl,"Value of Rcl is ohms is : ");