Question: (b) The following code is for calculating and plotting engineering stress and strain in a typical tension test. Find at least four errors in the

 (b) The following code is for calculating and plotting engineering stress

(b) The following code is for calculating and plotting engineering stress and strain in a typical tension test. Find at least four errors in the code. For each error identified, explain why the error is caused. (10 marks) P- (0 13345 26689 40479 42703 43592 44482 44927 45372 46276) L-125 25.037 25.073 25.113 25.122 25.125 25.132 25.144 r0.0064; % A0 is initial cross section area Stress-F. /AO Strain-(L-L0)/L0 % LO is initial fplot (Strain, Stress, k') gauge length Question 5 (20 marks) Most banks offer differential interest rates. Suppose the rate is 9% if the amount in your savings account is less than $5000, 12% for balances of $5000 or more but less than $10,000 and 15% for balances of $10,000 or more. If you have $15000 in your account, write a MATLAB program to calculate your new balance after one year, after you have received the interest. (20 marks)

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!