Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Maxima, operation between functions

  1. Oct 2, 2014 #1

    fluidistic

    User Avatar
    Gold Member

    Hi guys, I've used google and Maxima's manual but couldn't find what I'm looking for.
    I have defined a function similar to
    Code (Text):
    Z(beta):=beta+3;
    , and another function
    Code (Text):
    P(beta):=beta+7/Z;
    and I am not able to "simplify" P(beta) as beta+7/(beta+3).
    I've tried several commands but all failed. I even tried to define
    Code (Text):
    P(beta):=beta+7/%o1;
    ,
    Code (Text):
    P(beta,Z):=beta+7/Z;
    ,
    Code (Text):
    P(beta,Z(beta)):=beta+7/Z(beta);
    and
    Code (Text):
    P(beta,Z):=beta+7/Z(beta);
    ; all failed.
    Any idea on how I could reach my goal?
     
  2. jcsd
  3. Oct 3, 2014 #2

    fluidistic

    User Avatar
    Gold Member

    Problem solved guys! I found it by "luck"... Answer: evaluate the following cell:
    Code (Text):
    P(beta);
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook