Question: Sum of functions

It is necessary that the expressions are combined in a new function. So as I'm trying not is obtained.
 

restart; x := 5; y := 10; f := proc (x, y) options operator, arrow; x+y end proc; f2 := proc (x, y) options operator, arrow; x^2+y^3 end proc; f3 := proc (x, y) options operator, arrow; f+f2 end proc; f3(x, y)

5

 

10

 

proc (x, y) options operator, arrow; x+y end proc

 

proc (x, y) options operator, arrow; x^2+y^3 end proc

 

proc (x, y) options operator, arrow; f+f2 end proc

 

f+f2

(1)

``


 

Download testmaple.mw

Please Wait...