# heun_b function

Biconfluent Heun function: the solution of the biconfluent Heun equation that is 1 at zero.

## How to write it

### heun_b(q, alpha, beta, gamma, sigma, z)

Solves z y'' + (beta + gamma z + sigma z^2) y' + (alpha z - q) y = 0.

**q**

The accessory parameter. Takes an expression.

**alpha**

A parameter of the equation. Takes an expression.

**beta**

A parameter of the equation. Takes an expression.

**gamma**

A parameter of the equation. Takes an expression.

**sigma**

A parameter of the equation. Takes an expression.

**z**

The argument. Takes an expression.

## Examples

- $\displaystyle \operatorname{heun\_b}(1, 1, 1, 1, 1, 0.5) \approx 1.4181489134540632$

  `numeric(heun_b(1, 1, 1, 1, 1, 0.5))`

  In the solver, `numeric(heun_b(1, 1, 1, 1, 1, 0.5))` gives `1.4181489134540632`.

  [Open in the solver](https://hilberon.com/?q=numeric%28heun_b%281%2C%201%2C%201%2C%201%2C%201%2C%200.5%29%29)

## Functions its examples use

- [numeric](https://hilberon.com/library/numeric)

  Approximate a number with decimals.

## Related functions

- [heun_b_prime](https://hilberon.com/library/heun_b_prime)

  Derivative of heun_b with respect to z; diff of heun_b writes it this way.
- [heun_c](https://hilberon.com/library/heun_c)

  Confluent Heun function: the solution of the confluent Heun equation that is 1 at zero, for |z| \< 1.
- [heun_c_prime](https://hilberon.com/library/heun_c_prime)

  Derivative of heun_c with respect to z; diff of heun_c writes it this way.
- [heun_d](https://hilberon.com/library/heun_d)

  Doubly confluent Heun function: the solution that is 1 with slope 0 at z = 1, for |z - 1| \< 1.
- [heun_d_prime](https://hilberon.com/library/heun_d_prime)

  Derivative of heun_d with respect to z; diff of heun_d writes it this way.
- [heun_d_second](https://hilberon.com/library/heun_d_second)

  Doubly confluent Heun function: the solution that is 0 with slope 1 at z = 1, for |z - 1| \< 1.

---
Source: https://hilberon.com/library/heun_b
