Force.coul_k: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/force.bend as Force Lines 295-298 of bend-prot@0.1.0.0/force.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/force.bend&start_line=295&end_line=298 import Base # --- Coulomb forces: F_i = ke*qi*qj/d2^1.5 * (pi - pj), repulsive for # like charges along +d. Self pairs (d2 == 0) and pairs beyond c2 give zero. def coul_k(+qq: F32, +ke: F32, +d2: F32) -> F32: ((ke * qq : F32) / ((d2 * F32.sqrt(d2) : F32)) : F32) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sqrt