Functions > Symbolic Functions > Example: Demonstrating Symbolic Functions
Example: Demonstrating Symbolic Functions
This example demonstrate the beta and zeta functions, the digamma and polygamma Psi functions, and the dilog and polylog functions. Use the keyword float with the symbolic evaluation operator to evaluate functions numerically.
The beta and zeta Functions
1. Note the following integral of sin, which is symbolically evaluated to the beta function.
2. Evaluate the beta function when m = 2.
3. Note the following integral and series, which is symbolically evaluated to the zeta function.
4. Evaluate the zeta function for z = 2 and z = 5.
The Digamma and Polygamma Functions
1. Evaluate the digamma function Psi when x = 1 and x = 2.
In the above examples, γ is Euler's constant.
2. Evaluate the polygamma function Psi when z = 1, k = 1 and k = 2.
The dilog and polylog Functions
1. Evaluate the dilog function when x = 2.
2. Evaluate the dilog function when x = 2.0.
3. Limit the result to 10 significant places.
4. Note the following integral, which is symbolically evaluated to the polylog function. The polylog function appears in the result of the following integral.
5. Evaluate polylog and dilog when x = 2.