Write a program that will solve a quadratic equation: ax2 + bx + c = 0. The program must ask the user to enter the values for a, b and c. It should then determine the discriminant of the parabola and based on the discriminant it should display the real roots: Discriminant = b2 - 4ac > 0 means there will be two distinct real roots. Discriminant = b2 - 4ac = 0 means there will be only one real root. Discriminant = b2 - 4ac < 0 means there will be no real roots. Use the if - then else structure in your program to decide the outcome of the program. User must then use the quadratic equation to solve for x: = − ± √ −
Answer:
x= -b ±√b²- 4ac/2a
Step-by-step explanation:
ax2 + bx + c = 0
Dividing the quadratic equation by a gives
x2 + b/ax + c/a = 0
x2 + b/ax = - c/a
Applying the square formula
(x)^2 + 2(x) (b/2a) + (b/2a)^2= + (b/2a)^2- c/a
(x+b/2a)^2= b²/4a² - c/a
(x+b/2a)^2= b²/4a² - 4ac/4a²
(x+b/2a)^2= b²- 4ac/4a²
Taking square root of both sides gives
(x+b/2a)= ±√b²- 4ac/2a
x= -b/2a±√b²- 4ac/2a
x= -b ±√b²- 4ac/2a
This is called the quadratic formula and it can solve the value for x for the given value of a, b and c for the quadratic equation.
From this it is concluded that
Discriminant = b2 - 4ac > 0 means there will be two distinct real roots. Discriminant = b2 - 4ac = 0 means there will be only one real root. Discriminant = b2 - 4ac < 0 means there will be no real roots.
This is because a square root of a value greater than 0 is possible and gives two values for roots of x.
The square root of a value less than 0 gives a negative number and therefore the roots are an imaginary number.
The square root of a value greater equal to 0 gives a zero leaving behind only one real root.
List in increasing order
182.205 182.05 182.105 182.025
I think is 182.205,182.105,182.0.25,182.05
The scale of a set of architectural drawings for a house is 1/2 inch = 1 1/2 feet. A drawing shows a model of a room that is 4 inches long. How would you find the actual length of the room? (In other words, how much you find the length, in feet, of the room in real life?)
PLEASE HELP ME ITS URGNT The sum of two consecutive integers is 173. What number is the greatest of the two consecutive integers?
Answer:
Let x=the smaller integer.
Let x+1+ the larger integer.
x+(x+1)=173
(x+x)+1=173
2x+1=173
2x+1-1=173-1 (substract 1 from both sides)
2x=172 (divide 2 to both sides)
2x/2=172/2
x=86
x+1=87
Step-by-step explanation:
A person invested $8,800 in an account growing at a rate allowing the money to
double every 15 years. How much money would be in the account after 4 years, to the
nearest dollar?
Answer:10587
Step-by-step explanation: better than original answer
atus
kam
Suppose that y varies directly with x
and y = 5 when x = 6. What is y
when x= 5?
Be sure to simplify your answer.
у
Answer:
i need free points, thank you
Step-by-step explanation:
Step-by-step explanation:
y varies x
y=kx
when y=5;x=6
5=6k
5/6=k
Now, when y=?;x=5
y=5\6(5)
y=25\6
y=4.17
2.39 x 4.37 =
Please solve for me
Answer:
10.4443
I hope this helps :D have a good day!
what is the slope of this line?
A. 2/3
B. 1/3
C. -1/3
D. -2/3
Answer: 2/3
Step-by-step explanation:
Slope = rise/run
Up 2 and to the right 3
what transformation is represented by the rule (x, y) (-x, -y)
If a = 9 mm and b = 12 mm what is side c of a right triangle using the
pythagorean theorem?
Answer:
15
Step-by-step explanation:
9^2+12^2=225
square root of 225 is 15
NEED HELP ASAP PLEASE
n − 9/4= 2n − 7/9 please add work
Answer:
- 1 17/36
Step-by-step explanation:
Step 1:
n - 9/4 = 2n - 7/9 Equation
Step 2:
- 9/4 = n - 7/9 Subtract n on both sides
Step 3:
- 81/36 = n - 28/36 Find common denominator
Step 4:
- 53/36 = n Add 28/36 on both sides
Answer:
n = - 1 17/36 Convert
Hope This Helps :)
Answer:
n= -53/36
Step-by-step explanation:
Step 1: Simplify both sides of the equation.
n+ −9/4 = 2n+ −7/9
Step 2: Subtract 2n from both sides.
n+ -9/4 −2n=2n+ −7/9−2n−n+ −9/4 = −7/9
Step 3: Add 9/4 to both sides.
−n+ −9/4+9/4=−7/9+9/4 −n=53/36
Step 4: Divide both sides by -1.
−n/-1=53/36/−1n=−53/36
An arts academy requires there to be 3 teachers for every 54 students and 6 tutors for
every 60 students. How many students does the academy have per teacher? Per tutor? How many
tutors does the academy need if it has 130 students?
Answer: The academy has 18 students per teacher. The academy has 10 students per tutor. The academy needs 13 tutors for 130 students.
Step-by-step explanation:
54/3=18
60/6=10
130/10=13
Answer:
The academy has 19 students per teacher.
The academy has 12 students per tutor.
The academy needs 12 tutors.
Step-by-step explanation:
I tried many times to solve this question: Joy makes 6,5 litres soup correct to the nearest 0.5 litres. She serves the soup in 280ml portions correct to the nearest 10ml. 22 people order this soup. Does joy definitely has enough soup to serve the 22 people. show how you decide Your final line must be written as joy definitely does have enough soup or joy may not have enough soup. If you can please explain it if not just give the answer.
Joy makes 6.5 litres soup correct to the nearest 0.5 litres. She serves the soup in 280ml portions correct to the nearest 10ml. 22 people order this soup. Does joy definitely has enough soup to serve the 22 people.
Answer:
Yes, Joy definitely does has enough soup
Step-by-step explanation:
From the question, we know,
Joy make 6.5 litres of soup
Serves it in 280ml portions
Step 1
We convert the portions to liters
1 ml = 0.001 litre
280 ml
= 280ml × 0.001 litre/1 ml
= 0.28litre
Step 2
We divide 6.5 liters by 0.28 to find out how many people can be served
= 6.5 ÷ 0.28
= 23.2142857143 people
We can see that 6.5 liters soup can serve 23 people approximately.
Therefore, Yes, Joy definitely does has enough soup to serve 22 people
WILL MARK YOU BRAINLIEST!!!!!!
Answer:
D street
Step-by-step explanation:
The line with the equation y=4x+5 undergoes a dilation with a scale factor of 2 and the center at (0,2). Determine the equation of the line that is a result of the dilation
Answer:
2=4x+5 I am not 100% sure about this though.
what is equivalent to (x+1)^2
I need help with homework
Answer:
okay
Step-by-step explanation:
lol sorry for this I just needed to answer one more question
an average student spend 4½ minutes to read one page of a book. how much time will he need to read 5½ pages?
Answer:
About 24.75 minutes or 24 3/4 minutes
Step-by-step explanation:
Which table represents a function
Answer:
The top right
Step-by-step explanation:
In the top right table, every x value has only one y value.
7 (2x - 9) = 6x – 15
what is this?
y=2x+5
y=2x+2
is it parallel
Answer:
Yes they are parallel
Step-by-step explanation:
They have the same slope.
Amber is traveling to he mom's house. The scale on the map is 2 inches=10 miles. She knows her mom lives 40 miles away. How far would that be on the map?
8 inches on the map. To approach this problem, just set up a proportion:
2in =10 mi x in =40 mi.
If we use that to set up an equation we get
80 =10x.
Solve that, you get 8.
Hope this helps, let me know if you need more help.
rational algebraic expression is an expression that is the ratio of two
Answer:
A rational expression is a ratio of two polynomials. The domain of a rational expression is all real numbers except those that make the denominator equal to zero.
Step-by-step explanation:
Which fraction is a repeating decimal?
A. 2/5
B. 8/10
C. 4/7
D. 8/11
Answer:
C. 4/7
D. 8/11
Step-by-step explanation:
4/7 = 0.571428571428
8/11 = 0.727272727272727
These are repeating decimals, unlike the first two:
A. 2/5 = 0.4
B. 8/10 = 0.8
Answer:
8/11 (D)
Step-by-step explanation:
Popped it into a calculator that turns fractions into decimals, and I got 0.7272727... (repeating) Hope this helps!
Please helppppppp i need it so I don’t get detention tomorrow .
Answer:
a) = 27
b) = 5
If a tennis court is 24 meters long, what is the approximate length in yards?
. The mass of Earth is approximately 5.9 · 1024 kg, and the mass of Venus is approximately 4.9 · 1024 kg.Given that the mass of the sun is approximately 1.9 · 1030 kg, how many Venuses and Earths would it take to equal the mass of the sun?
I really hope this helps ☺️
Question 3 options:
Point Y lies in between points X and Z on a given line.
The length of XZ = 30, and the length of YZ = 10.
Find the length of XY.
k12
Answer: XY= 20
Step-by-step explanation:
i took the test and got it correct
30 - 10 = 20
If 7/9x - 4/9x = 1/4 +5/12
what is the value of x?
Answer:
x=2
Step-by-step explanation:
subtract 7/9x -4/9x
3/9x= 1/4 +5/12
first change 1/4 to 3/12
then add 3/12 + 5/12
3/9x = 8/12
change 3/9x to 1/3x then to 4/12x
4/12x = 8/12
then mulitiply by the reciprical 12/4 on both sides
x = 2