Skip to content

Energy calculating member functions #7

Description

@reubenjohn

Add kinetic_energy(), gravitational_potential_energy(), electrostatic_potential_energy(), total_ potential_energy() and total_energy()... member functions for all object classes that returns the calculated energy as a long double number representing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions