Question: Give me the output of this python code please ________ #Logarithm function import numpy as np import matplotlib.pyplot as plt plt.style.use('ggplot') x=np.arange(0.001,1.,0.001) plt.figure(figsize=(12,4),dpi=150) plt.subplot(1,3,1) plt.plot(x,np.log(x))

Give me the output of this python code please ________ #Logarithm function import numpy as np import matplotlib.pyplot as plt plt.style.use('ggplot') x=np.arange(0.001,1.,0.001) plt.figure(figsize=(12,4),dpi=150) plt.subplot(1,3,1) plt.plot(x,np.log(x)) plt.ylim(-5,5) plt.title('$\log (x)$') plt.subplot(1,3,2) plt.plot(x,-np.log(x)) plt.ylim(-5,5) plt.title('$-\log (x)$') plt.subplot(1,3,3) plt.plot(x,-np.log(1-x)) plt.ylim(-5,5) plt.title('$-\log (1-x)$') plt.show()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!