Question: Experiment with using PercolationPlot to plot various mathematical functions (by replacing the call PercolationProbability.estimate() with a different expression that evaluates a mathematical function). Try the
Experiment with using PercolationPlot to plot various mathematical functions (by replacing the call PercolationProbability.estimate() with a different expression that evaluates a mathematical function). Try the function f(x) = sin x + cos 10x to see how the plot adapts to an oscillating curve, and come up with interesting plots for three or four functions of your own choosing.
Step by Step Solution
3.36 Rating (162 Votes )
There are 3 Steps involved in it
import numpy as np import matplotlibpyplot as plt from scipystats import bernoulli class Percolation... View full answer
Get step-by-step solutions from verified subject matter experts
