Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_WORK_H_
23 #define ZEPHYR_INCLUDE_ZSL_WORK_H_
int zsl_phy_work_y(zsl_real_t f, zsl_real_t d, zsl_real_t theta, zsl_real_t *w)
Calculates the vertical component of the work done by a force (f) along a distance (d).
int zsl_phy_work_x(zsl_real_t f, zsl_real_t d, zsl_real_t theta, zsl_real_t *w)
Calculates the horizontal component of the work done by a force (f) along a distance (d).
API header file for zscilib.
int zsl_phy_work_kin(zsl_real_t k1, zsl_real_t k2, zsl_real_t *w)
Calculates the work required to change the kinetic energy of an object from 'k1' to 'k2'.
int zsl_phy_work_module(zsl_real_t f, zsl_real_t d, zsl_real_t *w)
Calculates the module of the work done by a force (f) along a distance (d).