tags:

views:

66

answers:

3

Hello

My mathematica output is

-0.751988 - 0.0708732 Log[e] - 0.0140273 Log[e]^2

But I want mathematica to calculate this expression for me i.e. set Log[e] = 1 and sum the terms. How do I instruct it to do that. I'm assuming it must be treating the functions as complex??

Regards

+1  A: 

If i remember correctly, Mathematica use E as the Neper number, not e. I think you mispelled it, so Log[e] is not expanded. If not so, with the substitution Log[e]->1 you can achieve what you want.

enzotib
I used esc e esc to typeset base e, but the substitute rule worked ... thanks
aukm
+2  A: 

You probably wanted [ExponentialE] or E or :ee:

ragfield
A: 

Built-in symbols are capitalized, so constants like pi, e are written as Pi, E

Yaroslav Bulatov