Generation

generate functionSun, 25 Jun 2023

Dibujar la siguiente función F(x)= sin(1/x)

import numpy as np import matplotlib.pyplot as plt %matplotlib inline def g(x): return np.sin(1/x) x = np.linspace(-2,2,100) plt.plot(x, g(x))

Want to kickstart your project?Use the new AI Studio to create your code