Consider a 5-dimensional space with dimensions A , B , C , D , E . A hypercube is parametrized in the following way:
0 ≤ A ≤ 1 0 ≤ B ≤ 1 0 ≤ C ≤ 1 0 ≤ D ≤ 1 0 ≤ E ≤ 1
What fraction of the hypercube's volume consists of points satisfying all of the following criteria simultaneously?:
A ≥ B 2 B ≤ s i n ( C ) e D ≥ 2 3 A E ≥ 2 1
Details and Assumptions:
- The constant
e
is Euler's Number
- Give your answer as a number between
0
and
1
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.
The problem has a closed form solution.
FullSimplify [ Reduce [ a ≥ b 2 ∧ b ≤ sin ( c ) ∧ e d ≥ 2 3 ∧ a e ≥ 2 1 ∧ 0 ≤ a ≤ 1 ∧ 0 ≤ b ≤ 1 ∧ 0 ≤ c ≤ 1 ∧ 0 ≤ d ≤ 1 ∧ 0 ≤ e ≤ 1 ] ] ⟹ lo g ( 2 3 ) ≤ d ≤ 1 ∧ ( ( e ≤ 1 ∧ ( ( a = 1 ∧ 2 e ≥ 1 ∧ ( ( c ≤ 1 ∧ ( ( b = 0 ∧ c ≥ 0 ) ∨ ( b < sin ( 1 ) ∧ b > 0 ∧ c ≥ sin − 1 ( b ) ) ) ) ∨ ( b = sin ( 1 ) ∧ c = 1 ) ) ) ∨ ( a 1 ≤ 2 e ∧ ( ( a < 1 ∧ ( ( c ≤ 1 ∧ ( ( b = 0 ∧ 2 a > 1 ∧ c ≥ 0 ) ∨ ( b > 0 ∧ a ≥ sin 2 ( 1 ) ∧ c ≥ sin − 1 ( b ) ∧ b < sin ( 1 ) ) ) ) ∨ ( a ≥ sin 2 ( 1 ) ∧ b = sin ( 1 ) ∧ c = 1 ) ) ) ∨ ( a < sin 2 ( 1 ) ∧ 2 a > 1 ∧ a ≥ b ∧ b > 0 ∧ c ≤ 1 ∧ c ≥ sin − 1 ( b ) ) ) ) ) ) ∨ ( 2 a = 1 ∧ c ≤ 1 ∧ e = 1 ∧ ( ( b = 0 ∧ c ≥ 0 ) ∨ ( b ≤ 2 1 ∧ b > 0 ∧ c ≥ sin − 1 ( b ) ) ) ) )
Eliminate clauses where a variable is only equal to a value as ∫ z z f ( x ) d x is 0 .
lo g ( 2 3 ) ≤ d ≤ 1 ∧ sin − 1 ( b ) ≤ c ≤ 1 ∧ 2 a 1 ≤ e ≤ 1 ∧ ( ( 2 1 < a < sin 2 ( 1 ) ∧ 0 < b ≤ a ) ∨ ( sin 2 ( 1 ) < a < 1 ∧ 0 < b < sin ( 1 ) ) ) ⟹ 3 6 1 ( lo g ( 2 3 ) − 1 ) ( 3 π 2 + 2 0 2 − 1 8 + cos ( 3 ) + 3 6 lo g ( − ( 2 − 2 ) cot ( 2 1 ) ) + 9 cos ( 1 ) ( 4 lo g ( sin ( 1 ) ) − 5 ) ) ≈ 0 . 0 4 1 8 7 8 4 3 1 7 4 6 3 9 7 1 8 6 6 5 3 .
Problem Loading...
Note Loading...
Set Loading...
This is a simple aplication of the monte-carlo simulation the idea is to just generate a lot of random points and see which ones fit your criteria. Here is my implementation of the solution, I also added some a nice plots to see how the ratio converges. I'm doing 10 simulations with 10000000 points each which gives me 100000000 points to get a good aproximation and allows me to estimate the error by calculating the standard deviation of the outputs, from that I got this as a final result:
Mean: 0.041853749999999995 Standard deviation: 6.970503927263917e-05
Here is my code:
And here are 2 of my plots: