Skip to content

g-ar/sagecodes

Repository files navigation

This directory contains computation codes for Sagemath.

Current list of questions

sagecode.py

  1. https://math.stackexchange.com/questions/798412/expected-value-of-a-sum-of-a-10-sided-die

  2. https://math.stackexchange.com/questions/811516/probability-that-yz-1-xz-2

  3. 'n' numbers are chosen randomly and uniformly in (0,1). What is the probability that the sum of the cubes of numbers is less than 1 ?

  4. Generalized birthday problem

  5. Partition generating function for odd no of even parts <=10

  6. Deriving the generating function for a given linear recurrence

  7. Fitting a curve for given data

    sagecode-2.py

  8. Expected value of c in the snippet of code

  9. A small variation of 8

  10. https://math.stackexchange.com/questions/827568/how-many-ways-can-n-spaces-be-used-with-blocks-of-size-le-n-or-leave-empty

  11. https://math.stackexchange.com/questions/823422/what-is-the-number-of-condensed-products-in-each-term-of-this-sequence

  12. https://math.stackexchange.com/questions/835458/expected-value-of-two-successive-heads-or-tails-stuck-on-computation

sagecode-3.py

  1. https://math.stackexchange.com/questions/835008/in-how-many-ways-can-7-girls-and-3-boys-sit-on-a-bench-in-such-a-way-that-every

  2. https://math.stackexchange.com/questions/838659/football-game-penalty-kicks-maximizing-winning-chances

  3. https://math.stackexchange.com/questions/656310/8-cards-are-drawn-from-a-deck-of-cards-without-replacement

  4. https://math.stackexchange.com/questions/846442/generating-function-probability-regaridng-coin-toss

  5. http://math.stackexchange.com/questions/850857/an-archery-game

sagecode-4.py

  1. http://math.stackexchange.com/questions/854039/biology-how-to-find-the-probability-of-randomly-generating-multiple-sequential

  2. https://math.stackexchange.com/questions/911571/probability-rolling-a-dice-5-times/

  3. https://math.stackexchange.com/questions/1334544/off-by-1-lottery-probability/

About

Collection of problems solved analytically in Sage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages