Solve an Equation for Integer Solutions - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Integers : Task/SolveEqnIntegerSolns

Solve an Equation for Integer Solutions

 Description Solve an equation for integer values of the variables.

Enter the equation.

 >
 ${3}{}{x}{-}{4}{}{y}{=}{9}$ (1)

Calculate the general integer solutions for the equation.

 > $\mathrm{isolve}\left(\right)$
 $\left\{{x}{=}{3}{+}{4}{}{\mathrm{_Z1}}{,}{y}{=}{3}{}{\mathrm{_Z1}}\right\}$ (2)

Substitute a value for the parameter $\mathrm{_Z1}$ to obtain a specific solution.

 > $\mathrm{subs}\left(\mathrm{_Z1}={2},\right)$
 $\left\{{x}{=}{11}{,}{y}{=}{6}\right\}$ (3)
 Commands Used
 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam