+ 2
Write an equivalent c++ expression for:-
Write an equivalent C++ expression for :- √(sina + tan^-1 -e^2x)
4 Réponses
+ 6
first of you should use math libraries where all the math expressions are defined. Either <cmath> or <math.h>
After that it will be easy.
for example √ = sqrt(); and 2^3 = pow(2,3);
0
#include<math.h>
.
.
.
.
sqrt(sin(a)+atan(exp(2*x)))
.
.
.
0
include header file math.h for the functions sqrt (square root), atan(for tan inverse) and exp(exponential) and write down ur expression as..-
sqrt(sin(a)+atan(exp(2*x)))
0
√a×tan^-1 x+e^2logx/w+(a+w)^5