summaryrefslogtreecommitdiff
path: root/876/CH2/EX2.10/Ex2_10.sce
blob: 754864d9da97477015e89cbb195ed18ee682b200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//caption:Find volume,percentage error and absolute error
//Ex2.10
clc
clear
close
a=0.80//side of the cube(in m)
er=0.5//possible error in measurement(in %)
V=(a*a*a)
disp(V,'volume(in meter^3)=')
%er=3*er
disp(%er,'percentage error(in %)=')
Aer=(%er*V)/100
disp(Aer,'absolute error(in meter^3)=')