Template talk:Exp

It doesn't work very well. Part of the reason is that we computed x^n and n! seperately, with {{exponent}} and {{factorial}}, and so the range of n is very limited.

{{subst:#if:x|{{subst:exp|n=6|x=1}}}} gives "2.71805555556" in one save.

{{subst:#if:x|{{subst:exp|n=7|x=1}}}} gives 2.71825396825

{{subst:#if:x|{{subst:exp|n=8|x=1}}}} gives Expression error: Unrecognised word "e"

{{subst:#if:x|{{subst:exp|n=10|x=2}}}} gives "7.38899470899".

{{subst:#if:x|{{subst:exp|n=11|x=2}}}} gives "Expression error: Unrecognised word "e"".

{{subst:#if:x|{{subst:exp|n=12|x=2}}}} gives "Expression error: Unrecognised word "e"".

and google says: e^2 = 7.3890561

A step by step version would be easier, more efficient and more educational.

Return to "Exp" page.