How to program in Mathcad
Hello,
I have a variable that will be called "S". I would like to be able to have a program in Mathcad that calculates a range for "S ", so the smallest value will be called Smin, and the largest value is Smax. we need to define another variable "Increment" so that the program will be checking between Smin and Smax by incrementing based on the user input for "Increment".
Each value of satisfactory S that falls between Smin and Smax must satisfy the following conditions :
S/D <= 1.5 where D is the Opening diameter defined by the user.
S/D>1.08
Ratio#1 <=1.0
Ratio #2 <= 1.0
The first S value that satisfy the above conditions will be called Smin, then we increment based on a user input value for the variable "Increment". so the second value for S will be the first value that satisfies the above conditions + increment and so on. we keep iterating until we reach the maximum value for S that satisfies the above conditions and this will be called Smax.
Thanks a lot to all the helpers!

