Skip to content

Energy calculating member functions #7

@reubenjohn

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions