How to input 3^2x . Sqrt(9) =729 the answer is 3
Show older comments
3^2x . Sqrt(9) = 729
7 Comments
Torsten
on 29 Mar 2022
So
3^6 * sqrt(9) = 3^7 = 729
?
Or how should I interprete
3^2x . Sqrt(9)
?
Muhammad syafikh Mohd umar
on 29 Mar 2022
Muhammad syafikh Mohd umar
on 29 Mar 2022
The answer is not 3, but 2.5.
f = @(x) 3.^(2*x) * sqrt(9) - 729;
x = fzero(f,1)
Muhammad syafikh Mohd umar
on 29 Mar 2022
Torsten
on 29 Mar 2022
And does
f = @(x) 3.^(2*x) * sqrt(9) - 729;
x = fzero(f,1)
answer your question on how to get x ?
Muhammad syafikh Mohd umar
on 29 Mar 2022
Answers (1)
Unsure of what the 'x' mean in the line. If x means multiplication, then enter this:
(3^2)*sqrt(9)
ans = 27
In Math:
Edit:
Since you have clarified that,
fun = @(x) (3^(2 + x))*sqrt(9) - 729; % function
x0 = 2; % initial point
x = fzero(fun, x0)
x = 3
This assumption satisfies the equation.
13 Comments
Muhammad syafikh Mohd umar
on 29 Mar 2022
Muhammad syafikh Mohd umar
on 29 Mar 2022
Sam Chak
on 29 Mar 2022
I have edited the answer. Please check if the equation looks like this:
Hi @Torsten
I just made an educated guess only
, and that maybe @Muhammad syafikh Mohd umar copied/pasted the equation wrongly. Or, perhaps your answer x = 2.5 is the correct one, but there is a typo in his answer sheet: x = 3. Printing errors in exercise books are common. :-)
Muhammad syafikh Mohd umar
on 29 Mar 2022
Muhammad syafikh Mohd umar
on 29 Mar 2022
Image Analyst
on 29 Mar 2022
What is the symbol after the 2 in the exponent?
Muhammad syafikh Mohd umar
on 29 Mar 2022
Sam Chak
on 29 Mar 2022
Just a bit curious. This problem seems related to Indices and Logarithms in High School Math. Does the teacher require solving it with MATLAB? Or you just want to confirm the answer using any computational software, like MATLAB?
Muhammad syafikh Mohd umar
on 29 Mar 2022
Sam Chak
on 29 Mar 2022
Thanks for your reply. If a single variable math problem can be transformed into a root-finding problem,
, then you can use fzero to find the solution in most cases. For more info, please check out:
Muhammad syafikh Mohd umar
on 29 Mar 2022
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
