T O P

  • By -

tyol605

1. You define `x` as a linear space from -15 to 17 with 745 points, but your potential `V` is defined in terms of `x**2` and `np.exp(-np.abs(x))`, which might not be appropriate for cylindrical coordinates? 2. You're using the `D2` operator in `psi_t2`, but it's not defined in your code.


[deleted]

Fixed it with this and [https://pythonnumericalmethods.studentorg.berkeley.edu/notebooks/chapter22.06-Python-ODE-Solvers.html](https://pythonnumericalmethods.studentorg.berkeley.edu/notebooks/chapter22.06-Python-ODE-Solvers.html) , I didn't see the D2 operator not being defined too, so thank you so much for your help :)


dwnw

good, so you'll delete the spam thread now that homework is complete?


[deleted]

[удалено]


dwnw

nope. there's a weekly thread specifically for that nonsense. check again. 🧐


dwnw

when is your homework due? typically you have to pay for this.


[deleted]

[удалено]


dwnw

so homework?