summaryrefslogtreecommitdiff
path: root/2609/CH13/EX13.4/ex_13_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2609/CH13/EX13.4/ex_13_4.sce')
-rwxr-xr-x2609/CH13/EX13.4/ex_13_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2609/CH13/EX13.4/ex_13_4.sce b/2609/CH13/EX13.4/ex_13_4.sce
new file mode 100755
index 000000000..825f9d493
--- /dev/null
+++ b/2609/CH13/EX13.4/ex_13_4.sce
@@ -0,0 +1,12 @@
+////Ex 13.4
+clc;
+clear;
+close;
+format('v',6);
+R=20;//kohm
+R1=20;//kohm
+R2=10;//kohm
+VZ=4.7;//V
+Vref=VZ;//V
+Vout=Vref*(1+R1/R2);//V
+disp(Vout,"Output Voltage(V)");