Question: Find the root greater than zero for the following equation using the Secant Method and compare the result with MATLAB's fzero function. e^0.5x=5- x^4 Requirement:

Find the root greater than zero for the following equation using the Secant Method and compare the result with MATLAB's fzero function.

e^0.5x=5- x^4

Requirement:

a. Define function handle for the equation you are finding the root for

b. define a suitable es criterion.

c. use input statements to have the user enter two initial guesses: for example:

Enter first guess for the root:

Enter second guess for the root:

d. calculate root using matlab's fzero function.

e. output results as follows:

Using fzero the root of the equation is: #.#####

Using the Secant Method the root of the equation is: #.#####

Q2) Perform Gauss-Jordan method to solve linear system, ask user to enter an augmented matrix. ( use any system from your mind as an demonstration)

Requirements:

a. Read in the augmented matrix [C] using entered from user

b. Determine number of rows and columns of [C]

c. The outputs from your program are:

i. The last augmented matrix as Identity and the solution.

ii. The solution of the matrix

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 Mathematics Questions!