summaryrefslogtreecommitdiff
path: root/2219/CH10/EX10.16/Ex10_16.sce
blob: 859d228564030af26b85b804ec7aab2f6f25c379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Chapter 10 example 16
//------------------------------------------------------------------------------
clc;
clear;
//Given data
R       = 6000;     // Target Range
c       = 3*10^8;   // speed of light in m/s

// Calculations
t       = (2*R)/c;  // round trip time

// Output
mprintf('Round Trip time = %d us',t/10^-6);
//------------------------------------------------------------------------------