damjan kuzmic wrote:
> i would like to know how to write a formula that in excell looks like
> this:
>
> A / EXP(-LN(2) * t)
>>> import math
>>> A = 1.23
>>> t = 4.56
Literally (math.log is the natural logarithm):
>>> A / math.exp(-math.log(2) * t)
29.013618196288864
However,
exp(-x) == 1
On 29/08/12 21:20, damjan kuzmic wrote:
Hello,
i would like to know how to write a formula that in excell looks like this:
A / EXP(-LN(2) * t)
Start by breaking it down from the inside out.
LN(2) is log(2) in Python, which is found in the math module so you need
import math too.
negation (
On 29/08/2012 21:20, damjan kuzmic wrote:
Hello,
i would like to know how to write a formula that in excell looks like this:
A / EXP(-LN(2) * t)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.pytho
Hello,
i would like to know how to write a formula that in excell looks like this:
A / EXP(-LN(2) * t)
--
greetings
car kuzma
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo