FormulaData

FormulaData[name]
gives the equations for the formula name.

FormulaData[name,{var1quantity1,var2quantity2,}]
inserts the specified values for the variables into the equations for the formula.

FormulaData[name,"property"]
gives the value of the specified property for the formula name.

DetailsDetails

  • FormulaData returns algebraic equations for formulas using standard names such as or .
  • The variables returned by FormulaData are expressed with the QuantityVariable wrapper.
  • When specifying a list of values to insert into an equation, an input variable value can be specified with ; var can be a string or QuantityVariable, and value can be a number, symbol, or Quantity.
  • If the number of unknowns equals the number of equations, FormulaData will attempt to solve for the remaining variables.
  • FormulaData[] returns a list of all available formulas.
  • FormulaData["Properties"] returns all available properties for formulas.
  • Properties include:
  • "Formula"equations for the formula
    "QuantityVariableDimensions"list of base dimensions for all variables
    "QuantityVariableNames"English names for all variables
    "QuantityVariablePhysicalQuantities"physical quantities for all variables
    "QuantityVariables"list of all variables in the formula
    "QuantityVariableTable"details on all variables for the formula

ExamplesExamplesopen allclose all

Basic Examples  (7)Basic Examples  (7)

Find the equation for a formula:

In[1]:=
Click for copyable input
Out[1]=

Include values to solve for formula variables:

In[1]:=
Click for copyable input
Out[1]=

Formula names can be found with FormulaLookup:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Formula values can be inserted using free-form input (Ctrl+):

In[1]:=
Click for copyable input

Some formulas have multiple equations:

In[1]:=
Click for copyable input
Out[1]=

Formulas with multiple equations will be solved for all variables if possible:

In[1]:=
Click for copyable input
Out[1]=

Some formula standard names are specified as lists, such as the different forms of Planck's radiation law:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)