Transform in c++ | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

Transform in c++

Transform this in c++ format x(y) = 1/4 * ( y^2 - ln y^2 - 1)

30th Apr 2020, 5:28 PM
Mell Note
Mell Note - avatar
1 Réponse
+ 5
#include <cmath> double x(int y) { return 1/4*(pow(y,2)-log(pow(y, 2))-1); }
30th Apr 2020, 5:35 PM
Rohit