summaryrefslogtreecommitdiff
path: root/2681/CH1/EX1.15/Ex1_15.sce
blob: 9113bb8bf848658d7793e28a4414c9736462dd46 (plain)
1
2
3
4
5
6
7
8
//find the phase shift of the wave
//given
f=1d+9//Hz
v0=3d+8//m/s
lem=v0/f//calculating wavelength
b=2*%pi/lem//calculating phase shift
b=round(b*100)/100///rounding off decimals
disp(b,lem,'the wavelength and phase shift respectively')//in rad/m and m