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, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
3. what is the output of the following statements? temporary object1; temporary object2("rectangle", 8.5, 5); temporary object3("circle", 6, 0); temporary object4("cylinder", 6, 3.5); cout < < fixed < < showpoint < < setprecision(2); object1.print(); object2.print(); object3.print(); object4.print(); object1.set("sphere", 4.5, 0); object1.print();
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Me if you do then you get 10 points and brainliest
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
You know the right answer?
The roots of a cubic equation can be calculated using the following
procedure: Set: , , and ....
Questions
question
Mathematics, 19.08.2021 06:50
question
Mathematics, 19.08.2021 06:50
question
Mathematics, 19.08.2021 06:50
Questions on the website: 13722360