What is the expected area of a right triangle with a hypotenuse of 5 whose non-right angles are uniformly distributed over the interval ( 0 , 2 π ) ?
If the answer is A , then input ⌊ 1 0 0 0 A ⌋ .
Notation:
⌊
⋅
⌋
denotes the
floor function
.
Bonus: Generalize this for any hypotenuse k , if you may. :)
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
What if instead of uniformly choosing the angle, we uniformly chose the altitude instead? I believe that would give a different answer.
Log in to reply
Upon verification, that is true. I will edit the problem accordingly.
Let one of the non-right angle be x , then the probability of uniformly distributed random variable X is given by P ( a ≤ X ≤ b ) = ∫ a b 2 π 1 d x = ∫ a b π 2 d x .
Since the area of the right triangle with hypotenuse of k is A △ = 2 k 2 sin x cos x = 4 k 2 sin 2 x , then the expected value of A △ is as follows:
E ( A △ ) = ∫ 0 2 π π 2 ⋅ 4 k 2 sin 2 x d x = − 4 π k 2 cos 2 x ∣ ∣ ∣ ∣ 0 2 π = 2 π k 2
For k = 5 , E ( A △ ) = A = 2 π 2 5 ≈ 3 . 9 7 8 8 7 , ⟹ ⌊ 1 0 0 0 A ⌋ = 3 9 7 8 .
Problem Loading...
Note Loading...
Set Loading...
If the hypotenuse of such triangle is 5 , then its legs are 5 sin θ and 5 cos θ for some angle θ such that 0 < θ < 2 π .
The area of this triangle is 2 2 5 sin θ cos θ .
Now, to find its expected area over the inteval ( 0 , 2 π ) , we do
A = 2 π − 0 ∫ 0 2 π 2 2 5 sin θ cos θ d θ
A = π 2 5 2 sin 2 θ ∣ ∣ ∣ ∣ ∣ 0 2 π
A = 2 π 2 5 ≈ 3 . 9 7 8 8 7 3
Hence, ⌊ 1 0 0 0 A ⌋ = 3 9 7 8 .