+ 1

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

25th Mar 2021, 4:46 PM
Anikur Rahman
Anikur Rahman - avatar
5 odpowiedzi
+ 2
In python: a*(x**2) + b*x + c
25th Mar 2021, 4:49 PM
Abir Hasan
Abir Hasan - avatar
+ 2
x*x Or include <math.h> and use pow(x, 2)
25th Mar 2021, 4:50 PM
Michal Doruch
+ 2
Oh for C use Michał Doruch 's answer.
25th Mar 2021, 5:19 PM
Abir Hasan
Abir Hasan - avatar
+ 1
Abir Hasan I wanted the result in c. Thanks for your valuable reply
25th Mar 2021, 5:16 PM
Anikur Rahman
Anikur Rahman - avatar
+ 1
Just need to a(x*x)+bx+c
26th Mar 2021, 12:03 PM
MohammadMahdi
MohammadMahdi - avatar