I'm just trying out maths functions in Python as I'm very new to it and I've noticed something when using e. I'm trying to work out log(1+e^2) which I know from using a calculator is 0.9237 but when I type this out in PyCharm, I get 2.1269.
I've tried setting x = (1+e^2) then doing log(x) in case it's working things out in the wrong order. But even if you get 1+e, then square it and log that number, you get 1.14.
Anyone able to point out what's going wrong here?