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 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
You know the right answer?
The roots of a cubic equation can be calculated using the following
procedure: Set: , , and ....
Questions
Questions on the website: 13722360