Solving a positive square-root equation
ProvedWorkbookSource.problem_24733lean-workbooksource-checked
We let be the slower boat speed. Then is the faster boats speed. In hours the slower boat will have gone km and in hours the faster boat will have gone km. We use LoC (Law of Cosines) to find the distance between boats is . Setting gives us km/h.
Source: InternLM Lean-Workbook, record lean_workbook_24733 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_24733 (s : ℝ) (h₀ : 0 < s) (h₁ : Real.sqrt (3 * s^2 + 25) = 10) : s = 5 := by sorry
Source