-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
I made a slight mistake in the progam, which shouldn’t effect the probabilities much, but I haved fixed it here :
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats = 1000;int wins = 0;
for(int i = 0; i <= repeats; i++) {
// Place the car behind a random…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
I made a slight mistake in the progam, which shouldn’t effect the probabilities much, but I haved fixed it here :
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats = 1000;int wins = 0;
for(int i = 0; i <= repeats; i++) {
// Place the car behind a random…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
Turns out I recalled the solution inncorectly. I wrote a simulation to test the problem, swapping doors idoes mprove your chances of winnining.
Copy the following text into https://www.compilejava.net/ to run the program in your browser
import java.util.Random;
public class MontyHall
{
public static float calculateProbability(int doors, boolean…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
Turns out I was wrong, I wrote a simulation and it does improve your probablity of winning.
Copy the following text into https://www.compilejava.net/ to run the program in your browser
import java.util.Random;
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats =…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
Switching doors doesn’t statistically improve your chances of winning the car, the Monty Hall problem is a good example of how raw probabilities can be misleading.
The easiest way to demonstrate this would be to write two computer programs that randomly select doors. The first program always switches doors, the other will always keep it’s door.…[Read more]
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
Switching doors doesn’t statistically improve your chances of winning the car, the Monty Hall problem is a good example of how raw probabilities can be misleading.
The easiest way to demonstrate this would be to write two computer programs that randomly select doors. The first program always switches doors, the other will always keep it’s…[Read more]
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
I’m not sure how much I agree with this. From my experience most people who go to university are of average or below average intelligence. And if they already had knowledge then there is no purpose in them attending a university course.
There are still people who believe that today.
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 3 months ago
-
Summer38 changed their profile picture 8 years, 3 months ago
-
Summer38 changed their profile picture 8 years, 3 months ago
-
Summer38 changed their profile picture 8 years, 3 months ago
-
Summer38 changed their profile picture 8 years, 3 months ago
-
Fossill changed their profile picture 8 years, 3 months ago
-
Fossill changed their profile picture 8 years, 3 months ago
-
fifi changed their profile picture 8 years, 3 months ago
-
king_strongbow replied to the topic Making Computer based music and DJing………. in the forum Art, poetry, music and film 8 years, 3 months ago
Yeah they were big when I was growing up… I liked Vanilla Ice, I think his rap song was the 1st song I ever learned word for word as a kid lol Alright stop, collaborate and listen :)
-
Fossill changed their profile picture 8 years, 3 months ago
-
king_strongbow replied to the topic Making Computer based music and DJing………. in the forum Art, poetry, music and film 8 years, 3 months ago
This guy did it Mister, huge now, does gigs with bieber, west…
He has a few videos of him making tracks using software…
-
Fossill changed their profile picture 8 years, 3 months ago
-
cupcake changed their profile picture 8 years, 3 months ago
- Load More
