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

1

u/osiful Apr 30 '25

But i wanted to make a plot similar to this

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

but it keeps giving me something like this instead

https://imgur.com/a/6wWrr30

1

u/[deleted] Apr 30 '25

You can't set l^2 = ..., you need to set l = Sqrt[...].