blob: 7163d737791619ffab2f78510ae918b2045c9251 (
plain)
1
2
3
4
5
6
7
8
9
|
//determine the value of max. current
C=30e-6;//farad
R=12;//ohms
L=0.2;//henry
V=200;//volt
I=V/R
f=1/(2*%pi*sqrt (L*C))
disp('frequency='+string(f)+'hertz','maximum crnt='+string(I)+'amp')
|