Trying to get my answer to look like the table below
these are my results it is a little off and answers are also in exponential form trying to change that too
fprintf('\r\r%s\n', ' CP 2 - STRAIN TRANSFORMATION FOR UNIFORM MOTION')fprintf('\r\r%s\n', 'Material Properties ')fprintf('%s%8.3f\n', 'Youngs Modulus' ,YM )fprintf('%s%8.3f\n', 'Poissons Ratio' ,v )fprintf('\r\r%s\n', 'Deformation Gradient')fprintf('%s%8.3f\n', ' ---------F------- ' ,F) fprintf('\r\r%s\n', 'Strain Tensor\n')fprintf('%s%8.3f\n', '-------E------',E) fprintf('\r\r%s\n', 'Principal Strains')fprintf('%s%s%8.3f\n', ' e1 ',E1)fprintf('%s%s%8.3f\n', ' e2 ',E2)fprintf('\r\r%s\n', 'Principal Stress')fprintf('%s%s%8.3f\n', 's1 ',S1)fprintf('%s%s%8.3f\n', ' e2 ',S2,'\')
My results are
Best Answer