Compute the real roots of a quadratic equation

Assignment Help Other Subject
Reference no: EM13264144

write a program to compute the real roots of a quadratic equation (ax^2 + bx + c = 0 ). The roots can be calculated using the following formulas:

x1 = (-b + sqrt(b2 - 4ac))/2a

and

x2 = (-b - sqrt(b2 - 4ac))/2a

Reference no: EM13264144

Questions Cloud

Discuss the socioeconomic consequences : Explore the uninsured population in the United States. Discuss the socioeconomic consequences of having a large uninsured population in the United States.
Healthcare system based solely on public financing system : First list and then discuss some of the advantages and disadvantages of a healthcare system based solely on a public (governmental) financing system and reflect on how such a system would impact your community. Make certain to support your answer wit..
Effects of caffeine on both water and mineral balance : What advice would you give a friend who regurlary relies on caffeine-containing beverages to quench his thirst? Consider the effects of caffeine on both water and mineral balance.
Regarding the laws of flight and gravity : How do Ishmael’s metaphors, regarding the laws of flight and gravity, help explain the way to discover how we ought to live? What have you learned in this way? You may recall a sport or a song or a bit of chemistry you learned.
Compute the real roots of a quadratic equation : write a program to compute the real roots of a quadratic equation (ax^2 + bx + c = 0 ). The roots can be calculated using the following formulas:
Have you ever experienced a case of workplace violence : Have you ever experienced a case of workplace violence? What role, if any, might an organization itself play in investigating workplace violence? Can the threat of workplace violence ever be completely eliminated? Why or why not?
Conducting a competitor analysis : Examine three barriers that you believe represent the most significant obstacles to an effective competitor analysis. Propose a strategy to overcome each of the three barriers that you have identified.
Competitor analysis : Examine service categories commonly provided by nursing homes. Determine two specific service categories that you believe are common factors of competition among nursing homes
In reorder point system : In a reorder point system, the demand rate for gizmos is normally distributed, with an average of 250 units per week. The lead time is 7 weeks. The standard deviation of weekly demand is 25 units.

Reviews

Write a Review

Other Subject Questions & Answers

  Concept and the way we develop relationships

Concept and the way we develop relationships with others are examples

  Major problems in us health care system

What are at least 2-3 major problems in the U.S. health care system? For each problem, propose a solution or strategy that can be used to change or reform the system.

  Despite the power and resources of the bourgeoisie

Despite the power and resources of the bourgeoisie,

  Interviewing process in cbt

Our chapter explores the interviewing process in CBT. Factors such as interviewer skill, language, how emotions are handled, how outcomes are measured and the impact of the therapeutic relationship are discussed.

  Face food security problem

What changes would you recommend to the medium-to long-term strategy of your enterprise in order to face food security problem?

  Middle-aged patient has awoken from surgery

A middle-aged patient has awoken from surgery. He begins screaming for someone to talk to about his condition. Earlier in the day, he was told by his doctor that his surgery revealed intestinal cancer. No one has been in to see him since that convers..

  Defects in the intestinal epithelial barrier function

Defects in the intestinal epithelial barrier function leading to leaky gut that is associated with an increased paracellular permeability might have loss-of-function mutations in which of the following

  How can you turn those into smart goals

Goals before and after graduation: How can you turn those into SMART goals? Please cite url or references used for class discussion and answer in 140 words or less.

  Besides elections and campaigns

Besides elections and campaigns, how do the major political parties influence public values and ideas?

  Instrumental-informational-esteem-emotional-social network

Instrumental-informational-esteem-emotional-social network

  Regulation of our capacities

As we age, the regulation of our capacities and activities are key aspects of adjustment. According to one theory, successful self-regulation in aging involves three processes.

  Sociological approaches to global poverty

Taken together, the sociological approaches to global poverty show us that poverty is:

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