How to solve a definite integral

2 views (last 30 days)
Brendan
Brendan on 27 Oct 2014
Commented: Mike Hosea on 28 Oct 2014
hi,
For the record this are practice questions :)
  1 Comment
John D'Errico
John D'Errico on 27 Oct 2014
Edited: John D'Errico on 27 Oct 2014
So what have you tried? Yes, we can do this, in fact, it is pretty easy. One line of code, but I don't need the practice, you do!
You learn by doing, not by someone else doing your work for you. If all you do is find people to solve your problems for you, then all you will learn is how to con someone else into doing your work. SO MAKE AN EFFORT!
Start by figuring out what tool in MATLAB does what is asked for. Do some reading. If you can't figure out what tool that is, then try using lookfor to find it for you.

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 27 Oct 2014
Welcome to the online documentation!
Bookmark the page for the Help Index for future reference. You can also get the internal MATLAB documentation by typing doc in the Command Window. The only problem is that you can’t easily share those references with others as you can the URLs for the online documentation.
Start by searching for the word integral. There happens to be a function by that name (not the function you’re looking for), and that search will lead you to the documentation for integral. Spend some time surfing through the links at the end of the page until you find the function you need. (It exists — I found it.) You can also search on the method you want to see if that turns up anything.
  1 Comment
Mike Hosea
Mike Hosea on 28 Oct 2014
It's kind of a tough one because this question asks for a deprecated function that has been removed from the see-also list of the recommended function for this task, though searching the documentation for "Lobatto" should be helpful.

Sign in to comment.

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!