libnumerixpp
0.1.1
A Powerful C++ Library for High-Performance Numerical Computing
|
Namespace of kinematics (physics) More...
Functions | |
double | calculatePath (double speed, double time) |
Calculates the path. More... | |
double | calculateSpeed (double path, double time) |
Calculates the speed. More... | |
double | calculateTime (double path, double speed) |
Calculates the time. More... | |
double | calculateFinalVelocity (double initial_velocity, double acceleration, double time) |
Calculates the final velocity. More... | |
double | calculateFinalPosition (double initial_position, double initial_velocity, double acceleration, double time) |
Calculates the final position. More... | |
Namespace of kinematics (physics)
double physics::kinematics::calculateFinalPosition | ( | double | initial_position, |
double | initial_velocity, | ||
double | acceleration, | ||
double | time | ||
) |
Calculates the final position.
This function is based on the kinematics equation: s = u*t + 0.5 * a * t^2 where:
[in] | initial_position | The initial position |
[in] | initial_velocity | The initial velocity |
[in] | acceleration | The acceleration |
[in] | time | The time |
double physics::kinematics::calculateFinalVelocity | ( | double | initial_velocity, |
double | acceleration, | ||
double | time | ||
) |
Calculates the final velocity.
This function is based on the basic kinematics equation: v = u + at where:
[in] | initial_velocity | The initial velocity |
[in] | acceleration | The acceleration |
[in] | time | The time |
double physics::kinematics::calculatePath | ( | double | speed, |
double | time | ||
) |
Calculates the path.
This function is based on basic formule: S = v * t where:
[in] | speed | The speed |
[in] | time | The time |
double physics::kinematics::calculateSpeed | ( | double | path, |
double | time | ||
) |
Calculates the speed.
This function is based on basic formule: S = v * t where:
[in] | path | The path |
[in] | time | The time |
double physics::kinematics::calculateTime | ( | double | path, |
double | speed | ||
) |
Calculates the time.
This function is based on basic formule: S = v * t where:
[in] | path | The path |
[in] | speed | The speed |