shresthakritika786
shresthakritika786 shresthakritika786
  • 17-01-2021
  • Computers and Technology
contestada

express it in Qbasic expression​

express it in Qbasic expression class=

Respuesta :

jacobEwing
jacobEwing jacobEwing
  • 17-01-2021

Answer:

x = (-b + sqr(b * b - 4 * a * c)) / (2 * a)

x2 = (-b - sqr(b * b - 4 * a * c)) / (2 * a)

Usually when squaring a number I just use multiply it by itself like above.  If you actually want to use the exponent 2, then it would instead be:

x = (-b + sqr(b ^ 2 - 4 * a * c)) / (2 * a)

x2 = (-b - sqr(b ^ 2 - 4 * a * c)) / (2 * a)

Answer Link

Otras preguntas

What does John Smith hope to achieve by writing the excerpt from The General History of Virginia?
What is the mass of a pure platinum disk with a volume of 113 cm3? The density of platinum is 21.4 g/cm3. Give your answer in grams and kilograms.
What's the slant height of a regular pyramid or cone with the height of 15 cm and the base of 12 cm
What is a main challenge faced by plants that live in a desert?
Why was Julius Caesar crossing the Rubicon an important event?
10km/900m simplified in one unit
Animal cells and bacterial cells both may have all of the following cell structures except a. mitochondria. b. DNA. c. plasma membrane. d. flagella.
Why was the evolution of amphibians notable? What did they pioneer?
Your sense of balance is the responsibility of a. your eyes. b. your ears. c. both your eyes and ears. d. your sense of touch.
What are two rights of a free press?