summaryrefslogtreecommitdiff
path: root/2681/CH6/EX6.1/Ex6_1.sce
blob: c972d80f105f276f8e85e9bf41d44e83eddd8d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//determine Z0 for given transmission line
//given
clc
function[Zo]=zed(L,C)
Zo=sqrt(L/C)//impedence function
endfunction
L=110D-9
C=20D-12
[Zo1]=zed(L,C)
L=110D-9
C=20D-12
[Zo2]=zed(L,C)
Zo2=round(Zo2*100)/100///rounding off decimals
Zo1=round(Zo1*100)/100///rounding off decimals
disp(Zo1,Zo2,'the Zo is determined in ohm:')