- #1

- 16

- 5

**Summary::**I want to iterate a mathematical model using a programming language. The equation of the mathematical model is simple. The following is a brief explanation.

I want to iterate a mathematical model using a programming language. The equation of the mathematical model is simple. The following is a brief explanation.

Looping steps 1 until 4:

[1] A = integral (x)

[2] B = 1.23456-A

[3] C = 1 / B

[4] x=C

Integration using the trapezoid method. I experience problems when the value of

**B**approaches 0, for example

**B**= 0.00001. Then, the e quation 3 will be of near infinite value.

How to resolve this error?