summaryrefslogtreecommitdiff
path: root/3776/CH1/EX1.6/Ex1_6.sce
blob: 11a4a83f1a380d07465306c3bc54d2f14db17ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
mass = 5       //Kg
frequency = 10 //Hz
stress_allow = 200 //MPa
R = 0.5        //m

//calculations
//
w = 2*%pi*frequency //rad/sec
a = (w**2)*R       //sq.m/sec
F = mass*a         //N
A_req = F/stress_allow  //sq.mm , The required area for allowing stress
printf("\n The required size of rod is: %0.2f sq.mm",A_req)