Simple equations whose plot looks like field grass
( go to the article → https://www.johndcook.com/blog/2020/09/24/fieldgrass/ )
Math Overflow has an interesting question about unexpected mathematical images. Here’s a response from Payam Seraji that was easy to code up. Here’s the code that produced the image. from numpy import * import matplotlib.pyplot as plt t = linspace(0, 39*pi/2, 1000) x = t*cos(t)**3 y = 9*t*sqrt(abs(cos(t))) + t*sin(0.2*t)*cos(4*t) plt.plot(x, y, c="green") plt.axes().set_aspect(0.3) plt.axis('off')
The post Simple equations whose plot looks like field grass first appeared on John D. Cook.
Sept. 24, 2020, 11:35 p.m.
You may be interested in:
Newest in: Math
Drawing commutative diagrams with Quiver
