conc: concentration

Description Usage Arguments Value Author(s) Examples

Description

Calculates one of either volume, moles or molar concentration of a solution.

Usage

1
conc(volume = NULL, moles = NULL, molarity = NULL)

Arguments

volume

Desired volume of solution in Litres, if set to NULL function will return the volume of solution needed to meet the other parameters

moles

Desired moles in solution, if set to NULL function will return the moles needed to meet the other parameters

molarity

Desired molar concentration of solution in moles per Litre, if set to NULL function will return the molar concentration of solution needed to meet the other parameters

Value

returns a numeric value coresponding to the missing parameter, one of either moles, volume or molarity

Author(s)

Julian Spagnuolo

Examples

1
2
3
4
5
6
7
8
### Returns required volume:
conc(moles=1, molarity=0.5)

### Returns required moles:
conc(volume=0.5, molarity=1)

### Returns molar concentration:
conc(volume=2, moles=0.5)

JulianSpagnuolo/Bioscikit documentation built on May 28, 2019, 8:22 a.m.