summaryrefslogtreecommitdiff
path: root/3637/CH1/EX1.13/Ex1_14.sce
blob: e3ca3f00980827dfe24c0328d85ad6d35bc1509f (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 14 Page No: 1.89
//given
sr=0.5e6;//volt/sec
a=50;
freq1=20e3;//hz
//determine max peak to peak voltage
v1=sr/(2*3.14*freq1*a);format(3);
disp('Input voltage = '+string(v1*10^3)+' mV');