Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Creaing your own functions

import numpy as np
def f(x):
    return x**3 - np.log(x)

print(f(3))
print(f(5.1))
Source by kitchingroup.cheme.cmu.edu #
 
PREVIOUS NEXT
Tagged: #Creaing #functions
ADD COMMENT
Topic
Name
1+7 =