Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_MAGNETICS_H_
23 #define ZEPHYR_INCLUDE_ZSL_MAGNETICS_H_
int zsl_phy_magn_torque_loop(zsl_real_t i, zsl_real_t a, zsl_real_t b, zsl_real_t theta, zsl_real_t *tor)
Calculates the torque in newtons and meters that experiences a wire loop with intensity 'i' and area ...
int zsl_phy_magn_force_wire(zsl_real_t i, zsl_real_t l, zsl_real_t b, zsl_real_t theta, zsl_real_t *f)
Calculates the module of the magnetic force in newtons that experiences an electric wire.
int zsl_phy_magn_flux(zsl_real_t a, zsl_real_t b, zsl_real_t theta, zsl_real_t *fl)
Calculates the magnetic flux in webers that flows across a surface based on the area (a),...
int zsl_phy_magn_pot_dipole(zsl_real_t mom, zsl_real_t b, zsl_real_t theta, zsl_real_t *u)
Calculates the potential energy in joules of a magnetic dipole with magnetic momentum 'mom' under a m...
API header file for zscilib.
int zsl_phy_magn_orb_radius(zsl_real_t q, zsl_real_t v, zsl_real_t b, zsl_real_t m, zsl_real_t *r)
Calculates the radius of the circular trajectory a charged object descrives when entering a magnetic ...
int zsl_phy_magn_mom(zsl_real_t i, zsl_real_t a, zsl_real_t *mom)
Calculates the magnetic momentum of a wire loop in amperes and meters squared based on its intensity ...
int zsl_phy_magn_force(zsl_real_t q, zsl_real_t v, zsl_real_t b, zsl_real_t theta, zsl_real_t *f)
Calculates the module of the magnetic force in newtons that experiences a charged body moving in a ma...