Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # w = 200
  2. # e = exp(1)
  3. # v = 1/60
  4. # T = 50
  5.  
  6. # def law(e,w,v,t):
  7. # return 50+e**(w*v*((t**2)/2))
  8.  
  9. # def cooling(e,w,v,t,T):
  10. # ts = odeint(partial(law,v,T),T,t)
  11. # print('temp',ts)
  12. # print('time',t)
  13. # return ts
  14.  
  15. # time = np.linspace(0,20,21)
  16. # a = cooling(e,w,v,time,T)
  17. # pyplot.plot(time, a)
  18. # pyplot.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement