blob: ba7d7e038d17d93458cb076c37a1dfaa6a0b8714 (
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
//caliculations
//
w = 2*%pi*frequency //rad/sec
a = (w**2)*R //sq.m/sec
F = mass*a //N
A_req = F/stress_allow //sq.m , The required area for aloowing stress
printf("\n The required size of rod is: %0.2f sq.m",A_req)
|