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

Odesolve function returns "Function:<Closure_1>b__c

CH_9943870
1-Newbie

Odesolve function returns "Function:<Closure_1>b__c

I dont know why this keep happening, can someone help? I would be very grateful...

bug.png

 

 

5 REPLIES 5

Lor.png

LucMeekes
23-Emerald I
(To:CH_9943870)

There appears to be nothing wrong. Your evaluation sol= gives an answer that tells you that sol is a function. You can plot it versus time; or you can plot the function versus its derivative as Valery showed. What you will NOT get, but maybe expected, is that sol= would result in an expression of what the function looks like. Mathcad Prime does not have the capability to symbolically solve differential equations. If you need that, use Mathcad 15 (not Prime) and look here.

It could look like this:

LucMeekes_0-1621952906662.png

Or, with more symbolics, like this:

LucMeekes_0-1621954415202.png

 

Or you use the symbolics in Prime together with (your) knowledge of Laplace transforms in solving ODE's. Look at Ttokoro's post below. Note that you get neater symbolic results if you use exact numbers instead of reals: 3/10 instead of 0.3 and 1/100 instead of 0.01)

 

Success!
Luc

 

image.pngimage.pngimage.pngimage.png

ttokoro
17-Peridot
(To:ttokoro)

q(t) [C]  of this electric circuit shows the same result.

 

image.pngimage.pngimage.pngimage.pngimage.pngimage.png

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."