Guest User

Untitled

a guest
Jan 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1.  
  2. a= num.array( [
  3.     [ 0, 0, 1, 0 ],
  4.     [ 3* x1**2, 2* x1,  1, 0 ],
  5.     [ 0, 0, 0, 1 ],
  6.     [ x1**3,   x1** 2, x1, 1 ] ] )
  7.  
  8. b= num.array( [ 0, 0, y0, y1 ] )
  9. c= num.linalg.solve( a, b ) #always float?
  10. ay= num.dot( ax, c )
Add Comment
Please, Sign In to add comment