Question: Create a function that calculates the strain (), stress (), and modulus of elasticity (E) of a metal rod given the force (F), cross-sectional area

 Create a function that calculates the strain (), stress (), and

Create a function that calculates the strain (), stress (), and modulus of elasticity (E) of a metal rod given the force (F), cross-sectional area (A), original length (L) and deformation (L) from a tensile test. The equations for stress, strain and E, are given below: =AF,=LL,E= The function should be named HW08materialProperties. The function should have three inputs (F, A, L,dL ) and three outputs (stress, E, strain). The inputs must be in units of Newtons and meters. TEST: Test your file with F=3kN,A=0.08m,L=1500mm and L=0.18m (be sure to use the correct units). Your values should be stress =37500N/m2,E=312500N/m2, strain =0.12. Remember you cannot run a function from within its m-file. You must call the function in a new m-file or in the command window. NOTE: The function name and m-file name must be HW08materialProperties or the program will not run. If the program does not run there will be point deductions. You only need to submit the function m-file. Do not submit any test files

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!