summaryrefslogtreecommitdiff
path: root/2609/CH13/EX13.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2609/CH13/EX13.5
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 '2609/CH13/EX13.5')
-rwxr-xr-x2609/CH13/EX13.5/ex_13_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2609/CH13/EX13.5/ex_13_5.sce b/2609/CH13/EX13.5/ex_13_5.sce
new file mode 100755
index 000000000..c625cbc47
--- /dev/null
+++ b/2609/CH13/EX13.5/ex_13_5.sce
@@ -0,0 +1,17 @@
+////Ex 13.5
+clc;
+clear;
+close;
+format('v',6);
+Vout=15;//V
+Vin=20;//V
+INL=2;//mA(INL=Iadj+Iref)
+Iadj=60;//mA(Assumed)
+Iref=INL-Iadj/1000;//mA
+Vref=1.25;//V
+R1=Vref/Iref*1000;//ohm
+VR2=Vout-Vref;//V
+R2=VR2/INL*1000;//ohm
+disp("Design values are : ");
+disp(R1,"Resistance, R1(ohm)");
+disp(R2/1000,"Resistance, R2(kohm)");