how to plot the graph for the functions 0<x<2 with y=sin x and y=x^3 and how to get point of intersection?
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I will be thankful to your reply..
1 Kommentar
Matt J
am 2 Dez. 2012
Bearbeitet: Matt J
am 3 Dez. 2012
Replies are unlikely if you show no evidence of having attempted the homework or of having read the MATLAB documentation. If you've done minimal reading of the Getting Started material, you should be aware of the PLOT command and seen examples of its use.
Antworten (3)
vb
am 3 Dez. 2012
Bearbeitet: Walter Roberson
am 3 Dez. 2012
10 Kommentare
Walter Roberson
am 4 Dez. 2012
x_of_intersection = fsolve(@(x)cos(x)-x.^2,1);
y_of_intersection = cos(x_of_intersection);
text(x_of_intersection, y_of_intersection, 'LOOK HERE')
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!