Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help with maple

  1. Feb 4, 2008 #1
    Help with printing a string

    I have a theoretical plot for the fresnel diffration pattern, however i want maple to show the values plotted on the x and y cordinates. How do i do this. Please explain in simple terms

    heres my code

    > fresdi:= proc(a,b) (FresnelC(a) - FresnelC(b))^2 + (FresnelS(a) - FresnelS(b))^2 end;
    fresdi := proc(a, b)
    (FresnelC(a) - FresnelC(b))^2 + (FresnelS(a) - FresnelS(b))^2
    end proc;

    > v:=1.48;
    v := 1.48

    > umin:=-6; umax:=6;
    umin := -6
    umax := 6

    > plot( fresdi(u-(v/2),u+(v/2)), u=umin..umax,title=cat(`Fresnel diffraction from slits of width v=`,
    > convert(v,string)), axes=boxed, labels=[`Distance across diffraction plane, u`,`I(u)`]);

    Last edited: Feb 4, 2008
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Discussions: Help with maple
  1. Maple Help (Replies: 3)

  2. Maple Help! (Replies: 1)

  3. Maple Help (Replies: 5)

  4. Maple help (Replies: 5)