How to tabulate Fresnel integral values in Maple

  • Context: Maple 
  • Thread starter Thread starter leright
  • Start date Start date
  • Tags Tags
    Maple
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 5K views
leright
Messages
1,317
Reaction score
19
hello, I am plotting the fresnel integral equations in maple. I was able to plot them, but I also need to tabulate various x and y values of the function between x=-8.5 and x-8.5 in 0.1 increments. Is maple able to do this? I searched for "table" in the help file with no real solution. Can someone give me a hint, or a pointer? Thanks.
 
Physics news on Phys.org
anyone know how I might go about doing this?
 
and when I try to evaluate the fresnel equation using maple at individual values of x, for instance x=2, using FresnelC(2) it just spits out "FresnelC(2)".

meh. Maple had no trouble plotting the Fresnel equations though.
 
use evalf(FresnelC(2)) :smile:

For a "table," you can use the seq command

<seq(<<evalf(i/10)>|<evalf(FresnelC(i/10))>>, i=-85..85)>;

will output a 171x2 matrix with columns for x and FresnelC(x) (Maple will, of course, not display the whole matrix without you instructing it to do so!).
 
Last edited:
I ended up using the maple spreadsheet feature. :) It worked nicely.

Thanks for your input.
 
All of these newfangled features make it hard to keep up! :-p