lean_workbook_plus_52930
ProvedLooking at the problem, it's asking for what fraction of the entire group passed. Therefore, if we can figure out the fraction of the group that is juniors and the fraction that is seniors, multiply those by 3/5 and 6/7, respectively, and add them together we will have our answer. If we assign variables = juniors and = seniors, we have . Simplifying we have . This means . We now know that juniors are 20/41 of the group and seniors are 21/41 of the group. Therefore, the fraction of the whole group that passed is .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_52930 (j s : ℝ) (h₀ : 0 < j ∧ 0 < s) (h₁ : j + s = 1) (h₂ : (3 / 5) * j = (2 / 3) * (6 / 7) * s) : (3 / 5) * j + (6 / 7) * s = 30 / 41 := by sorry
Source