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

  Oceanic fishery collapses from overfishing

If an oceanic fishery collapses from overfishing, what are three sorts of actions that might be taken to help the fishery recover?

  Moment of the force of a triangular plate abc

The triangular plate ABC is supported by ball and socket joints at B and D and is held in the position shown by cables AE and CF. If the force exerted by cable AE at A is 1000N , determine the moment of the force about line joining points D and B.

  Wmd and us policies on terrorism

How have worries over WMD terror attacks distorted a balanced approach to policy on terrorism? How do the current trends in terrorism affect the United States?

  Televisual entertainment

Identify potential sites of conflict as televisual entertainment shifts from the historically dominant platform of broadcast television to the online environment of the Internet and World Wide Web? Discuss with reference to sport or some other form o..

  Developing a therapy group for girls and boys

You are a counselor who is developing a therapy group for girls and boys ages 10-12. Each group member has a diagnosis of either Conduct Disorder or Oppositional Defiant Disorder and has been selected to participate in a Gifted and Talented progra..

  What is role of politics in the native american ethnic group

"What is the role of politics in the Native American ethnic group.

  Monopolistic competitive market with oligopoly

Discuss the characteristics of monopolistic competitive market in detail. Name five different companies that belongs to this market. Compare and contrast monopolistic competitive market with Oligopoly.

  Washington's proclamation of neutrality in 1793

After Washington's Proclamation of Neutrality in 1793, France

  Concepts of virtue-values and morals in the simulation

Describe the relationship between concepts of virtue, values, and morals in the simulation.

  Layers of sedimentary rocks at green mountain

B. Judging from sketches in Figure 4.5 of the Lab book, which type of plutonic igneous rock body do you suppose is buried beneath the layers of sedimentary rocks at Green Mountain?

  Interrogates eyewitnesses of crimes

Detective Adams interrogates eyewitnesses of crimes on a regular basis. To ensure that their testimony is accurate, it is important that he ____________________.

  Assessing dose of a drug to patient

The physician prescribes Brevibloc at 125 mL per hour. It is available as 10 g in 1000 mL D5 Lactated Ringers. The patient weighs 92 kg. The safe dose is 50-200 mcg/kg/minute.

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