Convert the mathematical expression = , = −±√− , = + , = √ + into equivalent C++ expression.
Attachments:
Answers
Answered by
0
A = M_PI * radius * radius. Here M_PI is a constant defined in math.h. ...
1 / ((x*x) + (y*y)) Or you can also use pow() to evaluate exponents. ...
x = sqrt((b*b) – 4*a*c) Or. ...
x = (-b + sqrt(pow(b, 2) – 4 * a * c)) / 2 * a.
x = cos(a) * cos(b) – sin(a) * sin(b)
Similar questions