summaryrefslogtreecommitdiff
path: root/49/CH4/EX4.2/ex2.sce
blob: 9b84968674fea57728fc718f79c32142602d2c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//CHAPTER 4_ Motion and Dimensional Measurement
//Caption : Rosette
// Example 2// Page 168
Eh=625*10^-6  //('enter the circumferential strain=:')
Ea= 147*10^-6   //('enter the longitudinal strain=:')
E=200*10^9    // given
v=0.3;   // poissons ratio
// to calculate circumferential stress
sig_h=E/(1-v^2)*(Eh+v*Ea)*10^-6;
printf('Circumferential stress (hoops stress) is %1.1f MPa\n',sig_h);
sig_a=E/(1-v^2)*(v*Eh+Ea)*10^-6;
printf('Axial stress is %1.2f M Pa\n',sig_a);
// To calculate ratio of stresse
disp("Let the ratio be represented by RR")
RR=sig_h/sig_a;
printf('Ratio of stresses is %fd\n',RR)
disp("Let the ratio of strains be represented by SS")
SS=Eh/Ea;
printf('THe ratio of strains is %1.2f', SS)