Question

In: Computer Science

Integrate the following function by using symbolic operation in MATLAB. y = x^3 − 2x^2 +...

Integrate the following function by using symbolic operation in MATLAB.
y = x^3 − 2x^2 + 7

Solutions

Expert Solution

clc
syms x
disp("y = x^3 - 2*x^2 + 7");
y = x^3 - 2*x^2 + 7;
disp("The integration of above function is :");
disp(int(y))

OUTPUT:-

y = x^3 - 2*x^2 + 7
The integration of above function is :
(x*(3*x^3 - 8*x^2 + 84))/12



Related Solutions

Using Matlab, consider the function f(x) = x^3 – 2x + 4 on the interval [-2,...
Using Matlab, consider the function f(x) = x^3 – 2x + 4 on the interval [-2, 2] with h = 0.25. Write the MATLAB function file to find the first derivatives in the entire interval by all three methods i.e., forward, backward, and centered finite difference approximations. Could you please add the copiable Matlab code and the associated screenshots? Thank you!
Integrate the following differential equations: a.)  y(2x−y+2)dx+2(x−y)dy = 0; b.)  yV-2yIV+3y''' - 2y'' = -x + ex.
Integrate the following differential equations: a.)  y(2x−y+2)dx+2(x−y)dy = 0; b.)  yV-2yIV+3y''' - 2y'' = -x + ex.
Using matlab Find x and y that solve the following system: ln(x 2 + y) =...
Using matlab Find x and y that solve the following system: ln(x 2 + y) = 1 − y , xy = − √ x
For the function f(x) = x^2 +3x / 2x^2 + 6x +3 find the following, and...
For the function f(x) = x^2 +3x / 2x^2 + 6x +3 find the following, and use it to graph the function. Find: a)(2pts) Domain b)(2pts) Intercepts c)(2pts) Symmetry d) (2pts) Asymptotes e)(4pts) Intervals of Increase or decrease f) (2pts) Local maximum and local minimum values g)(4pts) Concavity and Points of inflection and h)(2pts) Sketch the curve
For the function f(x) = x^2 +3x / 2x^2 + 7x +3 find the following, and...
For the function f(x) = x^2 +3x / 2x^2 + 7x +3 find the following, and use it to graph the function. Find: a)(2pts) Domain b)(2pts) Intercepts c)(2pts) Symmetry d) (2pts) Asymptotes e)(4pts) Intervals of Increase or decrease f) (2pts) Local maximum and local minimum values g)(4pts) Concavity and Points of inflection and h)(2pts) Sketch the curve
Integrate the following values of y from x = 0 to x = 130 using (a)...
Integrate the following values of y from x = 0 to x = 130 using (a) The midpoint rule using intervals of [0 10], [10 30], [30 70], and [70 130] (b) The trapezoid rule using the same intervals (c) Simpson’s rule using the same intervals x y 0 6 5 12 10 18 20 30 30 42 50 36 70 24 100 18 130 6 Integrate the differential equation dydt = y from t = 0 to t =...
Solve for x,y,z using the inverse if possible. x+2y+5z=2 2x+3y+8z=3 -x+y+2z=3
Solve for x,y,z using the inverse if possible. x+2y+5z=2 2x+3y+8z=3 -x+y+2z=3
a.  For the following probability density function:                 f(X)= 3/4 (2X-X^2 ) 0 ≤ X ≤ 2           &nbsp
a.  For the following probability density function:                 f(X)= 3/4 (2X-X^2 ) 0 ≤ X ≤ 2                        = 0 otherwise            find its expectation and variance. b. The two regression lines are 2X - 3Y + 6 = 0 and 4Y – 5X- 8 =0 , compute mean of X and mean of Y. Find correlation coefficient r , estimate y for x =3 and x for y = 3.
Consider the function f(x, y) = 4xy − 2x 4 − y 2 . (a) Find...
Consider the function f(x, y) = 4xy − 2x 4 − y 2 . (a) Find the critical points of f. (b) Use the second partials test to classify the critical points. (c) Show that f does not have a global minimum.
Let f(x, y) = 2x^3 − 6xy + 3y^2 be a function defined on xy-plane (a)...
Let f(x, y) = 2x^3 − 6xy + 3y^2 be a function defined on xy-plane (a) Find first and second partial derivatives of. (b) Determine the local extreme points of f (max., min., saddle points) if there are any. (c) Find the absolute max. and absolute min. values of f over the closed region bounded by the lines x = 2, y = 0, and y = x
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT