summaryrefslogtreecommitdiff
path: root/1853/CH4/EX4.2/Ex4_2.sce
blob: fb30bffce5801dc110319ab9ec2e22dc3cd95bce (plain)
1
2
3
4
5
6
7
8
9

//determine the voltage sin wave
f=50
V=50
Vm=V*1.414
w=2*3.14*f
t=(0:0.1:5*%pi)';
plot2d1('onn',t,[5*sin(t)])
disp('voltage equation v=70.7sin(314)t')