Skip to main content
12-Amethyst
February 20, 2024
Question

Numerical Integration with Mathcad Prime 7

  • February 20, 2024
  • 1 reply
  • 4246 views

Dear community,

 

Unfortunately, I have no experience with numerical integration. Now I am confronted with this problem (detailed description in mcdx). I hope that one of you can help me to solve the problem.
Many thanks

Michael

1 reply

21-Topaz II
February 24, 2024

Hi 

I can show how to do the integrals but the J0 in the post has two parameters while j0 in Prime has only one parameter so do not understand the full syntax of the whole integral.

Cheers

Terry

25-Diamond I
February 24, 2024

The text seems to lack the usage of multiplication dots, so I guess that J0 is not supposed to be Bessel function with two arguments but rather the argument should be a product.

Numerical integration can't use infinity as integral limit. So you either have to use symbolical evaluation (with all its limitations) or use a large number as upper limit as Terry had shown.

Next problem is that z.a should be a scalar, but in the sheet its a vector!

21-Topaz II
February 25, 2024

Hi

Not sure if this is correct as no idea what is the x axis of the graph and have just taken the interval np.

It does show you how to proceed to get a working integral:

Capture.JPG

Capture2.JPG

Capture3.JPG

Cheers

Terry