Consider the cubic equation

Assignment Help Mathematics
Reference no: EM13858047

Consider the cubic equation
ax3 + bx2 + cx + d = 0, (1)
where a, b, c, and d are real input coefficients. Develop a matlab program to find all roots of equation (1) using the appropriate methods. Your program can not use the matlab built-in functions fzero and roots.
You should turn in a .m file cubicxxx.m which contains a matlab function of the form function [rts,info] = cubicxxx(a,b,c,d)
where xxx is your student id, rts is the vector of roots and info is your output message. Your program will be stress-tested against cubic equations that may have
1. random roots; or
2. very large or very small roots; or
3. multiple roots or nearly multiple roots; or
4. less than 3 roots or more than 3 roots.
You will receive credit for a test polynomial only if your program gets the number of roots
correctly, and only then will each correct root (accurate to within a relative error of at most 10^-16,
as compared to the roots function in matlab) receive additional credit.
Your program will receive 0 points if the strings fzero or roots (both in lower case letters)
show up anywhere in your .m file. 

Reference no: EM13858047

Questions Cloud

Synopsis of the film which will be acquired online : synopsis of the film which will be acquired online and edited and an analysis of the moral dilemmas depicted in the film
Developing nutrient declarations on a nutrition facts label : Explain all the steps in developing nutrient declarations on a Nutrition Facts label
Describe several different types of mutations : Describe several different types of mutations, the various mechanisms of mutational repair, and the SOS response.
How fast is the area of the rectangle increasing : 1. The length of a rectangle is increasing at a rate of7cm/s and its width is increasing at a rate of8cm/s. When the length is15cm and the width is9cm, how fast is the area of the rectangle increasing?
Consider the cubic equation : Consider the cubic equationax3 + bx2 + cx + d = 0, (1)where a, b, c, and d are real input coefficients. Develop a matlab program to find all roots of equation (1) using the appropriate methods. Your program can not use the matlab built-in functions f..
Describe in detail the process of aerobic respiration : Describe in detail the process of aerobic respiration
What extent was british divide and rule policy a root cause : Assess the role of violent revolutionaries in India's freedom struggle. What extent was British divide and rule policy a root cause of partition?
Written report of your observations and analysis : The assignment will consist of two parts: 1) a redaction critical analysis of this passage using the provided synopsis (also available on Sakai; 5% of your final grade) and 2) the written report of your observations and analysis
What effect does the indicated mutation of c to a have : What effect does the indicated mutation of C to A have in this sequence?

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

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