Basic Math Calculation and Equation

4 visualizaciones (últimos 30 días)
Burak Alakus
Burak Alakus el 3 de Sept. de 2019
Comentada: Burak Alakus el 6 de Sept. de 2019
Hello guys. I just want to calculate the following equation yet my math is not enough for that i guess.
The equation is;
How to find x?
Thanks.

Respuesta aceptada

Stephen23
Stephen23 el 3 de Sept. de 2019
>> fun = @(x) x.^x - 5.^x;
>> x = fzero(@(x)fun(x)-0.0237,pi)
x = 5.000007583872926
>> fun(x) % checking
ans = 0.02370000001019434

Más respuestas (1)

Burak Alakus
Burak Alakus el 6 de Sept. de 2019
Thank you for the answer yer it is not the result i wanted.
When we applied x = 5 then result is going to 0.
  2 comentarios
Torsten
Torsten el 6 de Sept. de 2019
The result is not x = 5, but x = 5.000007583872926.
Burak Alakus
Burak Alakus el 6 de Sept. de 2019
Yeah you r right. My mistake. Thank you.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by