Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Applied Linear Algebra

Authors: Peter J. Olver, Cheri Shakiban

1st edition

131473824, 978-0131473829

More Books

Students also viewed these Mathematics questions