Question: Export plot data

Hello out there,

Hopefully somebody can help me.

I have a little function lets say: n:= l -> sqrt((C1*l^2)/(l^2-C2^2)+(C3*l^2)/(l^2-C4^2)+(C5*l^2)/(l^2-C6^2)+(C7*l^2)/(l^2-C8^2)+(C9*l^2)/(l^2-C10^2)+1);

(it is a sellmeier equation for the refractive index of quartz

and Maple can also plot it for me:

plot (n(l), l=350...1600)

But now I need the data on which the plot is based to be exported to excel or origin.

I would like to have a colum for l which runs in steps of 1 from 350 to 1600 and another colum with all the according values for n in excel.

Can anybody tell me, please which commands to use to, first get the data in such a 2 colum form, and second to export it to excel.

I would be already very thankful if somebody could tell me where to look.

Best regards,

 

Markus

 

Please Wait...