blob: 208051165f99ea21a25f947cded9fb16bac48a85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
b=0.005//in
a=2//tonf
p=10//tonf
l=13500//tonf/in^2
//CALCULATIONS
x=(p/a)*b//in
E=(l*b*1/2)/a//in
//RESULTS
printf('the original length of bar =% f in',E)
|