summaryrefslogtreecommitdiff
path: root/1616/CH2/EX2.6/ex2_6.sce
blob: 2ca8ab6b139d8bd4e4de7fbc73d272074ba1eb2f (plain)
1
2
3
4
5
6
7
8
9
//ex2.6  to find characteristic impedence at 2GHz
f=2e9;
w=2*%pi*f;
r=0.1;
l=0.01e-6;
c=100e-12;
g=0.01;
z=sqrt((r+%i*w*l)/(g+%i*w*c));
disp('characteristic impedence Z0 is= '+string(z)+'ohm');