summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.44/example44.sce
blob: e4f24ca13c9a206044d7c0efd65f65854b816f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter-11 example 44
//=============================================================================
clc;
clear;
//Given data

Vo    = 3*10^8;        // vel of EM wave m/s;
t     = 200*10^-6;      // time taken to rx echo

//Calculations

R     = (Vo*t)/2;      // Distance of the Target

//output

mprintf('Distance of the target is %3.2f Km',R/1000);

//==============================================================================