Student Support Forum: 'integrating over general step functions' topicStudent Support Forum > General > "integrating over general step functions"

 Next Comment > Help | Reply To Topic
 Author Comment/Response Jeff Hamrick 09/24/03 11:14am Hello - I recently defined PSI[x]:=Which[Abs[x]<1,1,Abs[x]>=0] a well-defined function. I then defined u[x_,t_]:=(1/(2*Pi))*Integrate[PSI[s],{s,x-Pi*t,x+Pi*t}] I wanted to fix particular values of t (such as t=1/(2Pi), 1/Pi, et cetera and then plot Plot[u[x,t_0],{x,-5,5}] where t_0 is one of those particular values of t. Mathematica does generate the plot I am asking for, but only after much pain and suffering. In particular, if I choose particular values of t with certain ranges for x, what should be a continuous graph with straight lines sometimes becomes strange looking. In particular, Mathematica will plot certain parts of the graph with bizarre tiny oscillations when the graph should simply be constant. Any ideas as to what is going on here? Best, -jeff hamrick. Boston University URL: ,

 Subject (listing for 'integrating over general step functions') Author Date Posted integrating over general step functions Jeff Hamrick 09/24/03 11:14am Re: integrating over general step functions Henry Lamb 09/30/03 01:02am Re: integrating over general step functions Jeff Hamrick 10/02/03 4:51pm Re: integrating over general step functions Henry Lamb 10/03/03 7:18pm
 Next Comment > Help | Reply To Topic