summaryrefslogtreecommitdiff
path: root/569/CH3/EX3.16/3_16.sci
diff options
context:
space:
mode:
Diffstat (limited to '569/CH3/EX3.16/3_16.sci')
-rwxr-xr-x569/CH3/EX3.16/3_16.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/569/CH3/EX3.16/3_16.sci b/569/CH3/EX3.16/3_16.sci
new file mode 100755
index 000000000..57120c7b6
--- /dev/null
+++ b/569/CH3/EX3.16/3_16.sci
@@ -0,0 +1,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 (%)=') \ No newline at end of file