cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Feed result of equation back into itself? How?

SOLVED
Highlighted
Newbie

Feed result of equation back into itself? How?

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Feed result of equation back into itself? How?

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

9 REPLIES 9

Re: Feed result of equation back into itself? How?

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!

Re: Feed result of equation back into itself? How?

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

Solve you do not need to solve for af?

Mike

Re: Feed result of equation back into itself? How?

Do you mean something like the attached?

Alan

Re: Feed result of equation back into itself? How?

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

Re: Feed result of equation back into itself? How?

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

Re: Feed result of equation back into itself? How?

Thank you for the help!!! I am going to take a look at this now and see if I can figure out how it is done. At first glance the plots look reasonable.

If I have any questions I will let you guys know.

Thanks again!

Re: Feed result of equation back into itself? How?

Alan,

Do you suppose you could describe what the lines in the program routine mean?

Re: Feed result of equation back into itself? How?

ptc-4451268 wrote:

Alan,

Do you suppose you could describe what the lines in the program routine mean?

See attached.

Alan

Re: Feed result of equation back into itself? How?

Thanks!