phy_numerical

Crates.iophy_numerical
lib.rsphy_numerical
version0.1.4
sourcesrc
created_at2019-10-15 12:01:20.587971
updated_at2020-02-07 12:14:00.708407
descriptionSome functions for solving Physics-Physics_Numericals related to first,second & third equation of motion
homepagehttps://github.com/SyedUzairAhmed03/Physics_Numericals
repositoryhttps://github.com/SyedUzairAhmed03/Physics_Numericals
max_upload_size
id172670
size25,940
(SyedUzairAhmed03)

documentation

README

Phy-Numerical

It is the 0.1.4 version of Phy-Numerical crate Here you can solve Phy-Numericals of

  • First Equation of Motion
  • Second Equation of Motion
  • Third Equation of Motion

Add phy_numerical = "0.1.4" in cargo.toml file in [dependencies] like

[dependencies]
phy_numerical = "0.1.4"
  • For solving the Numerical releated to First Equation of motion You just write phy_numerical::First_equation_of_motion(); in Main.rs File like this
use std::io;

extern  crate phy_numerical;

fn main () {

//For First equation of motion

phy_numerical::First_equation_of_motion();

}
  • For Second Equation of motion. You write phy_numerical::Second_equation_of_motion(); in Main.rs File like this
use std::io;

extern  crate phy_numerical;

fn main () {

//For Second equation of motion

phy_numerical::Second_equation_of_motion();

}

Note : You cannot find time in second Equation of Motion Because it is impossible to separate t on the right side of equation.

  • For Third Equation of motion. You write phy_numerical::Third_equation_of_motion(); in Main.rs File like this
use std::io;

extern  crate phy_numerical;

fn main () {

//For Third equation of motion

phy_numerical::Third_equation_of_motion();

}

Variables and their meanings

  • s = Distance.
  • h = Height.
  • g = Acceleration due to gravity

    Constant 9.8m/s

  • a = Acceleration.
  • v = Velocity.
  • vi = Initial Velocity.
  • vf = Final Velocity.
  • m/s = Meter per second
  • km/h = Kilometer per hour
Commit count: 28

cargo fmt