Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started