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 18:30
List the five on-board vehicle subsystems
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
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: 13722367