How To Solve Equations In Mathcad

Table of contents:

How To Solve Equations In Mathcad
How To Solve Equations In Mathcad

Video: How To Solve Equations In Mathcad

Video: How To Solve Equations In Mathcad
Video: How to Solve equation By Mathcad prime 5 0 2024, May
Anonim

Mathcad belongs to the part of the software that is practically inaccessible to an ordinary user. And it's not about the high price, but about the offered functionality. This is not just a "calculator", but a whole programming environment, which only a few hundred pages of the textbook help to fully master.

How to solve equations in mathcad
How to solve equations in mathcad

Instructions

Step 1

Use root. This is a function for solving equations of one argument, which allows you to find values of the form f (x) = 0. Note that if your equation is in the form y = f (x), you will need to transform it or use a different solution.

Step 2

Set the parameters. Create two equalities, for example x: = 0 and f (x): = sin (x) + x + 1.2. The environment will automatically recognize them as a condition, after which you can write the line root (f (x), x) =, in the right part of which the correct answer will be automatically substituted. It is recommended to use this form of the problem statement if it is necessary to solve many of the same type or similar equations.

Step 3

Enter parameters directly into the function. This method turns out to be faster if you need to calculate a single equation: the example is written as root (sin (x) + x + 1.2, 1). In addition, you can limit the range of solutions by adding two more arguments (numbers separated by commas), between which the search will be performed.

Step 4

Set the precision of your search for an answer. Because the decision in matchad is carried out on the basis of infinite series, then the number of members of the series can be determined through the special variable TOL. Specifying the value in a particular case is carried out as TOL: = 0.01 or any other number. Globally, you can set a variable in the item "Mathematics" -> "Parameters" -> "Variables" -> "Tolerance of convergence". The value should be deactivated also if the first approximation is not enough to see the difference between a pair of roots.

Step 5

Check your entries if you receive the Can't converge into a solution error. This notice means that a solution cannot be found. This can happen if there are none at all; the root is out of scope; there are only complex solutions not provided for in the answer; there are gaps in the definition area. The easiest way to identify the error is by plotting the function f (x) and analyzing possible conflicts.

Recommended: