Solved
The comparison of sigma.c and sigma.t returns either 0 (false) or 1 (true) which of course can't be compared to 485 MPa.
You have to write it that way

BTW, you don't have to write the parentheses but I usually add them in such expressions for clarity
But you may also simply write

You may also consider using the if-function instead of the programmed if-statement
![]()
And here is yet another way to achieve the same result
![]()
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


