summaryrefslogtreecommitdiff
path: root/1627/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1627/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--1627/CH3/EX3.2/Ex3_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1627/CH3/EX3.2/Ex3_2.sce b/1627/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..1c73f04c7
--- /dev/null
+++ b/1627/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,9 @@
+clc
+//initialisation of variables
+F=35.5*10^4//N
+p=100*10^5//bars
+q=%pi//ft
+//CALCULATIONS
+D=sqrt((4*F)/(q*p))*1000//mm
+//RESULTS
+printf('The cylinder size is =% f mm',D)