MATLAB Answers

0

Problem with simplify(x^(1/log(x)).

Asked by John Billingham on 12 Sep 2014
Latest activity Commented on by John Billingham on 12 Sep 2014
>> sym x;
>> assume(x>0)
>> simplify(x^(1/log(x)),'IgnoreAnalyticConstraints',true)
>> ans = x^(1/log(x))
Note that x^(1/log(x))=e. Why won't this expression simplify?

  0 Comments

Sign in to comment.

1 Answer

Answer by Friedrich
on 12 Sep 2014
 Accepted Answer

Hi,
have you tried increasing the number of simplification steps?
>> simplify(x^(1/log(x)),'steps',10)
ans =
exp(1)

  1 Comment

The answer to your question is clearly 'no'! It seems crazy that you have to do that for such a simple expression.
Thanks

Sign in to comment.