First time here? Check out the FAQ!

Ask Your Question
0

Integral help cos and exp

asked 12 years ago

ajk_birdman gravatar image

updated 12 years ago

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!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 12 years ago

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)
Preview: (hide)
link

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: 12 years ago

Seen: 354 times

Last updated: Mar 10 '13