Defining markup solution

From Algebra.Com's Help
Revision as of 21:12, 15 May 2005 by Ichudov (talk | contribs)
Jump to: navigation, search

This page discusses solutions for Solvers that are written in a markup language. This language is nothing more than a human language, with a few special tags interspersed. It is designed for simplest problems, those that are solvable by simple formulas, or those that reduce to known problems that already have a solver defined. For example, a typical word problem that reduces to a linear system, could be written in this language.

See Triangle Solver for an example of use of such a solution.

In any triangle, the sum of all angles is 180 degrees. Since in a
right triangle, one angle is always 90 degrees, that leaves 180-90=90
degrees for the sum of two other sharp angles. So, since one angle is
given as $angle degrees, the other sharp angle is 90-$angle, or
*\[assign angle1=90-$angle\] $angle1 degrees.
So, the answer is that the angles of this straight triangle are 90,
$angle, and $angle1 degrees.