summaryrefslogtreecommitdiff
path: root/1844/CH1/EX1.8/1Q8.sce
blob: 36552fd3727057bb1e1a85c7a58c10295284204b (plain)
1
2
3
4
5
6
7
8
9
clc
//Intiallising varialbles
L= 468 // Measured lenght in meters
RFWS = 1/(20*100)  // R.F of wrong scale used
RFCS = 1/(40*100)  // R.F of correct scale used
//Calculations of variables
CL= (RFWS/RFCS)*L  // Corrected lenght in meters
//Results
printf (' Corrected Length =%f m',CL)