# Logarithms in sympy

Please tell me how you can change log(e) to 1. And in general is there a way in sympy to get a float-type answer? For example, instead of log(2), get 0.69314718056 from math import * from sympy import * x1=symbols(‘x1’) x2=symbols(‘x2’) Func = e**(2*x1)*(x1+x2**2+2*x2) print(Func.diff(x2)) Here I already get log(e). In other calculations, the same… Read More Logarithms in sympy