フィルターのクリア

. Find the derivative of 𝑦 = 𝑥^ 2 + 4*𝑥 − 6 at (3,5) and plot the function and derivative curves. Use the legend option for labelling the curve.

3 ビュー (過去 30 日間)
. Find the derivative of 𝑦 = 𝑥 ^2 + 4𝑥 − 6 at (3,5) and plot the function and derivative curves. Use the legend option for labelling the curve.
  3 件のコメント
Xiao Yangcong
Xiao Yangcong 2021 年 11 月 12 日
There is an error in this question. Please describe the problem again.
vidya g
vidya g 2021 年 11 月 12 日
Find the derivative of 𝑦 = 𝑥^ 2 + 4*𝑥 − 6 at x=3,plot the function and derivative curves. Use the legend option for labelling the curve.

サインインしてコメントする。

採用された回答

Xiao Yangcong
Xiao Yangcong 2021 年 11 月 12 日
  1 件のコメント
John D'Errico
John D'Errico 2022 年 1 月 2 日
編集済み: John D'Errico 2022 年 1 月 2 日
Please don't do homework assignmets for students. It does not helpp them, only teaching them they can find the answer to their homework here, and we don't want that.

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2021 年 11 月 12 日
Hint -- use the plot() and legend() functions:
x = linspace(0, 6, 1000); % Define range for x as [0, 6] or whatever you want.
y = x .^ 2 + 4 * x 6 % Your formula.
plot(
yDerivative = % Some other function of x. I'm sure you know Calculus.
plot( % Plot yDerivative vs. x. Use a different color.
legend(
% Find slope at x=3:
yDerivative = % same function but use 3 instead of x
% Optional (unasked for) stuff to make the plot pretty;
title('y = x .^ 2 + 4 * x − 6 and its derivative', 'FontSize', 18);
xlabel('x', 'FontSize', 18);
ylabel('y', 'FontSize', 18);'
grid on
Fill out the missing code. If you can't figure it out, read this:

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by