Skip to main content
12-Amethyst
February 7, 2025
Solved

Integration of Data Vectors in a for loop

  • February 7, 2025
  • 1 reply
  • 753 views

Hi comunity, 

I need to calculate an Integral of data vectors like shown in the image.

Outside the for loop Mathcad has no problem with convergence, but inside the loop MC returns the error message.

Is there a trick here, or is this generally not possible?

Greetings and many thanks in advance

Michael 

 

 

Best answer by Michael2

Hello Werner,

I would like to thank you very much for the quick response, really great.

I have found the error, I had a problem with the units.

The script is quite long and complex, so I had only posted a picture.

 

Best regards

Michael

1 reply

25-Diamond I
February 7, 2025

Its hard to debug a picture - especially if the cause may be as of Primes auto labelling.

Can you post a worksheet with your program and with the working calculation on worksheet level.

 

I guess the two loops running from 1 to 1 are just there for testing purposes.

 

Michael212-AmethystAuthorAnswer
12-Amethyst
February 10, 2025

Hello Werner,

I would like to thank you very much for the quick response, really great.

I have found the error, I had a problem with the units.

The script is quite long and complex, so I had only posted a picture.

 

Best regards

Michael