summaryrefslogtreecommitdiff
path: root/569/CH3/EX3.16/3_16.sci
blob: 57120c7b6fa22cf7e1ae18662f20669cbc0dbc8b (plain)
1
2
3
4
5
6
7
8
// calculate the Volume and relative error 
clc;
L=250;
d=50;
V=((%pi/4)*d^2)*L;
disp(V,'Volume(mm3)=')
Re=2*0.2-0.5;
disp(Re,'Relative error (%)=')