![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1152453/image.png)
how to solve logarithm equation
2 views (last 30 days)
Show older comments
i want to solve an logarithm equation and find the value of x
log10(x^4)-log10(x^3) == log10(5*x) -log10(2*x)
4 Comments
Accepted Answer
David Hill
on 11 Oct 2022
f=@(x)log10(x.^4)-log10(x.^3)-log10(5*x) +log10(2*x);
fzero(f,2)
x=.1:.1:10;
plot(x,f(x));
0 Comments
More Answers (2)
David Hill
on 11 Oct 2022
if you plot, it never crosses zero.
f=@(x)log10(4*x)-log10(3*x) -log10(5*x) +log10(2*x)
fzero(f,1)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!