Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions