Question: Please Help. How do I declare symbol?

Hi all.

I want to know how do I declare symbol in maple. Say y=2x+b, I want maple to treat this y as a function of x with b as a constant (or symbol). How should I do that?

More specificaly, I am trying to ask maple to do some calculation for me. and it returns me "Fail". So I am suspecting that maple didn't take other letters as symbol. Here is my code:

 

with(Statistics); h := RandomVariable(Exponential(H)); simplify(PDF(h, t))

with(Statistics); g := RandomVariable(Exponential(G)); simplify(PDF(g, t))

constants := constants, Ps Pr

PDF(Ps*g*h/(Pr*g+2), t)

 

 

but maple return:

          Fail

 

 

 

Please Wait...