How can I use a square in an quadratic equation. The equation =ax^2+bx+c | Sololearn: Learn to code for FREE!

+1

How can I use a square in an quadratic equation. The equation =ax^2+bx+c

3/25/2021 4:46:23 PM

Anikur Rahman

5 Answers

New Answer

+2

In python: a*(x**2) + b*x + c

+2

x*x Or include <math.h> and use pow(x, 2)

+2

Oh for C use Michał Doruch 's answer.

+1

Abir Hasan I wanted the result in c. Thanks for your valuable reply

+1

Just need to a(x*x)+bx+c