Can someone help how to calculate the slope, tangent line and normal line? I'm lost on how I should code those three and I don't have much infor from clas how to code these 3.
2 ビュー (過去 30 日間)
古いコメントを表示
0 件のコメント
採用された回答
Walter Roberson
2022 年 10 月 2 日
The equation of a straight line is often stated in the form
y = m*x + b
You have calculated y0 (the value the equation will have at x0), and you have calculated m, so now you need to calculate b and put the result together in the form ytangent = m*x+b
The normal to a line at a point passes through the same line but has a slope 90 degrees different.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!