Question: I need help writing this code in MatLab Grader HW1_2 problem 3.13/4.1 Start with the Cody template (reproduced below). Tip for using Cody: Be sure

 I need help writing this code in MatLab Grader HW1_2 problem

I need help writing this code in MatLab Grader

HW1_2 problem 3.13/4.1 Start with the Cody template (reproduced below). Tip for using Cody: Be sure to test negative input and zero input in your MATLAB before submitting on Cody function (x, ea) = mySqrt (a, es) #calculates square root by divide and average (chapra 3.13 & chapra 4.1) *[x, ea) = mysqrt(a, es) INPUT a: a scalar real number es: error stopping criterion, % YOUTPUT X: square root of a ea: the final error, % x-a; $replace this line with your code to solve for the square root of x end

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!