Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

natural log and log base 10 in python

# Natural log in python and log base 10
import numpy as np
#natural log in python
x = np.log(8)
#log base 10 in python
x2 = np.log10(8)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #natural #log #log #base #python
ADD COMMENT
Topic
Name
3+4 =