summaryrefslogtreecommitdiff
path: root/3281/CH1/EX1.17/ex1_17.sce
blob: 410f1607018ea1007db4fa39b82a99834f7eb84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Page Number: 42
//Example 1.17
clc;
//Given
c=3D+8; //m/s
f=10D+9;//hz
er=6;
tandel=2D-4;

vp=c/er;//m/sec
disp('m/sec',vp,'Phase velocity:');
al=(%pi*f*tandel)/vp;//Np/m
disp('Np/m',al,'Attenuation constant:');

//Answer for velocity is calculated wrong in book, hence answers dont match for both