diff options
Diffstat (limited to '2621/CH10/EX10.4/Ex10_4.sce')
-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 : ");
|