summaryrefslogtreecommitdiff
path: root/698/CH2/EX2.001/nature.sci
blob: 0bcef8584e36b334801497f8ba774a0f170474b4 (plain)
1
2
3
4
5
6
7
8
9
10
//Function to determine nature of normal stresses, i.e, compressive or tensile

funcprot(0)
function nature(Sn)
    if Sn<0
   disp(" compressive")
else
    disp(" tensile")
end
endfunction