New course! Every coder should learn Generative AI!
Try a free lesson- 1
Transform in c++
Transform this in c++ format x(y) = 1/4 * ( y^2 - ln y^2 - 1)
1 Answer
+ 5
#include <cmath>
double x(int y) {
return 1/4*(pow(y,2)-log(pow(y, 2))-1);
}
Transform this in c++ format x(y) = 1/4 * ( y^2 - ln y^2 - 1)