Question: Use the MATLAB function fsolve (Links to an external site.)Links to an external site. to solve the 2-dimensional root problem y 2 = - x2

Use the MATLAB function fsolve (Links to an external site.)Links to an external site. to solve the 2-dimensional root problem

y2 = - x2 + 34

y = x2 - 6

The steps for this are:

  • Develop a "zeros" function for the two equations as shown in the example problem for fsolve. Note that you will have to use a single vector to pass x and y, that is, rename these as x = [x1, x2]
  • Use an initial guess of x0 = [2, 2]
  • Call fsolve with a handle to the function you created and the initial guess.

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!