Hey guys, i am completely new to Mathematica.
When i try to solve an equation with the command Solve[], i face the following “error”: $RecursionLimit::reclim2: Recursion depth of 1024 exceeded during evaluation of 8/a.
In[4]:= Solve[a = a/2 + 8/a + 3, a]
During evaluation of In[4]:= $RecursionLimit::reclim2: Recursion depth of 1024 exceeded during evaluation of 8/a.
Out[4]= Hold[Solve[a = a/2 + 8/a + 3, a]]
But the equation should definitely have a solution, i tried it with Maple (hope i am allowed to say that here lol)
Hi Peter
In Wolfram Language the sign = is making an assignment, means that it puts something (such as number, list, image,…) inside a variable on the left hand side.
However, the sign == is equality, means that it equals the LHS to the RHS which is the normal definition of equality in math.
I have run into that interesting “editing” quirk that does not recognize changing = to == before. I think that is happening is that Mathematica is doing some typesetting as you type. So, typing == in a single go gets replaced with a typeset double equals. But, adding an = later doesn’t trigger the typesetting.