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

  Annuities and sinking funds

Discussion: Annuities and Sinking Funds Annuities and Sinking Funds 1. You need to know how annuities work because many financial planners advise their clients to have them for retirement planning. Do you think that you need them? If so, then how..

  Find the largest possible product of such numbers

Find the largest possible product of such numbers.

  What are the two steps for simplifying radicals

What are the two steps for simplifying radicals? Provide an example to show each step. Can either step be deleted? If you could add a step that might make it easier or easier to understand, what step would you add?

  Discuss the different properties

List and discuss the different properties, which will classify the group as a dihedral group of order 8.

  How many radios had both digital turners and cd players

Of 100 Clock radios with digital turners and /or CD players sold recently in a department store, 70 had digital turners and 90 had CD players. How many radios had both digital turners and CD players?

  Find the number of sodas sold

At a basketball game, a vender sold a combined total of sodas and hot dogs. The number of sodas sold was more than the number of hot dogs sold. Find the number of sodas sold and the number of hot dogs sold.

  A new yarn shop wants to apportion investment money

A new yarn shop wants to apportion their investment money ($150,000) for advertising, building upgrades, and education in the ratio of 7:8:10. How much money does each category get apportioned?

  Solve this model by using graphical analysis

Solve this model by using graphical analysis

  Determine angles between the asymptotes of the hyperbola

Equation of the hyperbola if equations of Asymptotes are given - Determine angles between the Asymptotes of the Hyperbola.

  Explain why you believe it is a function or not

In Calculus: Explain the difference between a function and a relation in your own words. Consider the equation x2 + y2 = 5 and explain why you believe it's a function or not? Give at least two reasons to support your answer.

  How far off is exponential model for that year

How far off is your exponential model for that year

  What is the relationship between the length of the radius

what is the relationship between the length of the radius and the length of the circumference around a circle.

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