Question: Please help

Question:Please help

ktluu78 4 Maple
Hi, I am using Maple to carry out some structural analysis of a beam member. Now, i am facing with a programing problem and I need your help desperately. The beam member being studied can either be in tension or compression. Compressive or tensile reponses are governed by an equilibrium equation and whether or not this equation produces a valid solution. At first, the member is assumed to be in compression and compressive reponses lead to the equilibrium equation. If this equilirium equation does not produce any solutions then the initial assumption is incorrect and the tension case is considered. My problem starts here. I want to make the program switch automatically between compression and tension cases but I dont know how to construct the 'switching criteria' which is " the equilibrium equation does not produce any solution"..So my questions are: Is there any built-in test/check in Maple to see if there exists a solution to an equation without having to solve the equation? Is it possible to construct an IF statement as: IF "the equilibrium equation does not produce a solution" then... If not, are there any programming tricks to make the program switch automatically between cases with such 'switching criteria'? Your help and suggestions are greatly appreciated. Kenny
Please Wait...