summaryrefslogtreecommitdiff
path: root/2621/CH10/EX10.5/Ex10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2621/CH10/EX10.5/Ex10_5.sce')
-rw-r--r--2621/CH10/EX10.5/Ex10_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2621/CH10/EX10.5/Ex10_5.sce b/2621/CH10/EX10.5/Ex10_5.sce
new file mode 100644
index 000000000..b3e07a68f
--- /dev/null
+++ b/2621/CH10/EX10.5/Ex10_5.sce
@@ -0,0 +1,14 @@
+// Example 10.5
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+V_REF= 1.25;// in V
+R1= 2.5*10^3;// in Ω
+R2= 1*10^3;// in Ω
+I= V_REF/R2;// in A
+// The output voltage,
+Vout= I*(R1+R2);// in V
+disp(Vout,"The regulated output voltage in volts is : ")
+