Ask Your Question

Integral help cos and exp

asked 2013-03-10 15:39:34 -0600

ajk_birdman gravatar image

updated 2013-03-10 17:38:02 -0600

Shashank gravatar image

I'm sure this integral has been seen before. I'm trying to do a convolution for optics homework. No answer returns

sage: var('x1, x2, y1, y2, L, z, r')
sage: integral(cos(x1/L)*exp(-i*(k/z)*(x1*x2 + y1*y2)), x1, -L/2, L/2)

thanks for any help!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-03-10 17:38:43 -0600

Shashank gravatar image

It is just a typo. Try the code written below

var('x1, x2, y1, y2, L, z, r, k') 
integral(cos(x1/L)*exp(-i*(k/z)*(x1*x2 + y1*y2)), x1, -L/2, L/2)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-03-10 15:39:34 -0600

Seen: 144 times

Last updated: Mar 10 '13