I am not able to bring the M11 solve block result on M13.
I had to cancel the units from the equations in order to make it with M13, other than that everything is same.
See attached worksheet.
Any suggestions?
Odesolve always returns a function that takes a unitless argument and returns a unitless result. If you define the rhs of equation such that it has units MC11 resolves the problem by eliminating them (but not just by simply deleting them). MC12 and later are subject to SUC, and just say "that's not allowed". So you have to make sure the rhs is unitless.
Thanks Richard..
So, is the way I cancelled the units wrong?
How we can troubleshoot issues like this...
Any more inputs?
So, is the way I cancelled the units wrong?
It's fine.
How we can troubleshoot issues like this...
I find that hitting my head against a nice solid object is the best approach. Either you figure it out, or you knock yourself out and therefore don't care anymore.
(as always, click to animate)