-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drasil Research Group Meeting Agenda, 1:30 pm, Friday May 20, 2022 (On Teams) #2984
Comments
A follow-up on today's meeting. I think Dr.@smiths mentioned there might be some problems with solving the double pendulum example, but I didn't remember exactly what. Is that be ok to say it again, so I can re-evaluate the solution. |
My question was about whether you depend on being able to represent the system of ODEs in matrix form. Although the system of equations above is definitely solvable using the external libraries, you cannot represent it in matrix form because the dependent variables aren't isolated. You don't have a linear ODE in this case. As long as the matrix form is required this isn't a problem. |
Some solvers allow "black boxes" as input, to represent arbitrary functions of the dependent variables. We should be guided by the solvers themselves as to what to do here. I forget the details. Note that for the pendulum, if the sin/cos addition laws are used, then if new variables for sin(theta_1), cos(theta_1), etc are added (and relations between them), it can be written as a large ODE system |
@cd155, I agree with the reply from @JacquesCarette. Writing a linear system of ODEs in matrix form is actually a fairly special case. It comes up frequently in practice, but there are also plenty of more complex examples. There are algorithms that can solve linear systems quickly and efficiently, but there are also algorithms for the more general case. As long as we can write the differential equations in an explicit form, it should be possible to solve them with one of our libraries. |
The agenda for this coming week is as follows:
a. @peter-michalski SWHS Body, Hardcoded Names #1848
b. @balacij - Allow for different authors between documents #1804
c. @cd155 Implement "unmodular" option for code generation #1999
The text was updated successfully, but these errors were encountered: