Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_KINEMATICS_H_
23 #define ZEPHYR_INCLUDE_ZSL_KINEMATICS_H_
int zsl_phy_kin_init_pos(zsl_real_t vi, zsl_real_t t, zsl_real_t a, zsl_real_t xf, zsl_real_t *xi)
Calculates the initial position of a moving body based on the final position (xf),...
int zsl_phy_kin_vel2(zsl_real_t vi, zsl_real_t dist, zsl_real_t accel, zsl_real_t *vf)
Calculates the velocity in meters per second of an object under a constant acceleration (accel) based...
int zsl_phy_kin_dist(zsl_real_t vi, zsl_real_t time, zsl_real_t accel, zsl_real_t *dist)
Calculates the change in distance based on initial velocity, time and acceleration.
int zsl_phy_kin_init_pos2(zsl_real_t vi, zsl_real_t vf, zsl_real_t a, zsl_real_t xf, zsl_real_t *xi)
Calculates the initial position of a moving body based on the final position (xf),...
int zsl_phy_kin_init_vel2(zsl_real_t dist, zsl_real_t a, zsl_real_t t, zsl_real_t *vi)
Calculates the initial velocity in meters per second of an object under a constant acceleration (a) b...
int zsl_phy_kin_ener(zsl_real_t v, zsl_real_t m, zsl_real_t *ke)
Calculates the kinetic energy in joules of a moving body based on its velocity (v) and mass (m).
int zsl_phy_kin_vel(zsl_real_t vi, zsl_real_t time, zsl_real_t accel, zsl_real_t *vf)
Calculates the velocity in meters per second of an object under a constant acceleration (accel) based...
int zsl_phy_kin_init_vel(zsl_real_t vf, zsl_real_t a, zsl_real_t t, zsl_real_t *vi)
Calculates the initial velocity in meters per second of an object under a constant acceleration (a) b...
int zsl_phy_kin_accel(zsl_real_t vi, zsl_real_t vf, zsl_real_t time, zsl_real_t *accel)
Calculates the acceleration of a moving body in meters per second squared based on its initial (vi) a...
API header file for zscilib.
int zsl_phy_kin_time(zsl_real_t vi, zsl_real_t vf, zsl_real_t accel, zsl_real_t *time)
Calculates the time in seconds that it takes an object to change its velocity from vi to vf under a c...
int zsl_phy_kin_init_vel3(zsl_real_t vf, zsl_real_t a, zsl_real_t dist, zsl_real_t *vi)
Calculates the initial velocity in meters per second of an object under a constant acceleration (a) b...
int zsl_phy_kin_av_vel(zsl_real_t dist, zsl_real_t time, zsl_real_t *vel)
Calculates the average velocity in meters per second of a moving object based on the time and distanc...