Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_ELEC_COMPS_H_
23 #define ZEPHYR_INCLUDE_ZSL_ELEC_COMPS_H_
int zsl_phy_ecmp_rlc_volt(zsl_real_t vr, zsl_real_t vl, zsl_real_t vc, zsl_real_t *v)
Calculates the total voltage of a RCL circuit based on the voltage in the resistance (vr),...
int zsl_phy_ecmp_rc_charg_q(zsl_real_t r, zsl_real_t c, zsl_real_t t, zsl_real_t q0, zsl_real_t *q)
Calculates the electric charge in coulombs of a capacitor in a RC circuit during its charging phase.
int zsl_phy_ecmp_capac_ad(zsl_real_t a, zsl_real_t d, zsl_real_t *c)
Calculates capacitance in farads based on the permitivity of freespace multiplied by area (a) and div...
int zsl_phy_ecmp_trans(uint8_t t1, zsl_real_t v1, uint8_t t2, zsl_real_t *v2)
Calculates the output voltage in volts in a two-coil based transformer given the number of turns on e...
int zsl_phy_ecmp_rc_discharg_i(zsl_real_t r, zsl_real_t c, zsl_real_t t, zsl_real_t i0, zsl_real_t *i)
Calculates the electric current of a capacitor in a RC circuit during its discharging phase.
int zsl_phy_ecmp_rl_current(zsl_real_t r, zsl_real_t l, zsl_real_t t, zsl_real_t i0, zsl_real_t *i)
Calculates the electric current in amperes of a RL circuit in time.
int zsl_phy_ecmp_rc_discharg_q(zsl_real_t r, zsl_real_t c, zsl_real_t t, zsl_real_t q0, zsl_real_t *q)
Calculates the electric charge in coulombs of a capacitor in a RC circuit during its discharging phas...
int zsl_phy_ecmp_ener_induc(zsl_real_t l, zsl_real_t i, zsl_real_t *u)
Calculates the energy in joules of an inductor of inductance 'l' and electric current 'i'.
int zsl_phy_ecmp_rc_charg_i(zsl_real_t r, zsl_real_t c, zsl_real_t t, zsl_real_t i0, zsl_real_t *i)
Calculates the electric current of a capacitor in a RC circuit during its charging phase.
int zsl_phy_ecmp_ener_capac(zsl_real_t c, zsl_real_t v, zsl_real_t *u)
Calculates the energy in joules of a capacitor of capacitance 'c' and voltage 'v'.
API header file for zscilib.
int zsl_phy_ecmp_capac_cpv(zsl_real_t q, zsl_real_t v, zsl_real_t *c)
Calculates capacitance in farads based on charge (q) and voltage (v).