c++ natural log
#include <iostream>
#include <cmath>
int main() {
double x = 10.0; // Replace 10.0 with the desired value
double result = log(x);
std::cout << "Natural logarithm of " << x << " is: " << result << std::endl;
return 0;
}