blob: 1adf4b7009a130f616d3294ad155eca66a9369fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
clc
//initialization of variables
clear
P=400 //kg/m
L=10 //m
F=10 //tonne
n=3
Ixx=5943.1 //cm^4
A=52.03 //cm^2
rx=10.69 //cm
E=2*10^6 //kg/cm^2
// calculations
Pcr=%pi^2*E*Ixx/((L*100)^2)
Pcr=Pcr/1000
e=P*L^2/(8*F*1000)
g=e*12.5*100/rx^2
Smax=F*1000/A*(1+g*1/(1-n*(F/Pcr)))
// results
printf('The maximum stress developed is %d kg/cm^2',Smax)
// approximate calculations involved in the text book
|