subject

The roots of a cubic equation can be calculated using the following
procedure: Set: , , and . Calculate: , where and . If the equation has complex
roots. If all roots are real and at least two are equal. The roots are given by: ,,
and . If all roots are real and are given by: , , and , where . Write a MATLAB
program that determines the real roots of a cubic equation. As input the
program asks the user to enter the values of a3, a2, a1, and a0 as a vector.
The program then calculates the value of D. If the equations have complex
roots, the message "The equation has complex roots" is displayed.
Otherwise the real roots are calculated and displayed. Use the program to solve the following equations:
a) 5x^3 + -34.5x^2 + 36.9x + 8.8 = 0
b) 2x^3 + -10x^2 + 24x -15 = 0
c) 2x^3 + -1.4x^2 - 20.59x - 30.87 = 0

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
The average cost of one year at a private college in 2012-2013 is $43,289. the average grant aid received by a student at a private college in 2012-2013 is $15,680.   what is the average student contribution for one year at a private college in 2012-2013?
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
You know the right answer?
The roots of a cubic equation can be calculated using the following
procedure: Set: , , and ....
Questions
question
Mathematics, 12.01.2021 19:40
Questions on the website: 13722362