Guest User

Velocidad relativa en una colisión por alcance

a guest
Jan 30th, 2012
167
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. v0 = 33.33
  3. a = 8
  4. t0 = 1
  5.  
  6. set xrange [0:(v0*t0)*1.1]
  7. set yrange [0:a*t0*1.1]
  8. set key outside horizontal bottom
  9.  
  10. set samples 2001
  11.  
  12.  
  13. dv(d, v0, a) = d < (a*t0*t0/2) ? sqrt(2*d*a) : d < (v0*t0-a*t0/2) ? a*t0 : sqrt(2*a*(v0*t0-d))
  14.  
  15.  
  16. set xl "Distancia / m"
  17. set yl "Velocidad de colisión/ m/s"
  18.  
  19. plot dv(x, 14, 2) t "50km/h, f. suave"
  20. replot dv (x, 14, 7.95) t "50km/h, f. brusca"
  21. replot dv(x, 33.33, 8) t "120km/h, f. brusca"
RAW Paste Data