Mathcad is a universal tool for those people who have tightly connected their lives with computing. "Matkad" is able to perform complex mathematical calculations and instantly give an answer on the screen. Students or those who first encountered this program ask a lot of questions that they cannot answer on their own. One of them that impedes further education: how to build a schedule in Matkada? In fact, it is not as difficult as it may seem. We will also try to figure out how to construct a function graph in Matkada, how to construct several functions, and learn about displaying a graph on a screen about some elements.
Quick Chart in Mathcad
Let's take one function and we will carry out all the operations listed below with it. Suppose we have the following terms of reference: plot the function f (x) = (e ^ x / (2x-1) ^ 2) -10 on the interval [-10; 10], study the behavior of the function.
So, before you build a graph in Matkada, you need to rewrite our function in a mathematical environment. After that, we just figure out a possible schedule without scaling and everything else.
- To do this, press Shift + 2. A window will appear in which a graph of our function will be built, but first you must enter all the necessary data.
- Opposite the vertical line there are 3 black squares: the upper and lower determine the construction interval, and the middle sets the function by which the graph will be built. We set the function f (x) in the middle square, and leave the top and bottom unchanged (they are automatically adjusted).
- Under the horizontal line there are also three black squares: the extreme ones are responsible for the interval of the argument, and the middle one is for the variable. We introduce into the extreme fields our integral value from -10 to 10, and in the middle field - the value "x".
Building additional charts
To understand how to build several graphs in Matkada, we add a small addition to our technical task: construct a graph of the derivative of a given function. The only thing we need is to add the derivative with respect to the variable "x" in the graph field.
- We open our schedule and where the function was written, it is necessary to put "," (comma). Next, a new line will be displayed below, where we need to enter the derivative: df (x) / dx.
- A graph of the derivative is displayed, but for clarity, it is worth changing the color of the line and its shape. To do this, double-click on the schedule - a window opens with the settings.
- We need the "Tracing" section, where the curves will be listed in the table.
- Select the second curve and change the shape of the line to a dotted line.
Chart based on a set of values
Before you build a graph in Matkada by points, you need to create a range of values. Immediately, we note that a graph constructed by points is sometimes inaccurate, since there may be a point that does not fall into the range of values, but there is a gap in the original graph in it. This example will specifically show this case.
We need to set a range of values. To do this, assign values ββto the variable (x: = - 10, -8.5 .. 10). When the user will set the range, he should know that the colon is put through the symbol ";". Now for visual perception, we display all the values ββof "x" and "f (x)" in the program. To do this, enter "x =" and, accordingly, "f (x) =". Now re-build the function graph, only this time by points.
- Using the hot keys Shift + 2, we again call up the window with plotting.
- We define the function f (x), the interval along the ordinate axis from -20 to 100, the interval along the abscissa axis from -10 to 10, we denote the variable "x".
- The graph is automatically plotted, which differs in some parts from the graph of a function constructed analytically.
We see that the point-based graph does not display the point that makes the gap on the original graph. That is, we can conclude that the construction by points may not take into account the values ββof the function that create the gap.
Graph display setting
In this article, we have already touched on the schedule settings. The settings window is called up by double left-clicking on the graph. There are five sections in the graph formatting window. "X-axis, Y-axis" - contains information about coordinate axes, as well as displays of auxiliary elements. The second section "Tracing" is associated with the curved lines of the graph, here you can adjust their thickness, color and more. "Number format" is responsible for displaying and calculating units. In the fourth section, you can add signatures. The fifth section "By default" displays all the settings in a standard form.