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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Using Odesolve

JohnRudnicki
14-Alexandrite

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.

1 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.

JohnRudnicki
14-Alexandrite
(To:Werner_E)

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

 

JohnRudnicki
14-Alexandrite
(To:Werner_E)

Argh. Thanks.

Top Tags