Commit Graph

8 Commits

Author SHA1 Message Date
HirsuitCadet
0be4dc4f6b Ajout de la loi uniforme 2024-12-20 08:00:13 +01:00
d5e8889148 feat: add examples for Bernoulli, integrals, binomial distribution, and cardinality
- Added examples for Bernoulli experiments including probability of success, failure, and simulation of multiple experiments.
- Added examples for calculating integrals using different methods such as rectangles, Simpson's rule, and the integrate function.
- Added examples for binomial distribution including probability calculations and cumulative probability.
- Added examples for calculating the cardinality of sets including unique elements and empty sets.
2024-12-19 18:04:02 +01:00
a19eaf6684 fix: correct probability calculations for bus waiting times
- Corrected the calculation of P(10 <= X <= 15) to use the correct interval length.
- Corrected the calculation of P(25 <= X <= 30) to use the correct interval length.
- Corrected the calculation of P(0 < X < 5) to use the correct interval length.
- Corrected the calculation of P(15 < X < 20) to use the correct interval length.
2024-12-18 11:47:28 +01:00
8859f4f996 feat: add probability calculations for bus waiting times
- Added code to calculate the probability that a user waits less than five minutes for the next bus.
- Added code to calculate the probability that a user waits more than ten minutes for the next bus.
2024-12-18 11:46:07 +01:00
19b146da0a fix(plot type): correct the plot type in the rectangle method
- Changed the plot type from "list" to "l" for the rectangle method graph.
2024-12-18 11:05:46 +01:00
4ebfe8d1b8 fix(correct the function definition for calculating expectation): correct the function definition for calculating expectation
- Corrected the function definition `fonction_esperance` to use `f(x)`
instead of `(1 - x)^4`.
- Added code to calculate the integral using the
rectangle method.
- Added code to plot the graph of the rectangle method
for the integral.
2024-12-18 11:01:37 +01:00
abb04e6d22 feat(Add bonus to Exercice 51): Ajoute du calcul de l'espérence a l'exercice 51
Ajout du calcul de l'espérence à l'exercice 51
2024-12-18 10:24:54 +01:00
8bc7b2bf58 Initial commit 2024-12-18 10:13:48 +01:00