summaryrefslogtreecommitdiff
path: root/1844/CH3/EX3.1/3Q1.sce
blob: b538e335095c3115bad2544e16a6a31834e7d59b (plain)
1
2
3
4
5
6
7
8
clc
//Intialising variables
L=20 //Chain length in m
L1= 20 + 10/100 // Incorrect length of chain in m
l1=250 // Measures length in m
l= l1 *(L1/L) // True length of line in m
//Results
printf('True length of the line = %f m',l)