summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.7/example7.sce
blob: cb6c92b43ac9068f662c92e166c731a72faebc91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter-11 example 7
//=============================================================================
clc;
clear;
t   = 50*10^-6;//echo time in sec
Vo  = 3*10^8;//velocity of EM wave in m/s

//Calculations

R  = (Vo*t)/2;//Range in m

//Output
mprintf('Target Range is %g Kms',R/1000);

//=============end of program==================================================