Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_PROJECTILES_H_
23 #define ZEPHYR_INCLUDE_ZSL_PROJECTILES_H_
int zsl_phy_proj_angle(zsl_real_t vfh, zsl_real_t vfv, zsl_real_t *theta)
Calculates the angle in radians between the floor and the total velocity of an object under projectil...
int zsl_phy_proj_ver_vel(zsl_real_t viv, zsl_real_t t, zsl_real_t *vfv)
Calculates the vertical velocity in meters per second of an object under projectile motion based on t...
int zsl_phy_proj_vel(zsl_real_t vfh, zsl_real_t vfv, zsl_real_t *vf)
Calculates the module of the total velocity in meters per second of an object under projectile motion...
int zsl_phy_proj_time(zsl_real_t viv, zsl_real_t yi, zsl_real_t yf, zsl_real_t *t)
Calculates the total time of travel in seconds of an object under projectile motion from an initial h...
int zsl_phy_proj_trajectory(zsl_real_t vih, zsl_real_t viv, zsl_real_t xi, zsl_real_t yi, zsl_real_t xf, zsl_real_t *yf)
Calculates the vertical position in meters of an object under projectile motion at any given horizont...
int zsl_phy_proj_time_first(zsl_real_t viv, zsl_real_t yi, zsl_real_t yf, zsl_real_t *t)
Calculates the total time of travel in seconds of an object under projectile motion from an initial h...
int zsl_phy_proj_range(zsl_real_t vih, zsl_real_t viv, zsl_real_t xi, zsl_real_t yi, zsl_real_t *dist)
Calculates the horizontal distance in meters between the launching point of an object and the point w...
int zsl_phy_proj_time2(zsl_real_t viv, zsl_real_t vfv, zsl_real_t *t)
Calculates the total time of travel in seconds of an object under projectile motion based on the vert...
int zsl_phy_proj_hor_motion(zsl_real_t vih, zsl_real_t t, zsl_real_t xi, zsl_real_t *xf)
Calculates the horizontal position in meters of an object under projectile motion based on the horizo...
API header file for zscilib.
int zsl_phy_proj_ver_motion(zsl_real_t viv, zsl_real_t t, zsl_real_t yi, zsl_real_t *yf)
Calculates the height in meters of an object under projectile motion based on the initial vertical ve...
int zsl_phy_proj_init_vel(zsl_real_t vi, zsl_real_t theta, zsl_real_t *vih, zsl_real_t *viv)
Decomposes the initial velocity of an object under projectile motion into its horizontal and vertical...