Python function to calculate two roots

Assignment Help Python Programming
Reference no: EM1349199

Q1) Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive. That is, you do not need to check the sign of discriminant and your input should satisfy b2-4ac>0.

Reference no: EM1349199

Questions Cloud

What can hr and senior leadership : What can HR and senior leadership do to use power to move change levers and how can conflict be a powerful tool for organization change and growth?
Estimate the level of output : Given the following cost function, estimate the level of output at which the cost function is minimized, and the level of the costs.
How can the organization use technology to change : Describe the balance of fixed and variable costs for the organization. How can the organization use technology to change this balance for an advantage.
Calculate the magnitude of the force : Coherent light with wavelength 592 nm passes through two very narrow slits, and interference pattern is observed on the screen a distance of 3.00 {rm m} from the slits. The first-order bright fringe is the distance of 4.84 {rm mm} from the center o..
Python function to calculate two roots : Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.
Elucidate is a company violating the optimality rule : As per to the rule for optimal input usage, a firm should hire a person as long as her marginal revenue product is greater than her marginal cost to the company. Elucidate is a company violating the optimality rule.
Describe benefit from activity based costing : Explain how Activity Based Costing can benefit Corporations. You may wish to give an example of a company where activity based costing could be applied.
Phases in organizational change : Phases of the organizational change process that can cause animosity or problems between employees and management
Explain what are some of the key decision criteria : Explain What are some of the key decision criteria that will help them determine which PMO model makes most sense?

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd