I am trying to use Odesolve. I think I am solving the same equation written in a slightly different way, but in the second way I am getting an error when I try to plot the solution.
Solved! Go to Solution.
1) you define a function Theta(...) in front of the solve block, but use an unknown function Thetatest(...) in the solve block equation
2) wrong syntax for odesolve (the function name Phi is NOT an argument of odesolve)
BTW, your "manual" calculations" below the solve block fail because they use a function Thetatest with just two arguments which isn't defined anywhere.
Thanks, but, sorry ----I posted the wrong worksheet. I corrected those errors you pointed out, but I still get an error when I try to plot the solution using Theta specialized to equal Thetatest. I have posted the correct worksheet this time.