Question: Having issues with this question looking for assistance ; everything was done on google coolab # First, we type Welcome to Quadratic Equation Game! Welcome
Having issues with this question looking for assistance ; everything was done on google coolab
# First, we type "Welcome to Quadratic Equation Game!"
Welcome to Quadratic Equation Game!
# Next, please show the Quadratic Equation as follows:
# aX bX C
aX bX C
# Mark
# Then, ask the user to enter a b and c respectively.
# Expain Output
Please, enter the value for a:
Please, enter the value for b:
Please, enter the value for c:
# Mark
# Now, please show the quadratic equation to the user, before start solving it:
# eg "Your Quadratic Equation is: XX
# Expain Output
Your Quadratic Equation is: XX
# Mark
# Define a function, called discriminant that receives a b and c and calculates the discriminant.
# Expain Output
# Marks
# Use the above function in the following part:
# If Discriminant is positive, we get two Real solutions.
# So please print We got two real solutions, which are X and X
# Sure, you calculate the value of X and X
# If Discriminant is zero we get just ONE real solution both answers are the same
# So please print We got one real solution, which is X
# Sure, you calculate the value of X
# If Discriminant is negative we get a pair of Complex solutions.
# So please print "The Discriminant is negative, we got a pair of Complex solutions."
# You do not need to show the complex solutions :
# Note: You need to import math library, and calculate the square root of
# discriminant for the case that you have two real solutions. We got two real solutions,, which are and
# Expain Output
# Mark
# Finally, save the above two messages into a file, called "QuadEqu.txt
# eg
# Your Quadratic Equation is: XX
# We got two real solutions,, which are and
# Expain Output
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
