summaryrefslogtreecommitdiff
path: root/3772/CH3/EX3.2/Ex3_2.sce
blob: 4af30412eb2e03b6fe5d46a8797cce1810402668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Problem 3.2,Page no.54

clc;clear;
close;


//D=(D_0-2) //cm //Inside Diameter of cyclinder
//A=(%pi*(D_0-1)) //cm**2 //Area of cross-section
//L=(%pi*(D_0-1)*5400) //N //Crushing load for column
F=6 //Factor of safety
T=1 //cm //wall thickness of cyclinder

//S=L*F**-1
//After Simplifying,we get
S=600*10**3

//Calculations

D_0=(S*F)*(%pi*54000)**-1+1 //cm //Outside diameter of cyclinder

//Result
printf("The outside Diameter of cyclinder is %.2f cm",D_0)