Hi guys,
I'm trying to do a simple calculation of the middle third rule. What I want to achieve is shown in the spreadsheet but the issue is that if the condition ex/L+ey/B<1/6 is met only then I want the program to calculate the pressure otherwise just get a message like "N/A". Can the result be either a scalar or a text? I tried to put be a scalar with "N/A" for each of its elements but got an error message again, it seems that it accepts only numerical values
Any help will be much appreciated!
cheers,
Eleni
Solved! Go to Solution.
Hi,
I put it in a program and find the solution. Thanks anyway.
Cheers,
Eleni
Hi,
I put it in a program and find the solution. Thanks anyway.
Cheers,
Eleni
Hi,
Strange how this works. So if I use the equal sign to the variable definition, I got an error saying that the variable should be a scalar or a matrix but if I don't and just write in a different row the variable, I go the correct message! But then, I don't get the Pressure although I have define it inside the program.
Any idea why this happens?
cheers,
Eleni
Hi,
yes, I get it.
cheers,
Eleni