EOM using Lagrange and least action - #1
Open
GeorgeHanna04 wants to merge 1 commit into
Open
GeorgeHanna04 wants to merge 1 commit into
GeorgeHanna04 wants to merge 1 commit into
Conversation
With the assistance of Dr. Cooper’s Copilot Julia Assistant, I defined the system parameters, kinetic and potential energy, and constructed the Lagrangian L=T−V. I then computed the required derivatives and assembled the Euler–Lagrange equation of motion. Finally, I implemented this procedure in Julia using Symbolics.jl and Latexify.jl, obtaining a working script that symbolically derives and outputs the equation of motion in LaTeX. What hasn't been addressed yet: - solve for the motion for a slow rotation speed and a fast rotation speed - visualize the solution with plots and animations
|
Thanks for starting the project. I just submitted my own PR that builds off of your code. For my code, I decided to use the built in equation visualization so that I could see what I was working on. I'm not sure what the issue is with your notebook not saving properly. If you have a local copy of the notebook that you are trying to edit, I think you just have to do ctrl+s. |
Author
|
The visuals look great. Thank you for keeping the flow going! Still no luck saving the .jl file, I am running Pluto using a local web server via safari. I also just tried the CTRL + S method, but unfortunately it seemed to do nothing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the assistance of Dr. Cooper’s Copilot Julia Assistant, I defined the system parameters, kinetic and potential energy, and constructed the Lagrangian L=T−V. I then computed the required derivatives and assembled the Euler–Lagrange equation of motion. Finally, I implemented this procedure in Julia using Symbolics.jl and Latexify.jl, obtaining a working script that symbolically derives and outputs the equation of motion in LaTeX.
What hasn't been addressed yet:
*Having Trouble saving my work using pluto's "save notebook" feature as a .jl file as opposed to a .html on my macbook. Any tips are appreciated.
In the meantime my julia code is below:
begin
using Symbolics
using Latexify
end