Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- arreglo1 = np.array([2, 3, 5, 7, 11])
- arreglo2 = np.array([13, 17, 19, 13, 29])
- print(arreglo1 * 2)
- print(arreglo1 + 5)
- print(arreglo1 + arreglo2)
- print(arreglo1 * arreglo2)
- def f(x):
- return 3 * x ** 2 - 2 * x + 7
- print(f(arreglo1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement