Basic Math Calculation and Equation
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello guys. I just want to calculate the following equation yet my math is not enough for that i guess.
The equation is;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/236821/image.png)
How to find x?
Thanks.
댓글 수: 0
채택된 답변
Stephen23
2019년 9월 3일
>> fun = @(x) x.^x - 5.^x;
>> x = fzero(@(x)fun(x)-0.0237,pi)
x = 5.000007583872926
>> fun(x) % checking
ans = 0.02370000001019434
댓글 수: 0
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!