Question: Incorrect result of function

I try to assign a value "y" function "g" but not working. Should be g(0.5,y)=800, but it is not appear in screen. Regards.

value_function.mw

> 

``

> 

restart

> 

``

> 

``

> 

``

> 

g(.5, y) := 200*y;

200*y

(1)
> 

y := 4;

4

(2)
> 

g(.5, y)

g(.5, 4)

(3)
> 

``

> 

``



Download value_function.mw

 

Please Wait...