Plots and numerical calculation

Native preview

Plot title changes the title. Operations → Plot / Refresh recalculates immediately. Valid edits may already schedule a recalculation. Check in the bottom bar how many traces are admitted. The wheel zooms, dragging with the middle button pans the view and double-clicking fits the framing. Select a trace to read the coordinates shown by the view. The parts separated by exclusions and discontinuities keep their own grid. Different output quantities can produce separate panels. Save the model to keep the viewport.

Native2D preview of the Sine model.
Native2D preview of the Sine model.

Roots, intersections and extrema

At the bottom of the Inspector choose roots, intersections or extrema and use Operations → Analyze. For a named model check the selected function and branch. In the Selected mathematical study dialog you can narrow the search with Study X minimum (empty = selected domain) and Study X maximum (empty = selected domain). Leaving the fields empty uses the selected scope. Apply starts the calculation. For intersections choose another compatible function in Other function identity. Use Cancel in the dialog if you want to go back to the view without starting the request.

With the formula x^2-1 the test on the domain [−2, 2] gave X=−1 and X=1 with residual 0, and a minimum of −1 with X numerically close to 0. For x^2 and x, on the same domain, the intersections observed are X=0 and X=1, with residual 0. Check the residual by substituting the reported abscissas into the two expressions. extrema looks for candidates on the grid. Coverage and resolution depend on the admitted points, the boundaries and the holes.

Abscissas −1 and 1 with zero residual.
Abscissas −1 and 1 with zero residual.
Point intersections between x and x², with zero residual.
Point intersections between x and x², with zero residual.
Minimum of the parabola near X=0.
Minimum of the parabola near X=0.

Derivative and integral

Show derivative of selected function / branch adds the numerical trend of the derivative for the chosen scope. Check the support and the unit Y/X. Integrate selected uses the function or the single selected branch. With Select all branches for calculus it includes the admitted components. Each contribution is signed and uses its own effectively sampled limits. Integrate F1 is the command of the historical models.

For x from −2 to 0 and x^2 from 0 to 2 the analytical reference is −2 + 8/3 = 2/3. Compare the estimate, however, with the trapezoidal sum over the admitted points only. If an end is excluded, the grid actually used may stop before the theoretical end. The test with 201 declared points per branch gave −1.99995 on [−2, −0.01] and 2.6667 on [0, 2]. For a component with a single sample there is no interval to integrate.

For x^2-1 on [−2, 2] with 401 samples the test gave 1.3334. The analytical reference is 4/3. The first value is obtained from the trapezia on the grid from −2 to 2.

Sampled integral of the parabola over the effective interval.
Sampled integral of the parabola over the effective interval.
Integrals of the two branches with distinct sampled limits.
Integrals of the two branches with distinct sampled limits.

Calculation in progress, cancellation and recovery

Wait for the status to finish before interpreting the new output. Cancel calculation becomes enabled during a job that can be cancelled. In case of error read the reported check, correct the input and recalculate. If the view keeps the last valid plot, compare it with the status bar before using it. A preview already valid and a published Graph represent different moments of the work.