Ask Your Question
0

Integral help cos and exp

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

ajk_birdman gravatar image

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

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
1

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

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

Stats

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

Seen: 80 times

Last updated: Mar 10 '13