# How to input if, then into an equation

Posted 9 years ago
3896 Views
|
5 Replies
|
0 Total Likes
|
 If I wanted to solve: if log_4 x=3, then log_8 x= I apologize if this has been asked and answered before
5 Replies
Sort By:
Posted 9 years ago
 The syntax is the Wolfram Language and the output is generated by Mathematica. I'm surprised the Moderation Team didn't delete your comment, asking if it is MATLAB output.
Posted 9 years ago
Posted 9 years ago
 Thanks for the responses, I was attempting to use the "search engine" on this site. I see that there is some sort of console that you are using, perhaps you can show me where I can find this? I am new to this site and I joined as my math skills are extremely under developed....I was wooed by the practice problem generator....Is this matlab output? I am extremely interested in this syntax and would love to see where you obtained this output. Thanks!
Posted 9 years ago
 Even simpler In[1]:= Solve[Log[4, x] == 3, x] Out[1]= {{x -> 64}} In[2]:= Log[8, 64] Out[2]= 2 
Posted 9 years ago
 In[2]:= Solve[{res == Log[8, x], Log[4, x] == 3}, {res, x}] Out[2]= {{res -> (3 Log[4])/Log[8], x -> 64}} In[3]:= FullSimplify[%] Out[3]= {{res -> 2, x -> 64}} 
Community posts can be styled and formatted using the Markdown syntax.