This is to be answered on MATLAB . do not change subject
take a stress tensor as input from the user (2D). Write the matlab code which will give me the maximum shear stress arising.
Give a working code only
`Hey,
Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.
clc
clear all
close all
format long
S=input('Enter stress tensor as matrix 2d: ');
disp('Shear max is');
MaxS=(S(1,1)+S(2,2))/2+sqrt((S(1,1)-S(2,2))^2/4+S(2,1)^2)
Kindly revert for any queries
Thanks.
Get Answers For Free
Most questions answered within 1 hours.