Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The method of calculating indefinite integral by matlab

Shulou Source: shulou.com Published: 2022-06-02 18:39:01 09月28日 Update

This article mainly introduces the method of calculating indefinite integral by matlab, which is very detailed and has certain reference value. Friends who are interested must finish it!

Matlab's method of calculating indefinite integral: first define the independent variable and function and look at the image of the function; then calculate the indefinite integral of [y = x ^ 2] and use the command [int (yMaginx)].

Matlab's method of calculating indefinite integral:

1. To calculate definite integral and indefinite integral, we need to use the function int (y range x [, indefinite integral]). Now let's take y = x ^ 2 as an example to illustrate how to use it. First define the argument and function and view the image of the function as follows.

2. Calculate the indefinite integral of y = x ^ 2, using the command int (YPJ x). The result of the integral is f = x ^ 3 / 3, and the corresponding image is as follows.

3. If you want to calculate the definite integral, you should add the upper and lower bounds of the integral. For example, here we find the definite integral of y = x ^ 2 on [- 1Mague 1]: int (ymemxmmeier 1)

4. Next, let's take a few more complex examples, y = x ^ 2 * ln (1x). Its image is as follows:

5. The integral expression obtained by symbolic representation is as follows:

If the ordinary partial integration method is used, it is necessary to use the partial integral twice in a row to eliminate the power index.

6. The image of the indefinite integral obtained above and the definite integral of the original function on [0Magne2] are as follows.

The above is all the contents of this article "matlab's method of calculating indefinite integral". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Integral indefinite integral function image method content segment command article independent variable complex ordinary next up and down value example interest boy buddy index Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Huawei MySQL macOS Shulou Information