diff options
Diffstat (limited to '3863/CH1/EX1.5/Ex1_5.sce')
-rw-r--r-- | 3863/CH1/EX1.5/Ex1_5.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3863/CH1/EX1.5/Ex1_5.sce b/3863/CH1/EX1.5/Ex1_5.sce new file mode 100644 index 000000000..024d60832 --- /dev/null +++ b/3863/CH1/EX1.5/Ex1_5.sce @@ -0,0 +1,16 @@ +clear +// + +//Given +//Variable declaration +sigma=125*10**6 //Safe stress in N/sq.m +P=2.1*10**6 //Axial load in N +D=0.30 //External diameter in m + +//Calculation + +d=(sqrt((D**2)-P*4/(%pi*sigma)))*1e2 //internal diameter in cm + + +//Result +printf("\n internal diameter = %0.3f cm",d) |