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 /2621/CH10/EX10.4 | |
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 '2621/CH10/EX10.4')
-rw-r--r-- | 2621/CH10/EX10.4/Ex10_4.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2621/CH10/EX10.4/Ex10_4.sce b/2621/CH10/EX10.4/Ex10_4.sce new file mode 100644 index 000000000..a05780b5d --- /dev/null +++ b/2621/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,17 @@ +// Example 10.4
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+V_REG= 15;// in V
+I_Q= 10*10^-3;// in A
+R1= 40;// in Ω
+// When potentiometer R2=0 Ω (minimum)
+R2= 0;// in Ω
+Vout= (1+R2/R1)*V_REG+I_Q*R2;
+disp(Vout,"The minimum output voltage in volts is : ");
+// When potentiometer R2=200 Ω (maximum)
+R2= 200;// in Ω
+Vout= (1+R2/R1)*V_REG+I_Q*R2;
+disp(Vout,"The minimum output voltage in volts is : ");
|