Demo entry 6636623

rgtar

   

Submitted by anonymous on Aug 28, 2017 at 10:35
Language: TeX. Code size: 124 Bytes.

from scipy import optimize
def func(x, m, t):
    y = m * x + t
    return y

x0 = optimize.fsolve(func, 1, args=(1,4))

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).