gives the equations for the formula name.

solves or simplifies equations using the specified values quantityi for the variables vari.

gives the value of the specified property for the formula name.

# Details  • FormulaData returns algebraic equations for formulas using standard names such as "OhmsLaw" or "LawOfSines".
• The variables returned by FormulaData are expressed with the QuantityVariable wrapper.
• Specified values for vari can be entered as a List or Association.
• When specifying a list of values to insert into an equation, an input variable value can be specified with var->value; var can be a string or QuantityVariable, and value can be a number, symbol, or Quantity.
• If the number of unspecified variables equals the number of equations, FormulaData will attempt to solve for the remaining variables for a real-valued solution. Otherwise it will replace all specified variables with the supplied values.
• 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
• "Association" can be specified as a second or third argument to alter output to Association. FormulaData[name, "Association"] returns the equation or equations as an Association with the left-hand side of the equations as keys. FormulaData[name,{var1quantity1,var2quantity2,},"Association"] returns the solution to the formula or simplified equations as an Association. FormulaData[name,"property","Association"] returns an Association instead of a List.

# Examples

open all close all

## Basic Examples(7)

Find the equation for a formula:

 In:= Out= Include values to solve for formula variables:

 In:= Out= Formula names can be found with FormulaLookup:

 In:= Out= In:= Out= Formula values can be inserted using free-form input ( ):

 In:= Out= Some formulas have multiple equations:

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

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

 In:= Out= In:= Out= ## Neat Examples(2)

Introduced in 2014
(10.0)
|
Updated in 2019
(12.0)