Question

use matlab to determine the derivative of 5x^4+3x^3+6x^2-7x+2=0 b. determine the definate integral of the equation...

use matlab to determine the derivative of 5x^4+3x^3+6x^2-7x+2=0

b. determine the definate integral of the equation above from -2 to 6

in matlab please

Homework Answers

Answer #1

MATLAB Code:

close all
clear
clc

fprintf('Part (a)\n-----------------------------------------------------\n')
syms x
y = 5*x^4 + 3*x^3 + 6*x^2 - 7*x + 2;
fprintf('y(x) = '), disp(y)
y_derivative = diff(y,x);
fprintf('y''(x) = '), disp(y_derivative)

fprintf('\nPart (b)\n-----------------------------------------------------\n')
I = integral(@(x) 5*x.^4 + 3*x.^3 + 6*x.^2 - 7*x + 2, -2, 6);
fprintf('Integration Result: %f\n', I)

Output:

Part (a)
-----------------------------------------------------
y(x) = 5*x^4 + 3*x^3 + 6*x^2 - 7*x + 2
y'(x) = 20*x^3 + 9*x^2 + 12*x - 7

Part (b)
-----------------------------------------------------
Integration Result: 9120.000000

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
For the sequence 8x + 4, 7x + 3, 6x + 2, 5x +1, ... ,...
For the sequence 8x + 4, 7x + 3, 6x + 2, 5x +1, ... , a. Identify the next 3 terms. b. Is the sequence arithmetic or geometric? How do you know? c. Find the explicit and recursive formulae for this sequence. d. Write out the sum formula for the first 20 terms and evaluate. e. Write your process to part (d) in Sigma Notation.
1. Find the integral. (3x^8-7x^3+7) dx.    2. The demand equation for a certain product is...
1. Find the integral. (3x^8-7x^3+7) dx.    2. The demand equation for a certain product is 9p^2+q^2=1700, where p is the price per unit in dollars and q is the number of units demanded. find dq/dp. A. -9p/q B. -q/9p    C. -p/9q    D. -9q/p 3. Evaluate the integral. -3I-1 (x^2+x+6) dx. A. 28.33    B. 17.17    C. 16.67 D. 16.5 Please show work for all problems
MATLAB CODE: Matlab’s polyder() and polyint() functions return the derivative and integral of a polynomial, respectively....
MATLAB CODE: Matlab’s polyder() and polyint() functions return the derivative and integral of a polynomial, respectively. For example, polyder([4 -2 3 7 -5]) yields [16 -6 6 7] in other words: d/dx{4x4−2x3 +3x2+7x−5} = 16x3−6x2 +6x+7and,polyint([16 -6 6 7]) yields [4 -2 3 7 0] note the zero at the end. in other words:∫(16x3-6x2+6x+7)=4x4–2x3+ 3x2+7x+? where C = 0 As seen above, the constant of integration is always assumed to be zero when using polyint().While polyint() is available, using your...
1. Let f(x)=−x^2+13x+4 a.Find the derivative f '(x) b. Find f '(−3) 2. Let f(x)=2x^2−4x+7/5x^2+5x−9, evaluate...
1. Let f(x)=−x^2+13x+4 a.Find the derivative f '(x) b. Find f '(−3) 2. Let f(x)=2x^2−4x+7/5x^2+5x−9, evaluate f '(x) at x=3 rounded to 2 decimal places. f '(3)= 3. Let f(x)=(x^3+4x+2)(160−5x) find f ′(x). f '(x)= 4. Find the derivative of the function f(x)=√x−5/x^4 f '(x)= 5. Find the derivative of the function f(x)=2x−5/3x−3 f '(x)= 6. Find the derivative of the function g(x)=(x^4−5x^2+5x+4)(x^3−4x^2−1). You do not have to simplify your answer. g '(x)= 7. Let f(x)=(−x^2+x+3)^5 a. Find the derivative....
Consider the linearly independent set of vectors B= (-1+2x+3x^2+4x^3+5x^4, 1-2x+3x^2+4x^3+5x^4, 1+2x-3x^2+4x^3+5x^4, 1+2x+3x^2-4x^3+5x^4, 1+2x+3x^3+4x^3-5x^4) in P4(R), does...
Consider the linearly independent set of vectors B= (-1+2x+3x^2+4x^3+5x^4, 1-2x+3x^2+4x^3+5x^4, 1+2x-3x^2+4x^3+5x^4, 1+2x+3x^2-4x^3+5x^4, 1+2x+3x^3+4x^3-5x^4) in P4(R), does B form a basis for P4(R) and why?
Use substitution to solve the indefinite integral. a. ∫24x^2/3+4x^6 dx b. ∫ 21dx/(7x+2)^4
Use substitution to solve the indefinite integral. a. ∫24x^2/3+4x^6 dx b. ∫ 21dx/(7x+2)^4
find all solutions 1) log5(2x+1)+log5(x-1)=2.3512421... logs are base 5 2) (5e^3x^2-4)-1=23 3) 2x^3-5x^2+6x-2=0
find all solutions 1) log5(2x+1)+log5(x-1)=2.3512421... logs are base 5 2) (5e^3x^2-4)-1=23 3) 2x^3-5x^2+6x-2=0
Find the derivative of the function. (a) f(x) = e^(3x) (b) f(x) = e^(x) + x^(2)...
Find the derivative of the function. (a) f(x) = e^(3x) (b) f(x) = e^(x) + x^(2) (c) f(x) = x^(3) e^(x) (d) f(x) = 4e^(3x + 2) (e) f(x) = 5x^(4)e^(7x+4) (f) f(x) = (3e^(2x))^1/4
1. Find the area bounded by f(x)=3x^2-4 and y=0 for 0 < X < 1. A....
1. Find the area bounded by f(x)=3x^2-4 and y=0 for 0 < X < 1. A. 1 B. 2 C. 6 D. 3 2. The revenue (thousands of dollars) from producing x units of an item is modeled by R(x)= 5x-0.0005x^2. Find the marginal revenue at x=1000. A. $104 B. $4 C. $4.50    D. $10,300 3. Find y' for y=y(x) defined implicitly by 3xy-x^2-4=0 4. Find: lim x->-1 6x+5/5x-6 A. -11    B. 1/11    C. -1/11    D....
Use a graphing utility to determine the number of real solutions of the quadratic equation. 1/3x^2...
Use a graphing utility to determine the number of real solutions of the quadratic equation. 1/3x^2 − 5x + 27 = 0
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT