Question: How to set a domain / boundaries for an expression (function)

Hey Is it possible to specify a domain or boundaries for a function / expression and if so, how to do it? Here is an example of want I want to do: If I have the following function f(x)=x^2 and solve this problem solve(f(x)=4,x) I get the answers x=-2 or x=2, but I want to be able to specify that x has to be greater than 0 (0solve(f(x)=2,x)|x>0 but I can't in Maple. Generally I could use | to assign values and limitations to expressions. Can I do something similar in Maple? I apologize if I'm not expressing mathematics 100% correct / specific, but English isn't my first language and I takes time getting used speaking mathematics in english. Best regards Wuhtzu
Please Wait...