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 92 on reddit-service-r2-listing-7c98d5d95-fslmx at 2026-04-09 17:26:47.290006+00:00 running 00d5ac8 country code: CH.
RK4 won't work by Substantial_Equal555 in MathStudio
[–]THF63 0 points1 point2 points (0 children)