blob: 91cbf1030bba0500a8d7bdd53b3e8981ba88b74b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
P=10000
V=1000
W1=4*%pi*10^6
Wc=2*%pi*10^8
a=P/V^2
printf("\na=%.2f",a)
//(b)=
A=1000+2*225+2*150+2*75
peak_power=a*A^2
printf("\nA=%.0f V\npeak_power=%.0f W",A,peak_power)
|