New user, really need some help writing my first loop
Hello, I am new to MathCAD and need some help writing a loop. I have done this in MATLAB before when I was in college, but it seems like MathCAD works a bit differently and I just can't figure it out.
I have two variables for which I am inputting to a starting value, say A:= 1.5 and Dp:=3. Then there are a few lines of equations that all use A and Dp, and eventually output a final value that I named Apercent. My goal is to have the program automatically increase the inputs A and Dp from their starting values until Apercent is at least 100.
My plan is to create a while loop that says "while Apercent is less than 100, A will increase by 1/16 at a time. But if I reach an iteration where increasing A no longer increases Apercent, stop increasing A and instead start increasing Dp by 1/16". But I can just not figure out how to write this in MathCAD. Can anyone please help me and show me the proper formatting?

