The symbol shown is called theta
Evaluate the function at 0, 2, 5, 0.5, and x+theta
Then, unassign the function using either method.
> g:=theta->theta+sin(theta^2)/cos(theta)^2;
![[Maple Math]](../images/vars-01a10.gif)
> g(0);
![]()
> g(2);
![[Maple Math]](../images/vars-01a12.gif)
> g(5);
![[Maple Math]](../images/vars-01a13.gif)
> g(0.5);
![]()
> g(x+theta);
![[Maple Math]](../images/vars-01a15.gif)
> g:='g';
![]()
> g(x);
![]()
Note: You will have to use expand() in your function so Maple will multiply the polynomials.
> p:=(a,b)->expand((x+a)*(y+b));
![]()
> p(2,5);
![]()
> p(8,0.5);
![]()
> p(5,-5);
Pi, Pi/4, 2*Pi, and 128*Pi
> f:=x->sin(x),x->cos(x),x->tan(x);
![]()
> x(Pi);
![]()
> x(Pi/4);
![]()
> x(2*Pi);
![]()
> x(128*Pi);
![]()