Skip to main content
1-Visitor
February 10, 2012
Solved

Feed result of equation back into itself? How?

  • February 10, 2012
  • 3 replies
  • 4253 views

Hello,

I've attached my mathcad document and it explains what I am trying to do.

I have two equations, A and B.

Equation A determines the length of a crack in a material specimen after the specimen has been loaded a distinct number of times. This is based on several variables, one of them being the initial length of the crack.

So after one cycle, I can determine how much this crack grew. I can then determine the residual strength of the material based on this new crack size.

What I need to do, is make a plot that has residual strength (Equation B) in the y axis, and number of cycles (Equation A) in the X axis.

The process would look like this:

1 - Equation A calculates the final crack length in the specimen after ONE cycle (given an initial crack length value).

2 - Equation B takes this final crack length and calculates the residual strength.

3 - The residual strength is plotted in the 2D plot.

4 - This final crack length is then fed back into Equation A to determine how much it grows after ONE cycle.

5 - Repeat steps 2-4 until the residual strengh reaches zero.

How can I do this? I appreciate any help!

Attached is the workbook.

Best answer by AlanStevens

FredKohlhepp wrote:

Alan's done the heavy lifting; I just plotted N vs stress as requested.

Thanks Fred. Perhaps, one day, I'll remember to read the whole question before jumping in!

Alan

3 replies

24-Ruby IV
February 10, 2012

You can/must do a complet calculation one time and than repeat it n time by for example copy and paste equations.

Than you can use the while operator!

1-Visitor
February 10, 2012

Am I getting confused or are you saying N calculates af?

Solve you do not need to solve for af?

Mike

19-Tanzanite
February 10, 2012

Do you mean something like the attached?

Alan

23-Emerald I
February 10, 2012

Alan's done the heavy lifting; I just plotted N vs stress as requested.

19-Tanzanite
February 10, 2012

FredKohlhepp wrote:

Alan's done the heavy lifting; I just plotted N vs stress as requested.

Thanks Fred. Perhaps, one day, I'll remember to read the whole question before jumping in!

Alan