-1

I'm trying to plot the following integral:

integral

I only know how to get the answer but I can't figure out how to plot it.

Community
  • 1
  • 1
Mary
  • 3
  • 6
  • 4
    The result of your integral is a constant. Thus you do not need to plot it. Maybe you are talking about the integrand? Precise what do you need. – Alexander Korovin Sep 11 '16 at 20:56
  • I need to check my numerical answer by graphing it – Mary Sep 11 '16 at 21:03
  • 1
    Do you need to plot a constant? You should precise your question. – Alexander Korovin Sep 11 '16 at 21:06
  • It would help others to help you if you included the code you have already tried (for example to get the answer) here; and then explain exactly what you would like to see in your plot. As Alexander has pointed out the result of that definite integral is just a number, so it's not clear what you want to plot. – kabdulla Sep 11 '16 at 22:56

1 Answers1

0

The only thing I can think of is the function cumptrapz. Trapz is just a number and cumtrapz is cumulative and therefore you will get a straight line to the highest value of the integral if you plot it.

Romano
  • 13
  • 1
  • 7