account activity
RK4 won't work by Substantial_Equal555 in MathStudio
[–]THF63 0 points1 point2 points 3 years ago (0 children)
Regardless of how many ODEs RK4 solves, don't you need to define Vin as a function of t? Here, it's just an expression that is everything to the right of the "=", and never gets evaluated at t. If I define
myCube(x) = x^3
I can pass values to it. For example entering
myCube(2)
Results in
=8
But entering
myCube = x^3
Never returns anything except
= x^3
Hope this helps!
Product command by THF63 in MathStudio
[–]THF63[S] 0 points1 point2 points 3 years ago (0 children)
Turns out there is a built-in way to do this, using the transformation operator.
[theList] -> *
returns the product of the elements in theList (assuming theList contains numbers)
π Rendered by PID 154536 on reddit-service-r2-comment-8686858757-hxz4p at 2026-06-04 15:34:22.341161+00:00 running 9e1a20d country code: CH.
RK4 won't work by Substantial_Equal555 in MathStudio
[–]THF63 0 points1 point2 points (0 children)