Oct-20-2017, 01:52 PM
That is unclear. If 'x' were the only variable and since 'e' is a constant, by your description, yes and there would be no need for the 'log' function.
>>> import math >>> >>> x = 5 >>> math.e ** x 148.41315910257657 >>>However you have a second variable 'y', is that meant to be the 'base' and not 'e'?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition