summaryrefslogtreecommitdiff
path: root/3863/CH4/EX4.20/Ex4_20.sce
blob: 3c55aaa15eb34ac5dd6353129128f7f338c58842 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
//Variable declaration
tau=50       //Shear stress in N/sq.mm
C=8e4        //Modulus of rigidity in N/sq.mm

//Calculation
ste=(tau**2)/(2*C)    //Strain energy per unit volume in N/sq.mm

//Result
printf("\n Strain energy per unit volume = %0.3f  N/mm^2",ste)