summaryrefslogtreecommitdiff
path: root/2609/CH13/EX13.4/ex_13_4.sce
blob: 825f9d493e9da60d91f633dafe5f683cf8e8112b (plain)
1
2
3
4
5
6
7
8
9
10
11
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)");