blob: 1b4eca845c70f14847a16e89199fb84da54f916d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//data
Zin=45 //ohm
ZL=20 //ohm
b=0.5/2 //cm
Er=2.1
L=200*10^-9 //H
f=3*10^9 //Hz
C=55.63*Er*10^-12 //F
//formulas and result
printf("\nresult:-")
Zo=sqrt(Zin*ZL)
printf("\nZo=%.0f ohm",Zo)
k=30/sqrt(200*10^-9/(55.63*Er*10^-12))
a=b/exp(k)
printf("\na=%f cm",a)
lambda=1/(f*sqrt(L*C))
printf("\nlambda=%f m",lambda)
d=lambda/4
printf("\nd=%f m =%f cm",d,d*100)
|