# Hooke's law

**Hooke's law** is a law of physics that states that the force (F) needed to extend or compress a spring by some distance x scales linearly with respect to that distance. That is: , where k is a constant factor characteristic of the spring: its stiffness, and x is small compared to the total possible deformation of the spring. The law is named after 17th-century British physicist Robert Hooke. He first stated the law in 1676 as a Latin anagram.^{[1]}^{[2]} He published the solution of his anagram in 1678^{[3]} as: *ut tensio, sic vis* ("as the extension, so the force" or "the extension is proportional to the force"). Hooke states in the 1678 work that he was aware of the law already in 1660.

Hooke's equation holds (to some extent) in many other situations where an elastic body is deformed, such as wind blowing on a tall building, and a musician plucking a string of a guitar. An elastic body or material for which this equation can be assumed is said to be linear-elastic or **Hookean**.

Hooke's law is only a first-order linear approximation to the real response of springs and other elastic bodies to applied forces. It must eventually fail once the forces exceed some limit, since no material can be compressed beyond a certain minimum size, or stretched beyond a maximum size, without some permanent deformation or change of state. Many materials will noticeably deviate from Hooke's law well before those elastic limits are reached.

On the other hand, Hooke's law is an accurate approximation for most solid bodies, as long as the forces and deformations are small enough. For this reason, Hooke's law is extensively used in all branches of science and engineering, and is the foundation of many disciplines such as seismology, molecular mechanics and acoustics. It is also the fundamental principle behind the spring scale, the manometer, and the balance wheel of the mechanical clock.

The modern theory of elasticity generalizes Hooke's law to say that the strain (deformation) of an elastic object or material is proportional to the stress applied to it. However, since general stresses and strains may have multiple independent components, the "proportionality factor" may no longer be just a single real number, but rather a linear map (a tensor) that can be represented by a matrix of real numbers.

In this general form, Hooke's law makes it possible to deduce the relation between strain and stress for complex objects in terms of intrinsic properties of the materials it is made of. For example, one can deduce that a homogeneous rod with uniform cross section will behave like a simple spring when stretched, with a stiffness k directly proportional to its cross-section area and inversely proportional to its length.

## Contents

## Formal definitionEdit

### For linear springsEdit

Consider a simple helical spring that has one end attached to some fixed object, while the free end is being pulled by a force whose magnitude is . Suppose that the spring has reached a state of equilibrium, where its length is not changing anymore. Let x be the amount by which the free end of the spring was displaced from its "relaxed" position (when it is not being stretched). Hooke's law states that

or, equivalently,

where k is a positive real number, characteristic of the spring. Moreover, the same formula holds when the spring is compressed, with and x both negative in that case. According to this formula, the graph of the applied force as a function of the displacement x will be a straight line passing through the origin, whose slope is k.

Hooke's law for a spring is often stated under the convention that is the restoring force exerted by the spring on whatever is pulling its free end. In that case, the equation becomes

since the direction of the restoring force is opposite to that of the displacement.

### General "scalar" springsEdit

Hooke's spring law usually applies to any elastic object, of arbitrary complexity, as long as both the deformation and the stress can be expressed by a single number that can be both positive and negative.

For example, when a block of rubber attached to two parallel plates is deformed by shearing, rather than stretching or compression, the shearing force and the sideways displacement of the plates x obey Hooke's law (for small enough deformations).

Hooke's law also applies when a straight steel bar or concrete beam, supported at both ends, is bent by a weight F placed at some intermediate point. The displacement x in this case is the deviation of the beam, measured in the transversal direction, relative to its unloaded shape.

The law also applies when a stretched steel wire is twisted by pulling on a lever attached to one end. In this case the stress can be taken as the force applied to the lever, and x as the distance traveled by it along its circular path. Or, equivalently, one can let be the torque applied by the lever to the end of the wire, and x be the angle by which that end turns. In either case is proportional to x (although the constant k is different in each case.)

### Vector formulationEdit

In the case of a helical spring that is stretched or compressed along its axis, the applied (or restoring) force and the resulting elongation or compression have the same direction (which is the direction of said axis). Therefore, if and x are defined as vectors, Hooke's equation still holds and says that the force vector is the elongation vector multiplied by a fixed scalar.

### General tensor formEdit

