Crates.io | phy_numerical |
lib.rs | phy_numerical |
version | 0.1.4 |
source | src |
created_at | 2019-10-15 12:01:20.587971 |
updated_at | 2020-02-07 12:14:00.708407 |
description | Some functions for solving Physics-Physics_Numericals related to first,second & third equation of motion |
homepage | https://github.com/SyedUzairAhmed03/Physics_Numericals |
repository | https://github.com/SyedUzairAhmed03/Physics_Numericals |
max_upload_size | |
id | 172670 |
size | 25,940 |
It is the 0.1.4 version of Phy-Numerical crate Here you can solve Phy-Numericals of
Add phy_numerical = "0.1.4" in cargo.toml file in [dependencies] like
[dependencies]
phy_numerical = "0.1.4"
use std::io;
extern crate phy_numerical;
fn main () {
//For First equation of motion
phy_numerical::First_equation_of_motion();
}
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.
use std::io;
extern crate phy_numerical;
fn main () {
//For Third equation of motion
phy_numerical::Third_equation_of_motion();
}
Constant 9.8m/s