Cannot Plot This Function in Mathematica

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
member 428835
Hi PF!

I have the following in Mathematica.
Screen Shot 2018-02-26 at 1.41.39 PM.png
Screen Shot 2018-02-26 at 1.41.48 PM.png

Notice h[2,x,0.5] gives me an output in terms of x, but when I try to plot this I get errors. Anyone know why this is? I read the error messages but am still unsure why I am not getting a clean output.
 

Attachments

  • Screen Shot 2018-02-26 at 1.41.39 PM.png
    Screen Shot 2018-02-26 at 1.41.39 PM.png
    21.1 KB · Views: 1,080
  • Screen Shot 2018-02-26 at 1.41.48 PM.png
    Screen Shot 2018-02-26 at 1.41.48 PM.png
    20.1 KB · Views: 1,046
Physics news on Phys.org
  • Like
Likes   Reactions: member 428835
jedishrfu said:
Have you googled the error messages? Often other users of Mathematica or Matlab post these questions on forums too and someone may answered it already. ALso I would check the Mathematica website for more info on the error message.

I found these two examples:

https://www.physicsforums.com/threads/summation-with-mathematica.498250/

https://stackoverflow.com/questions/40987025/raw-object-1-cannot-be-used-as-an-iterator
Thanks for your response. While the two links didn't explicitly help me, you made me think about digging deeper in what I wrote. Problem was I needed to evaluate the integrals using dummies. Makes sense. Thanks.
 
  • Like
Likes   Reactions: jedishrfu