Some elastic bodies will deform in one direction when subjected to a force with a different direction. One example is a horizontal wood beam with non-square rectangular cross section that is bent by a transverse load that is neither vertical nor horizontal. In such cases, the *magnitude* of the displacement x will be proportional to the magnitude of the force , as long as the direction of the latter remains the same (and its value is not too large); so the scalar version of Hooke's law will hold. However, the force and displacement *vectors* will not be scalar multiples of each other, since they have different directions. Moreover, the ratio k between their magnitudes will depend on the direction of the vector .

Yet, in such cases there is often a fixed linear relation between the force and deformation vectors, as long as they are small enough. Namely, there is a function **κ** from vectors to vectors, such that **F** = **κ**(**X**), and **κ**(*α***X**_{1} + *β***X**_{2}) = *α***κ**(**X**_{1}) + *β***κ**(**X**_{2}) for any real numbers α, β and any displacement vectors **X**_{1}, **X**_{2}. Such a function is called a (second-order) tensor.

With respect to an arbitrary Cartesian coordinate system, the force and displacement vectors can be represented by 3 × 1 matrices of real numbers. Then the tensor **κ** connecting them can be represented by a 3 × 3 matrix **κ** of real coefficients, that, when multiplied by the displacement vector, gives the force vector:

That is,

for *i* = 1, 2, 3. Therefore, Hooke's law **F** = **κX** can be said to hold also when **X** and **F** are vectors with variable directions, except that the stiffness of the object is a tensor **κ**, rather than a single real number k.

### Hooke's law for continuous mediaEdit

The stresses and strains of the material inside a continuous elastic material (such as a block of rubber, the wall of a boiler, or a steel bar) are connected by a linear relationship that is mathematically similar to Hooke's spring law, and is often referred to by that name.

However, the strain state in a solid medium around some point cannot be described by a single vector. The same parcel of material, no matter how small, can be compressed, stretched, and sheared at the same time, along different directions. Likewise, the stresses in that parcel can be at once pushing, pulling, and shearing.

In order to capture this complexity, the relevant state of the medium around a point must be represented by two-second-order tensors, the strain tensor **ε** (in lieu of the displacement **X**) and the stress tensor **σ** (replacing the restoring force **F**). The analogue of Hooke's spring law for continuous media is then

where **c** is a fourth-order tensor (that is, a linear map between second-order tensors) usually called the stiffness tensor or elasticity tensor. One may also write it as

where the tensor **s**, called the compliance tensor, represents the inverse of said linear map.

In a Cartesian coordinate system, the stress and strain tensors can be represented by 3 × 3 matrices

Being a linear mapping between the nine numbers *σ _{ij}* and the nine numbers

*ε*, the stiffness tensor

_{kl}**c**is represented by a matrix of 3 × 3 × 3 × 3 = 81 real numbers

*c*. Hooke's law then says that

_{ijkl}where *i*,*j* = 1,2,3.

All three tensors generally vary from point to point inside the medium, and may vary with time as well. The strain tensor **ε** merely specifies the displacement of the medium particles in the neighborhood of the point, while the stress tensor **σ** specifies the forces that neighboring parcels of the medium are exerting on each other. Therefore, they are independent of the composition and physical state of the material. The stiffness tensor **c**, on the other hand, is a property of the material, and often depends on physical state variables such as temperature, pressure, and microstructure.

Due to the inherent symmetries of **σ**, **ε**, and **c**, only 21 elastic coefficients of the latter are independent.^{[5]} For isotropic media (which have the same physical properties in any direction), **c** can be reduced to only two independent numbers, the bulk modulus K and the shear modulus G, that quantify the material's resistance to changes in volume and to shearing deformations, respectively.

## Analogous lawsEdit

Since Hooke's law is a simple proportionality between two quantities, its formulas and consequences are mathematically similar to those of many other physical laws, such as those describing the motion of fluids, or the polarization of a dielectric by an electric field.

In particular, the tensor equation **σ** = **cε** relating elastic stresses to strains is entirely similar to the equation **τ** = **με̇** relating the viscous stress tensor **τ** and the strain rate tensor **ε̇** in flows of viscous fluids; although the former pertains to static stresses (related to *amount* of deformation) while the latter pertains to dynamical stresses (related to the *rate* of deformation).

## Units of measurementEdit

