arab-physics-engine
v1.0.9
Published
A Package to calculate the most known Physics
Downloads
5
Readme
Welcome To This Physics Engine
** Arab Physics Engine is a NPM Package That helps you calculate The Most Known And Advanced Physics **
Methods
1- .weighttoGravity(mass , gravity , unitM) This method calculates Weight To Gravity and returns and object containing every information possible Parameter | Specification | Description ------------ | ------------- | ------------- mass | NUMBER OF CHOICE | The Mass Of the thing (in -unitM-) gravity | NUMBER OF CHOICE | Gravity In the place of experiement (N/KG) unitM | KG / GRAM / POUNDS | Choose the mass unit Example
var engine = require('Arab Physics Engine')
var result = engine.weighttoGravity(20 , 10 , 'KG')
console.log(result)
2- .liquidArchimedesPrinciple(oWeight , vWeight) This method calculates Liquid Archimedes Principle and returns and object containing every information possible Parameter | Specification | Description ------------ | ------------- | ------------- oWeight | NUMBER OF CHOICE | The Original Weight of the thing (N) vWeight | NUMBER OF CHOICE | The Weight of the thing in the liquid(N) Example
var engine = require('Arab Physics Engine')
var result = engine.liquidArchimedesPrinciple(20 , 15)
console.log(result)
3- .liquidArchimedesPrinciple2(lMass , gravity , lMassUnit) This method calculates Liquid Archimedes Principle in the 2nd way and returns and object containing every information possible Parameter | Specification | Description ------------ | ------------- | ------------- lMass | NUMBER OF CHOICE | The Liquid Mass (-lMassUnit-) gravity | NUMBER OF CHOICE | Gravity In the place of experiement (N / KG) lMassUnit | KG / GRAM / POUNDS | Choose the liquid mass unit Example
var engine = require('Arab Physics Engine')
var result = engine.liquidArchimedesPrinciple2(20 , 15 , 'POUNDS')
console.log(result)
4- .liquidArchimedesPrinciple3(lvolumetricMass , lVolume , gravity , lvolumetricMassUnit , lVolumeUnit) This method calculates Liquid Archimedes Principle in the 3rd and final way (for now) and returns and object containing every information possible Parameter | Specification | Description ------------ | ------------- | ------------- lvolumetricMass | NUMBER OF CHOICE | The Liquid Volumetric Mass (-lvolumetricMassUnit-) lVolume | NUMBER OF CHOICE | Liquid Volume (-lVolumeUnit-) gravity | NUMBER OF CHOICE | Gravity In the place of experiement (N / KG) lvolumetricMassUnit | g/cm3 / kg/m3 | Choose The Liquid Volumetric Mass unit lVolumeUnit | cm3 / m3 | Choose The Liquid Volume unit Example
var engine = require('Arab Physics Engine')
var result = engine.liquidArchimedesPrinciple2(20 , 15 , 'POUNDS')
console.log(result)
Notes
** => Arabic Description Will be added soon. => Callback Functions will be added soon to the package when i have enough time , for now you need to pass the methodes as variables and console.log() them or do something with the returned object. => Feel free to Contact Me on discord if you have any questions or reports to make [Jake. 夢#5635]. **