Plots the nth-degree Taylor series approximation for an explicit function.

  • Parameters

    • func: ChalkboardFunction

      The function

    • n: 0 | 1 | 2
    • a: number
    • config: {
          context: CanvasRenderingContext2D;
          domain: [number, number];
          lineWidth: number;
          res: number;
          size: number;
          strokeStyle: string;
          x: number;
          y: number;
      }

      The configuration options

    Returns number[][]