A PHP Error was encountered

Severity: 8192

Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Filename: libraries/Filtered_db.php

Line Number: 23

Using the symbolic function int, find the indefinite integral of the function 4x2 + 3, and the definite integral of this function from x = -1 to x = 3. Also, approximate this using the trapz function
Q:

Using the symbolic function int, find the indefinite integral of the function 4x2 + 3, and the definite integral of this function from x = -1 to x = 3. Also, approximate this using the trapz function

0

Using the symbolic function int, find the indefinite integral of the function 4x2 + 3, and the definite integral of this function from x = -1 to x = 3. Also, approximate this using the trapz function. 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch14Ex37.m

% Find integrals

x = sym('x');

f = 4*x^2 + 3;

%Indefinite integral

int(f)

%Definite integral from x = -1 to x = 3

int(f,-1,3)

%Approximation

f = sym2poly(f);

x = -1:0.1:3;

y = polyval(f,x);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now