summaryrefslogtreecommitdiff
path: root/275/CH7/EX7.7.92/Ch7_7_92.sce
blob: 10cfed8c9a69140318e233e3c0cf6f417e3f76d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
disp("Example 7.92")
printf("\n")
disp("Find the Peak Value")
printf("Given\n")
disp("Vpp=100v,deflection=5cm")
Vpp=100
D=5
DS=Vpp/D
//another sinusoidal produces a deflection of 8cm
D1=8
Vpp1=DS*D1
printf("The peak value of unknown voltage=\n%d volt\n",Vpp1)