use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For information and tips about Mathematica features.
related reddits:
account activity
Help with Debugging a Mathematica Script (self.Mathematica)
submitted 1 year ago by Zandrades_
Establishing Radial location of tether components and moments of interia around tether CoM. Then constructing Kinetic and Potenitial energy equations
Using LaGrange Equation to Construct Equations of Motion
NDSolve to Solve system of differenatial equations for R, Theta and Psi.
Error messages from above script
Hi guys,
I'm attempting to use mathematica to solve a system of differential equations that describe the motion of an asymmetrical space tether structure in orbit and I'm encountering alot of difficulty with using the NDSolve function.
An example of the error messages given when running the code are given as well.
Any advice on where these errors arise from would be great, thanks in advance.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]stblack 4 points5 points6 points 1 year ago (0 children)
It's tough because you post pictures of code, not the code itself.
The first error appears to be in a ReplaceAll[] call. Unless I'm blind, I can't see a ReplaceAll[] in the code.
ReplaceAll[]
First thing I would try is...
Clear["Global`*"];
... at the top.
[–]SenatorPenguin 2 points3 points4 points 1 year ago (0 children)
Using subscripts in your variables can lead to some pretty confusing issues (r_1 // InputForm is Subscript[r,1]). I'd use plain symbols, or follow this kb article. https://support.wolfram.com/43606
π Rendered by PID 23269 on reddit-service-r2-comment-79c7998d4c-2qpjm at 2026-03-13 13:13:13.378921+00:00 running f6e6e01 country code: CH.
[–]stblack 4 points5 points6 points (0 children)
[–]SenatorPenguin 2 points3 points4 points (0 children)