Hello everyone, I’m new to Mathematica and to this forum, so if my post is wrong here please tell me where the question is more appropriate.
Probably my problem is quite simple, but I have the system of equations
where I want to get symbolic solutions for x, y and z, but when I run that in Mathematica, I get the error line “Solve: 0 is not a valid variable.” and the Output
Also note that sqrt(d-1) is not related to Sqrt[d-1] (syntax and case both matter). Last, be aware that some capitalized letters such as C are built-in symbols and this can in some cases affect the outcome. I doubt it will matter in this example but it is best practice to avoid using such symbols as variables or parameters.
Thank you for your reply! I thought that clicking “Evaluate → Notebook” does clear the cache and does start to calculate the whole document from scratch. But apparently this assumption was wrong?
Thanks also for pointing out the use of sqrt. Now I know that sqrt[ ] is what I intended. What does sqrt( ) do?
I saw in Mathematica that “C” is specified as constant and I had intended to use C as a placeholder for some unknown constant. So is my use of it correct?
x,y,z were intended to be variables and all the other letters should be some fixed numerical values.
I added the line Clear[x,y,z] to the top of the document and changed the sqrt.
Now I ran (and are still running, because it hasn’t given me any output yet) “Evaluate → Notebook”. Is this the correct way to get the result?
Is there a possibility to check if Mathematica is still calculating and will come to a solution or if it is stuck in an endless calculation due to a coding mistake?
Is pressing “Evaluate → Quit → Local” the right way to quit the calculation or is there a better option?
Thanks to everyone reading and answering this in advance!
Again, case matters. Sqrt is a built-in function whereas sqrt is just an unknown symbol. sqrt(...) multiplies this symbol by the … in the parens.
C is a “constant” used in functions like Integrate for results. The usage states “…is a …constant generated in representing the results of various symbolic computations”. In particular this refers to results, not input. It is not advised to use it for input. You might instead use c as that has no built-in meaning attached.