Zephyr Scientific Library (zscilib)
work.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020 Kevin Townsend (KTOWN)
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
22 #ifndef ZEPHYR_INCLUDE_ZSL_WORK_H_
23 #define ZEPHYR_INCLUDE_ZSL_WORK_H_
24 
25 #include <zsl/zsl.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
43 
57 
71 
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif /* ZEPHYR_INCLUDE_ZSL_WORK_H_ */
89  /* End of work group */
zsl_phy_work_y
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).
zsl_phy_work_x
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).
zsl.h
API header file for zscilib.
zsl_phy_work_kin
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'.
zsl_real_t
double zsl_real_t
Definition: zsl.h:51
zsl_phy_work_module
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).