Advertisement
Serafim_

Минимизация начало

Apr 11th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import numpy as np
  2. import matplotlib.pyplot as plt
  3. from scipy.optimize import minimize
  4. import scipy.interpolate
  5. import scipy.integrate
  6. def opt(x):
  7.     y=3*x*x+2
  8.     return y
  9. print opt(4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement