Question: The following must be coded in MATLAB. Please help. Thanks in advance. Problem 6: One way to find the square root of a number a,
Problem 6: One way to find the square root of a number a, is to find the zero crossing of s)-x-a- I) Using Newton's method write a MATLAB code that will calculate the square root for any complex value of a. Hint: define x asxtjx, and a as ag+ja, to construct a system of 2 equations to be solved. (note: j is the square root of -1). 2) Comment on the robustness of the algorithm with regard to initial condition choices. Try to find an initial condition that does not find a solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
