How can i draw this function and it`s derivative?

I am trying to draw this function: sin(y)=y*cos(2x) and it`s derivative dy/dx=(2y(sin(2x)))/(cos(2x)-cos(y)). But i have no idea

Answers (1)

Guillaume
Guillaume on 3 May 2017
Edited: Guillaume on 3 May 2017
Surely, in your course you've been told of the plot function.
If not, any book on matlab would introduce it in the first few chapters.
Even the Getting started tutorial, the first entry in the documentation that is installed on your computer, shows how to plot functions.
Note that sin(y) = y*cos(x) is not a function, unless you're defining a function called sin that is completely different from the standard sin function.

3 Comments

They have been teaching these things at our physics class, but the teacher told us that we have to do it on mathlab, it`s my first time, he didn`t teach us anything about this program and i am very lost
Then as said, the getting started tutorial linked in my answer should teach you everything you need to know. If not, grab a book from the library.
Don't expect us to do your homework for you.
@Esteban: It would not be efficient, if the members of the forum rephrase the documentation. Please look at https://matlabacademy.mathworks.com/ to learn the basics. doc plot will help you also, examine the examples there.

Sign in to comment.

Categories

Asked:

on 3 May 2017

Commented:

Jan
on 3 May 2017

Community Treasure Hunt

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

Start Hunting!