#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon May  6 14:57:37 2019

@author: troll
"""

import numpy as np
from matplotlib import pyplot as plt


# (a)
def chebcoef(f, n):

    return #c


# (b)
def chebval(c,X):

    return #y


# (c)
f=lambda x:1/(1+25*x**2)




# Minitest für Sie: Wieso sollte die Ausgabe eine seeehr kleine Zahl sein?
'''
xt=np.linspace(-2,3,100)
ft=lambda x:x**5-1.7*x**4
print(np.linalg.norm(ft(xt)-chebval(chebcoef(ft,5),xt)))
'''