A pure zero-dependency rust physics and maths library that deals with mathematical conversions, and physics calculations using accurate, verified formulas - with zero estimations to ensure accuracy
usefphics::physics::suvat::*;usefphics::errors::FphicsError;fnmain()->Result<(), FphicsError>{let times =SuvatOps1D::new().displacement(-2.5).initial_velocity(24.0).final_velocity(25.0).acceleration(-9.8).calculate_time()?;for t in times {println!("{t} seconds");}Ok(())}