Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: davecom/ClassicComputerScienceProblemsInPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: antoniomolinabravo/ClassicComputerScienceProblemsInPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 1, 2023

  1. Optimizando calculo de Pi con promedios en cascada

    calcula Pi en una secuencia con promedios en cascada
    reduce el numero de iteraciones y aumenta la precisión rápidamente
    aporte realizado por Antonio Molina
    
    Como:
    -Calcula el promedio para los N últimos números de la secuencia
    -a continuación calcula los promedios de los resultados
    -y luego itera al siguiente nivel realizando calculando el promedio hasta que solo queda un numero
    
    results:
    iter, prom
      9,   6   err:5e-5    3.14153820036173
     11,   7   err:6e-6    3.1415986833943497
     29,   18  err:9e-15   3.1415926535897833
    antoniomolinabravo authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    10316ce View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.