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

Program with 2 for loops and a while

Highlighted
Level 7

Program with 2 for loops and a while

Hi!
I'm trying to write a small program that calculates a new force for each increment. Each force will calculate the von mises stress at different angles


Edit:
My desired output is the force (for each increment), von mises stress and corresponding angle just before the yield criterion.  (see file)

Not sure how to finish off my program.


Regards 
Sigurd

 

Thank you!

ps.
Mathcad 2014

2 REPLIES 2

Re: Program with 2 for loops and a while

It is a good trick to use the return operator in programs

yj1.png

Re: Program with 2 for loops and a while

Try this: