Nov-11-2017, 08:07 PM
import numpy as np import matplotlib.pyplot as plt plt.clf() u=5; E=1000; w = np.linspace(0, 100000,100000) f1= ((w*u)/(np.sqrt(1+(((w*u)/E)**2)))) plt.plot(w, f1) axes = plt.gca() axes.set_xscale('log') axes.set_yscale('log') axes.set_xlim([0, 10E4]) # x-axis bounds axes.set_ylim([0, 10E4]) # y-axis bounds plt.show()This is how my graph should look like:
Image Graph should look