In SI units, displacements are measured in meters (m), and forces in newtons (N or kg·m/s^{2}). Therefore, the spring constant k, and each element of the tensor **κ**, is measured in newtons per meter (N/m), or kilograms per second squared (kg/s^{2}).

For continuous media, each element of the stress tensor **σ** is a force divided by an area; it is therefore measured in units of pressure, namely pascals (Pa, or N/m^{2}, or kg/(m·s^{2}). The elements of the strain tensor **ε** are dimensionless (displacements divided by distances). Therefore, the entries of c_{ijkl} are also expressed in units of pressure.

## General application to elastic materialsEdit

Objects that quickly regain their original shape after being deformed by a force, with the molecules or atoms of their material returning to the initial state of stable equilibrium, often obey Hooke's law.

Hooke's law only holds for some materials under certain loading conditions. Steel exhibits linear-elastic behavior in most engineering applications; Hooke's law is valid for it throughout its **elastic range** (i.e., for stresses below the yield strength). For some other materials, such as aluminium, Hooke's law is only valid for a portion of the elastic range. For these materials a proportional limit stress is defined, below which the errors associated with the linear approximation are negligible.

Rubber is generally regarded as a "non-Hookean" material because its elasticity is stress dependent and sensitive to temperature and loading rate.

Generalizations of Hooke's law for the case of large deformations is provided by models of neo-Hookean solids and Mooney–Rivlin solids.

## Derived formulaeEdit

### Tensional stress of a uniform barEdit

A rod of any elastic material may be viewed as a linear spring. The rod has length L and cross-sectional area A. Its tensile stress σ is linearly proportional to its fractional extension or strain ε by the modulus of elasticity E:

- .

The modulus of elasticity may often be considered constant. In turn,

(that is, the fractional change in length), and since

it follows that:

The change in length may be expressed as

### Spring energyEdit

The potential energy *U*_{el}(*x*) stored in a spring is given by

which comes from adding up the energy it takes to incrementally compress the spring. That is, the integral of force over displacement. Since the external force has the same general direction as the displacement, the potential energy of a spring is always non-negative.

This potential *U*_{el} can be visualized as a parabola on the Ux-plane such that *U*_{el}(*x*) = 1/2*kx*^{2}. As the spring is stretched in the positive x-direction, the potential energy increases parabolically (the same thing happens as the spring is compressed). Since the change in potential energy changes at a constant rate:

Note that the change in the change in U is constant even when the displacement and acceleration are zero.

### Relaxed force constants (generalized compliance constants)Edit

Relaxed force constants (the inverse of generalized compliance constants) are uniquely defined for molecular systems, in contradistinction to the usual "rigid" force constants, and thus their use allows meaningful correlations to be made between force fields calculated for reactants, transition states, and products of a chemical reaction. Just as the potential energy can be written as a quadratic form in the internal coordinates, so it can also be written in terms of generalized forces. The resulting coefficients are termed compliance constants. A direct method exists for calculating the compliance constant for any internal coordinate of a molecule, without the need to do the normal mode analysis.^{[6]} The suitability of relaxed force constants (inverse compliance constants) as covalent bond strength descriptors was demonstrated as early as 1980. Recently, the suitability as non-covalent bond strength descriptors was demonstrated too.^{[7]}

### Harmonic oscillatorEdit

A mass m attached to the end of a spring is a classic example of a harmonic oscillator. By pulling slightly on the mass and then releasing it, the system will be set in sinusoidal oscillating motion about the equilibrium position. To the extent that the spring obeys Hooke's law, and that one can neglect friction and the mass of the spring, the amplitude of the oscillation will remain constant; and its frequency f will be independent of its amplitude, determined only by the mass and the stiffness of the spring:

This phenomenon made possible the construction of accurate mechanical clocks and watches that could be carried on ships and people's pockets.

### Rotation in gravity-free spaceEdit

If the mass m were attached to a spring with force constant k and rotating in free space, the spring tension (*F*_{t}) would supply the required centripetal force (*F*_{c}):

Since *F*_{t} = *F*_{c} and *x* = *r*, then:

Given that *ω* = 2π*f*, this leads to the same frequency equation as above:

## Linear elasticity theory for continuous mediaEdit

*Note: the Einstein summation convention of summing on repeated indices is used below.*

### Isotropic materialsEdit

Isotropic materials are characterized by properties which are independent of direction in space. Physical equations involving isotropic materials must therefore be independent of the coordinate system chosen to represent them. The strain tensor is a symmetric tensor. Since the trace of any tensor is independent of any coordinate system, the most complete coordinate-free decomposition of a symmetric tensor is to represent it as the sum of a constant tensor and a traceless symmetric tensor.^{[8]}^{:Ch. 10} Thus in index notation:

where δ_{ij} is the Kronecker delta. In direct tensor notation:

where **I** is the second-order identity tensor.

The first term on the right is the constant tensor, also known as the **volumetric strain tensor**, and the second term is the traceless symmetric tensor, also known as the **deviatoric strain tensor** or shear tensor.

The most general form of Hooke's law for isotropic materials may now be written as a linear combination of these two tensors:

where K is the bulk modulus and G is the shear modulus.

Using the relationships between the elastic moduli, these equations may also be expressed in various other ways. A common form of Hooke's law for isotropic materials, expressed in direct tensor notation, is
^{[9]}

where *λ* = *K* − 2/3*G* = *c*_{1111} − 2*c*_{1212} and *μ* = *G* = *c*_{1212} are the Lamé constants, **I** is the second-rank identity tensor, and **I** is the symmetric part of the fourth-rank identity tensor. In index notation:

The inverse relationship is^{[10]}

Therefore, the compliance tensor in the relation **ε** = **s** : **σ** is

In terms of Young's modulus and Poisson's ratio, Hooke's law for isotropic materials can then be expressed as

This is the form in which the strain is expressed in terms of the stress tensor in engineering. The expression in expanded form is

where E is Young's modulus and ν is Poisson's ratio. (See 3-D elasticity).

Derivation of Hooke's law in three dimensions The three-dimensional form of Hooke's law can be derived using Poisson's ratio and the one-dimensional form of Hooke's law as follows. Consider the strain and stress relation as a superposition of two effects: stretching in direction of the load (1) and shrinking (caused by the load) in perpendicular directions (2 and 3),

where ν is Poisson's ratio and E is Young's modulus.

We get similar equations to the loads in directions 2 and 3,

and

Summing the three cases together (

*ε*=_{i}*ε*′ +_{i}*ε*″ +_{i}*ε*‴) we get_{i}or by adding and subtracting one νσ

and further we get by solving

*σ*_{1}Calculating the sum

and substituting it to the equation solved for

*σ*_{1}giveswhere μ and λ are the Lamé parameters.

Similar treatment of directions 2 and 3 gives the Hooke's law in three dimensions.

In matrix form, Hooke's law for isotropic materials can be written as

where *γ _{ij}* = 2

*ε*is the

_{ij}**engineering shear strain**. The inverse relation may be written as

which can be simplified thanks to the Lamé constants :

In vector notation this becomes

where **I** is the identity tensor.

#### Plane stressEdit

Under plane stress conditions, *σ*_{31} = *σ*_{13} = *σ*_{32} = *σ*_{23} = *σ*_{33} = 0. In that case Hooke's law takes the form

The inverse relation is usually written in the reduced form

In vector notation this becomes

### Anisotropic materialsEdit

The symmetry of the Cauchy stress tensor (*σ _{ij}* =

*σ*and the generalized Hooke's laws (

_{ji}*σ*=

_{ij}*c*) implies that

_{ijkl}ε_{kl}*c*=

_{ijkl}*c*. Similarly, the symmetry of the infinitesimal strain tensor implies that

_{jikl}*c*=

_{ijkl}*c*. These symmetries are called the

_{ijlk}**minor symmetries**of the stiffness tensor

**c**. This reduces the number of elastic constants from 81 to 36.

If in addition, since the displacement gradient and the Cauchy stress are work conjugate, the stress–strain relation can be derived from a strain energy density functional (U), then

The arbitrariness of the order of differentiation implies that *c _{ijkl}* =

*c*. These are called the

_{klij}**major symmetries**of the stiffness tensor. This reduces the number of elastic constants from 36 to 21. The major and minor symmetries indicate that the stiffness tensor has only 21 independent components.

#### Matrix representation (stiffness tensor)Edit

It is often useful to express the anisotropic form of Hooke's law in matrix notation, also called Voigt notation. To do this we take advantage of the symmetry of the stress and strain tensors and express them as six-dimensional vectors in an orthonormal coordinate system (**e**_{1},**e**_{2},**e**_{3}) as

Then the stiffness tensor (**c**) can be expressed as

and Hooke's law is written as

Similarly the compliance tensor (**s**) can be written as

#### Change of coordinate systemEdit

If a linear elastic material is rotated from a reference configuration to another, then the material is symmetric with respect to the rotation if the components of the stiffness tensor in the rotated configuration are related to the components in the reference configuration by the relation^{[11]}

where l_{ab} are the components of an orthogonal rotation matrix [*L*]. The same relation also holds for inversions.

In matrix notation, if the transformed basis (rotated or inverted) is related to the reference basis by

then

In addition, if the material is symmetric with respect to the transformation [*L*] then

#### Orthotropic materialsEdit

Orthotropic materials have three orthogonal planes of symmetry. If the basis vectors (**e**_{1},**e**_{2},**e**_{3}) are normals to the planes of symmetry then the coordinate transformation relations imply that

The inverse of this relation is commonly written as^{[12]}^{[page needed]}

where

- E
_{i}is the Young's modulus along axis i - G
_{ij}is the shear modulus in direction j on the plane whose normal is in direction i - ν
_{ij}is the Poisson's ratio that corresponds to a contraction in direction j when an extension is applied in direction i.

Under *plane stress* conditions, *σ _{zz}* =

*σ*=

_{zx}*σ*= 0, Hooke's law for an orthotropic material takes the form

_{yz}The inverse relation is

The transposed form of the above stiffness matrix is also often used.

#### Transversely isotropic materialsEdit

A transversely isotropic material is symmetric with respect to a rotation about an axis of symmetry. For such a material, if **e**_{3} is the axis of symmetry, Hooke's law can be expressed as

More frequently, the *x* ≡ **e**_{1} axis is taken to be the axis of symmetry and the inverse Hooke's law is written as
^{[13]}

#### Universal Elastic Anisotropy IndexEdit

To grasp the degree of anisotropy of any class, a **Universal Elastic Anisotropy Index** (AU) ^{[14]} was formulated. It replaces the Zener ratio, which is suited for cubic crystals.

## Thermodynamic basisEdit

Linear deformations of elastic materials can be approximated as adiabatic. Under these conditions and for quasistatic processes the first law of thermodynamics for a deformed body can be expressed as

where δU is the increase in internal energy and δW is the work done by external forces. The work can be split into two terms

where *δW*_{s} is the work done by surface forces while *δW*_{b} is the work done by body forces. If *δ***u** is a variation of the displacement field **u** in the body, then the two external work terms can be expressed as

where **t** is the surface traction vector, **b** is the body force vector, Ω represents the body and ∂*Ω* represents its surface. Using the relation between the Cauchy stress and the surface traction, **t** = **n** · **σ** (where **n** is the unit outward normal to ∂*Ω*), we have

Converting the surface integral into a volume integral via the divergence theorem gives

Using the symmetry of the Cauchy stress and the identity

we have the following

From the definition of strain and from the equations of equilibrium we have

Hence we can write

and therefore the variation in the internal energy density is given by

An elastic material is defined as one in which the total internal energy is equal to the potential energy of the internal forces (also called the **elastic strain energy**). Therefore, the internal energy density is a function of the strains, *U*_{0} = *U*_{0}(**ε**) and the variation of the internal energy can be expressed as

Since the variation of strain is arbitrary, the stress–strain relation of an elastic material is given by

For a linear elastic material, the quantity ∂*U*_{0}/∂**ε** is a linear function of **ε**, and can therefore be expressed as

where **c** is a fourth-rank tensor of material constants, also called the **stiffness tensor**. We can see why **c** must be a fourth-rank tensor by noting that, for a linear elastic material,

In index notation

The right-hand side constant requires four indices and is a fourth-rank quantity. We can also see that this quantity must be a tensor because it is a linear transformation that takes the strain tensor to the stress tensor. We can also show that the constant obeys the tensor transformation rules for fourth-rank tensors.

## See alsoEdit

## NotesEdit

**^**The anagram was given in alphabetical order,*ceiiinosssttuu*, representing*Ut tensio, sic vis*– "As the extension, so the force": Petroski, Henry (1996).*Invention by Design: How Engineers Get from Thought to Thing*. Cambridge, MA: Harvard University Press. p. 11. ISBN 978-0674463684.**^**See http://civil.lindahall.org/design.shtml, where one can find also an anagram for catenary.**^**Robert Hooke,*De Potentia Restitutiva, or of Spring. Explaining the Power of Springing Bodies*, London, 1678.**^**Ushiba, Shota; Masui, Kyoko; Taguchi, Natsuo; Hamano, Tomoki; Kawata, Satoshi; Shoji, Satoru (2015). "Size dependent nanomechanics of coil spring shaped polymer nanowires".*Scientific Reports*.**5**: 17152. Bibcode:2015NatSR...517152U. doi:10.1038/srep17152. PMC 4661696. PMID 26612544.**^**Belen'kii; Salaev (1988). "Deformation effects in layer crystals".*Uspekhi Fizicheskikh Nauk*.**155**(5): 89. doi:10.3367/UFNr.0155.198805c.0089.**^**Vijay Madhav, M.; Manogaran, S. (2009). "A relook at the compliance constants in redundant internal coordinates and some new insights".*J. Chem. Phys*.**131**(17): 174112–174116. Bibcode:2009JChPh.131q4112V. doi:10.1063/1.3259834. PMID 19895003.**^**Ponomareva, Alla; Yurenko, Yevgen; Zhurakivsky, Roman; Van Mourik, Tanja; Hovorun, Dmytro (2012). "Complete conformational space of the potential HIV-1 reverse transcriptase inhibitors d4U and d4C. A quantum chemical study".*Phys. Chem. Chem. Phys*.**14**(19): 6787–6795. Bibcode:2012PCCP...14.6787P. doi:10.1039/C2CP40290D. PMID 22461011.**^**Keith (1971).*Mechanics*. Reading, MA: Addison-Wesley. ISBN 978-0-201-07392-8.**^**Simo, J. C.; Hughes, T. J. R. (1998).*Computational Inelasticity*. Springer. ISBN 9780387975207.**^**Milton, Graeme W. (2002).*The Theory of Composites*. Cambridge Monographs on Applied and Computational Mathematics. Cambridge University Press. ISBN 9780521781251.**^**Slaughter, William S. (2001).*The Linearized Theory of Elasticity*. Birkhäuser. ISBN 978-0817641177.**^**Boresi, A. P.; Schmidt, R. J.; Sidebottom, O. M. (1993).*Advanced Mechanics of Materials*(5th ed.). Wiley. ISBN 9780471600091.**^**Tan, S. C. (1994).*Stress Concentrations in Laminated Composites*. Lancaster, PA: Technomic Publishing Company. ISBN 9781566760775.**^**Ranganathan, S.I.; Ostoja-Starzewski, M. (2008). "Universal Elastic Anisotropy Index".*Physical Review Letters*.**101**(5): 055504–1–4. Bibcode:2008PhRvL.101e5504R. doi:10.1103/PhysRevLett.101.055504. PMID 18764407.

## ReferencesEdit

This article includes a list of references, but its sources remain unclear because it has insufficient inline citations. (July 2017) (Learn how and when to remove this template message) |

- Ugural, A. C.; Fenster, S. K. (2003).
*Advanced Strength and Applied Elasticity*(4th ed.). Prentice-Hall. ISBN 978-0-13-047392-9. - Walter Lewin explains Hooke's law. From Walter Lewin (1 October 1999).
*Hooke's Law, Simple Harmonic Oscillator. MIT Course 8.01: Classical Mechanics, Lecture 10*(ogg) (videotape). Cambridge, MA USA: MIT OCW. Event occurs at 1:21–10:10. Retrieved 23 December 2010....arguably the most important equation in all of Physics.

- A test of Hooke's law. From Walter Lewin (1 October 1999).
*Hooke's Law, Simple Harmonic Oscillator. MIT Course 8.01: Classical Mechanics, Lecture 10*(ogg) (videotape). Cambridge, MA USA: MIT OCW. Event occurs at 10:10–16:33. Retrieved 23 December 2010.

## External linksEdit

Conversion formulae | |||||||
---|---|---|---|---|---|---|---|

Homogeneous isotropic linear elastic materials have their elastic properties uniquely determined by any two moduli among these; thus, given any two, any other of the elastic moduli can be calculated according to these formulas. | |||||||

Notes | |||||||

There are two valid solutions. | |||||||

Cannot be used when | |||||||