# -*- coding: utf-8 -*-
"""
Created on Tue Nov 17 11:24:22 2026

@author: François Coulombeau
"""
import numpy as np
import matplotlib.pyplot as plt

def f(x):
    return sum([np.sin(3**n*x)/2**n for n in range(20)])

X = np.linspace(-0.1,0.1,10000)
Y = f(X)

plt.plot(X,Y)