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

8 visualizaciones (últimos 30 días)
John Billingham
John Billingham el 12 de Sept. de 2014
Comentada: jin yong el 8 de Feb. de 2023
>> 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?
  1 comentario
jin yong
jin yong el 8 de Feb. de 2023
syms x a;
assume(x>0)
x=exp(a)
x = 
simplify(x^(1/log(x)),'IgnoreAnalyticConstraints',true)
ans = 
e

Iniciar sesión para comentar.

Respuesta aceptada

Friedrich
Friedrich el 12 de Sept. de 2014
Hi,
have you tried increasing the number of simplification steps?
>> simplify(x^(1/log(x)),'steps',10)
ans =
exp(1)
  1 comentario
John Billingham
John Billingham el 12 de Sept. de 2014
The answer to your question is clearly 'no'! It seems crazy that you have to do that for such a simple expression.
Thanks

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by