Presets
Playback
Keys: Space = jump, Up/Down = angle, Left/Right = speed.
Jump
World
River and fish
Croc buoyancy
Floating log
Time
Camera
Layers
Quality
Model check
The science
1. The jump is a projectile
Once the crocodile leaves the water, only gravity (and a little air drag) acts on it. Horizontal and vertical motion are independent:
x = v·cosθ · tandy = y₀ + v·sinθ · t − ½·g·t²- Landing on the water level from height y₀:
R = (v·cosθ / g) · ( v·sinθ + √(v²·sin²θ + 2·g·y₀) ). With y₀ = 0 this becomesR = v²·sin 2θ / g, so 45° gives the longest jump. Because the croc launches slightly above the water (y₀ = 0.4 m here), the best angle is a little below 45°. - Time in the air
T = R / (v·cosθ); highest pointy₀ + v²·sin²θ / 2g. - On the Moon (g = 1.62), Mars (3.71) or Jupiter (24.79) the same speed gives a range proportional to 1/g.
2. Energy and air drag
Without drag the total energy ½·m·v² + m·g·y stays constant: kinetic energy turns into potential energy on the way up and back again on the way down (see the energy graph). With air drag the force F = ½·ρ·Cd·A·v² (ρ = 1.2 kg/m³) opposes the motion, and the energy lost equals the work done by that force. The acceleration from drag is F/m, so mass only matters when drag is on: a 3 kg rubber croc is slowed a lot, a 250 kg real one hardly at all. Real air drag on a heavy animal at these speeds is tiny; the sliders let you explore how it grows for light objects.
3. Floating: Archimedes
A body in water feels an upward force equal to the weight of the water it displaces: Fb = ρwater·g·Vsubmerged. A floating body settles where this equals its weight, so the submerged fraction is ρbody / ρwater (water = 1000 kg/m³). A croc with density 800 kg/m³ floats 80 % under water; above 1000 kg/m³ it sinks. Real crocodiles change their density by filling or emptying their lungs and by swallowing stones. Bobbing after a splash is a damped oscillation with angular frequency ω = √(ρw·g / (ρc·H)) for a body of height H.
4. The floating log
A horizontal log of radius r and length L displaces the area of the circular segment below the water line: A(d) = r²·acos((r−d)/r) − (r−d)·√(2rd − d²). It floats at the draught d where ρw·A(d)·L = mlog + mcroc. If the total mass is more than the water the whole log could displace, ρw·π·r²·L, the log cannot carry the croc and sinks. A thin log or heavy wood leaves less spare buoyancy.
Honest simplifications
- The croc is a point mass in a vertical plane; it does not rotate under torque, and the launch speed is simply chosen by you (a real croc can leap only about one body length out of the water, nothing like 7 m). Think of this as a toy cannon for learning the physics.
- Splash entry loses 70 % of the vertical speed by a fixed rule, not by fluid dynamics; waves, currents and the log drifting are not modelled (the log is tied in place).
- The body is treated as a box of height 0.5 m for buoyancy; the drag area and the croc density are free parameters.
- Numerical checks run live in the "Model check" panel: the simulated range against the closed formula, the energy balance with drag, the simulated float depth against Archimedes and the log draught against the circular-segment solution.