Use matlab roots function to obtain the six roots

Assignment Help MATLAB Programming
Reference no: EM13314176

write a MATLAB program that does the following:

a) Plot the given function in MATLAB for x ranging from -1 to 1. Put a proper title of the plot, also label the axes appropriately.

b) Use MATLAB's roots function to obtain the six roots of the equation. Display the roots and plot them with different colors and symbols on the same chart where you plotted the function.

c) Write a MATLAB program segment that will implement the root finding algorithm by Newton-Raphson method. Newton-Raphson method needs one initial value to run each time. You program segment will be executed with different initial values that you get from d).

d) Use a loop in your program to execute the Newton-Raphson program segment for each initial value between -1 to 1 with an interval 0.1. Plot the initial values on the x-axis with the color that you used in b) to plot the root obtained from this initial value; these plots will be on the same chart. For example, if you start from 0.1 and obtain the first root that you plotted by using color red in b), then plot (0.1, 0) with color red.

e) In the plot, you will see one root is obtained from an initial value that is close to another root. Can you explain by observing the plot why that is happening.


Attachment:- Numerical-data-analysis-Assignment-.pdf

Reference no: EM13314176

Questions Cloud

Determine the increment of vertical stress in the soil : Constructing the foundation causes changes in the levels of vertical stress at all points in the soil. One such point lies at the centre of the footing plan, and is at a depth of 10 m. Determine the increment of vertical stress there.
Explain the filtrate required of kmno4 : When 25.0 mL of unknown was passed through a jones reductor, molybdate ion (MoO4^2-) was converted to Mo^3+. The filtrate required 16.43 mL of .01033 M KMnO4 to reach purple end point
To what maximum height above point of release does it rise : A block of mass 0.243 kg is placed on top of a light, vertical spring of force constant 4 825 N/m, To what maximum height above the point of release does it rise
What is the total head 5m below the river bed : Consider again the scenario above. Assume the water is static. Assume a datum at the water surface. a) What is the total head 5.0m below the river bed b) What is the pore water pressure at that level
Use matlab roots function to obtain the six roots : In the plot, you will see one root is obtained from an initial value that is close to another root. Can you explain by observing the plot why that is happening.
Define what the effect does the bulkiness of the base : what the effect does the bulkiness of the base have on the product composition in the E2 dehydrobromination of 2-bromoheptane
Find the magnitude and direction of the total field : The total electric field consists of the vector sum of two parts. One part has a magnitude of E1 = 1300 N/C, Find the magnitude and direction of the total field
What is effective vertical stress 12m below water surface : A river is 6 m deep. The riverbed material has a saturated unit weight of 19.5kN/m3. What is the effective vertical stress 12 m below the water surface
At what distance from the charge is net electric field zero : A 5.5 %u03BCC point charge is placed in an external uniform electric field that has a magnitude of 68000 N/C

Reviews

Write a Review

MATLAB Programming Questions & Answers

  The body fat percentage

The body fat percentage (BFP) of a person can be estimated by the formula BFP= 1.2xBMI+0.23xAGE -10.8xGEnder-0.54 where BMI is the body mass index, given by BMI = 703 W/H^2, in which W is the weight in pounds and H is the height in inches

  Create a matlab program

Create a MATLAB program that will use MATLAB's fzero function to determine d for the following parameters: R = 0.5 m and in steps of 0.1. Create a table consisting of S and d .

  Compute the eigenvalues and eigenvectors of the matrix

Compute the eigenvalues and eigenvectors of the matrix

  Beginning with the row number passed

Write a MATLAB function that takes a matrix, a row number and a column number. Beginning with the row number passed to the function, scan down the column passed to the function and return the row number that contains the largest absolute value in ..

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Using matlab and for loops

Using MATLAB and for loops, provide an animation that follows the below steps: Start with a square at the origin with each side being 5 units long. Imagine someone kicked the box and animate it moving on a projectile motion trajectory. Hint: look at ..

  Time domain design and analysis

To design a "custom" controller to reduce the vibrations of the seat and a PID controller to reduce the vibration of the seat

  Finds the value of a using a numerical method

Finds the value of a using a numerical method

  Create from the stack a structure string stac

Design a structure stack that represents a stack of elements of some arbitrary type. Include the functions: create(returns an empty stack), push(add an element to the top of the stack and return the resulting stack), pop(delete the top element and re..

  Program should be able to handle collisions

Write a program that, given a list of 5 social security numbers, finds the memory locations assigned by the hashing function h(k) = k mod 55 to store customer records. program should be able to handle collisions.

  Control design using matlab

Control Design using Matlab,  Please try and explain the characteristic of all the plots and graphs.   Import all the required data in word of simply write in the script itself.

  Find general solution of the ordinary differential equation

Find a general solution of the following ordinary differential equations and find the general solution of the following ordinary differential equation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd