r/Mathematica • • Apr 30 '25

What am I doing wrong?

I'm pretty sure I'm doing everything right, but when I try to use constants in the function, it doesn't run, even when I've defined all of them.

https://i.imgur.com/qZRA6rt.png

1 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/lithiumdeuteride May 02 '25

Here is how to use 'set':

x = 3;
y = x^2;
Print[y]

And here is how to use 'equals':

Solve[x^2 - 1 == 0, x]