开发者

How to get rid of Log[e] from mathematica output?

开发者 https://www.devze.com 2023-01-18 18:31 出处:网络
My mathemat开发者_高级运维ica 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

My mathemat开发者_高级运维ica 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


You probably wanted E or \[ExponentialE] which has the input alias ⋮ee⋮.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消