Inverse function Posted on 2017-03-14 | Edited on 2020-06-16 | In python 123456789101112#!/usr/bin/pythonimport numpy as npimport matplotlib.pyplot as plotN = 10000X0 = np.random.rand(N)X1 = 3*X0Y = np.power(9*X1, 1.0/3)t = np.arange(0.0, 3.0, 0.01)y = t*t/9plot.plot(t, y, 'r-', linewidth=1)plot.hist(Y, bins=50, normed=1, facecolor='green', alpha=0.75)plot.show()