cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Using Odesolve

JohnRudnicki
15-Moonstone

Using Odesolve

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.

ACCEPTED SOLUTION

Accepted Solutions

You have to write S1:=F1(10,10) and NOT S1(u):=F1(10,10)

Werner_E_0-1657153915172.png

 

View solution in original post

4 REPLIES 4

Two errors:

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)

Werner_E_0-1657125759905.png

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.

You have to write S1:=F1(10,10) and NOT S1(u):=F1(10,10)

Werner_E_0-1657153915172.png

 

Argh. Thanks.

Announcements

Top Tags