-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/- | ||
Copyright (c) 2023 David Renshaw. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: David Renshaw | ||
-/ | ||
|
||
import Mathlib.Data.Real.Basic | ||
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic | ||
|
||
/-! | ||
# USA Mathematical Olympiad 1996, Problem 1 | ||
Prove that the average of the numbers n⬝sin(n π / 180) | ||
for n ∈ {2,4,6,…,180} is 1/tan(π/180). | ||
-/ | ||
|
||
namespace Usa1996Q1 | ||
open BigOperators | ||
|
||
theorem usa1996Q1 : | ||
(1 / (n:ℝ)) * ∑ n in Finset.range 90, (2 * (n+1)) * Real.sin ((2 * (n+1)) * Real.pi / 180) | ||
= 1 / Real.tan (Real.pi / 180) := by | ||
sorry |