Skip to content
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

Function to return Total Energy in physics/mechanics #16201

Closed
ritesh99rakesh opened this issue Mar 8, 2019 · 3 comments
Closed

Function to return Total Energy in physics/mechanics #16201

ritesh99rakesh opened this issue Mar 8, 2019 · 3 comments

Comments

@ritesh99rakesh
Copy link
Member

At present, there is are functions to calculate kinetic energy and potential energy of a rigid body in sympy/physics/mechanics/rigidbody.py but no function to return the total energy of the rigid body. I propose the following PR. Please let me know your views about it.

@sidhu1012
Copy link
Contributor

Is this issue up? I would like to work on this issue.

@sidhu1012
Copy link
Contributor

What is the difference between potential energy @Property function and potentiat energy setter function?

@oscarbenjamin
Copy link
Contributor

It is decided that we don't need a function to return total energy. It is easy for a user to compute the total energy using the existing API by adding the potential and kinetic energy themselves.

#18838 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants