lunes, 9 de abril de 2018

A gallery of interesting Jupyter Notebooks

https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks




A gallery of interesting Jupyter Notebooks

Roxanne Connelly edited this page 5 days ago · 57 revisions
This page is a curated collection of Jupyter/IPython notebooks that are notable. Feel free to add new content here, but please try to only include links to notebooks that include interesting visual or technical content; this should not simply be a dump of a Google search on every ipynb file out there.
Important contribution instructions: If you add new content, please ensure that for any notebook you link to, the link is to the rendered version using nbviewer, rather than the raw file. Simply paste the notebook URL in the nbviewer box and copy the resulting URL of the rendered version. This will make it much easier for visitors to be able to immediately access the new content.
Note that Matt Davis has conveniently written a set of bookmarklets and extensions to make it a one-click affair to load a Notebook URL into your browser of choice, directly opening into nbviewer.

Table of Contents

  1. Entire books or other large collections of notebooks on a topic
  2. Scientific computing and data analysis with the SciPy Stack
  3. General Python Programming
  4. Notebooks in languages other than Python
  5. Miscellaneous topics about doing various things with the Notebook itself
  6. Reproducible academic publications
  7. Other publications using the Notebook
  8. Data-driven journalism
  9. Whimsical notebooks
  10. Videos of IPython being used in the wild
  11. Accessing an IBM quantum computer via notebooks

Entire books or other large collections of notebooks on a topic

Introductory Tutorials

Programming and Computer Science

Statistics, Machine Learning and Data Science

Mathematics, Physics, Chemistry, Biology

Earth Science and Geo-Spatial data

Linguistics and Text Mining

Signal Processing

Engineering Education

Scientific computing and data analysis with the SciPy Stack

General topics in scientific computing

Social data

Psychology and Neuroscience

Machine Learning, Statistics and Probability

Physics, Chemistry and Biology

Economics and Finance

Earth science and geo-spatial data

Data visualization and plotting

Mathematics

Signal and Sound Processing

Natural Language Processing

Pandas for data analysis

Note that in the 'collections' section above there are also pandas-related links, such as the one for an 11-lesson tutorial.

General Python Programming

Notebooks in languages other than Python

These are notebooks that use [one of the IPython kernels for other languages](IPython kernels for other languages):

Julia

The IPython protocols to communicate between kernels and clients are language agnostic, and other programming language communities have started to build support for this protocol in their language. The Julia team has created IJulia, and these are some Julia notebooks:

Haskell

There exists a Haskell kernel for IPython in the IHaskell project.

OCaml

iocaml is an OCaml kernel for IPython

Ruby

Similar to the Julia kernel there exists also a Ruby kernel for IPython.
The interactive plotting library Nyaplot has some case studies using IRuby:

Perl

  • An example showcasing full use of the display protocol with the IPerl kernel.

F#

C#

  • Xamarin Workbooks Create a rich C# workbook for Android, iOS, Mac, WPF, or Console, and get instant live results as you learn these APIs.

Javascript

Miscellaneous topics about doing various things with the Notebook itself

Reproducible academic publications

sábado, 7 de abril de 2018

Arreglar libreria en windows 'api-ms-win-crt-runtime-l1-1-0.dll

Arreglar libreria en windows

api-ms-win-crt-runtime-l1-1-0.dll


How to fix 'api-ms-win-crt-runtime-l1-1-0.dll is missing' Error | Method #1

Introduction

The api-ms-win-crt-runtime-l1-1-0.dll is a Library which is used by various Programs.
After installing some Program it may be missing, destroyed by another program or just some kind of wrong.
In that case, we need to get a new copy of that file and put it into the right folder.

Tutorial

32-Bit Windows

Download the 32-Bit version here: api-ms-win-crt-runtime-l1-1-0.dll
Paste the api-ms-win-crt-runtime-l1-1-0.dll File into the Folder: C:/Windows/System32
Now restart your PC and re-Start the program which had the error.
Now the error should not be appear anymore.

64-Bit Windows

Download the 32-Bit + 64-Bit version here: api-ms-win-crt-runtime-l1-1-0.dll
Paste the api-ms-win-crt-runtime-l1-1-0.dll (64 Bit) into: C:/Windows/System32
Paste the api-ms-win-crt-runtime-l1-1-0.dll (32 Bit) into: C:/Windows/SysWOW64

Buen Sitio para descargar dlls faltantes de windows - Хороший сайт для загрузки отсутствующих DLL-окон

Buen Sitio para descargar dlls faltantes de windows -

Хороший сайт для загрузки отсутствующих DLL-окон

https://www.dllme.com



viernes, 6 de abril de 2018

Ejercicios de Sistemas no lineales. Newton-Raphson para sistemas.

Ejercicios de Sistemas no lineales. Newton-Raphson para sistemas.

http://numat.net/ejerc/nolin/

Sistemas no lineales. Newton-Raphson para sistemas.

Se quiere obtener una solución de un sistema de ecuaciones no lineales, que puede ser bidimensional, tri- o tetradimensional. Se proporciona un vector como aproximación inicial a la solución y se utiliza el método de Newton-Raphson para sistemas para obtener una estimación del valor pedido, partiendo de la aproximación inicial dada. Se construye una tabla en la que aparecen los vectores que resultan en las diferentes iteraciones, y la estimación de los errores absoluto y relativo en cada iteración, considerando la norma del máximo. El vector solución final de la tabla se obtiene con una precisión de al menos 16 decimales correctos. En los ejercicios de dimensión 2 ó 3 también aparece una gráfica en la que se incluyen algunos detalles que aparecieron en la aplicación del método. En el caso 3D la figura se ha rotado para hacer visibles los puntos obtenidos en la tabla.

Birge-Vieta Method and Problems Roots polynomials

https://mat.iitm.ac.in/home/sryedida/public_html/caimna/transcendental/polynomial%20methods/bv%20method.html


Birge-Vieta Method
This is an iterative method to find a real root of the nth degree polynomial equation f(x) = Pn(x) = 0 of the form 

axn + an-1 xn-1 + .  .  . + ax + a0 = 0
The theory can be understood better if we consider the above nth degree polynomial in the form

xn + axn-1 + axn-2 + .  .  . + an-1x + an = 0
If s is a real root of Pn(x) = 0 then Pn(x) = (x-s)Qn-1(x) where Qn-1(x) is an (n-1)th degree polynomial of the form

Qn-1(x) = xn-1 + bxn-2 +  .  .  . + bn-2x + bn-1.
If p is any approximation to s then Pn(x) = (x-p)Qn-1(x) + R where R is the residue which depends on p.
Now starting with p, we can use some iterative method to improve the value of p such that 
R(p) = 0.
If we apply the Newton-Raphson method with a starting value p0, the iterative scheme can be written as

 
pi+1= pi -  Pn(pi)

                     i = 0,1,2...
 P'(pi)
Now by comparing the coefficients of  Pn and (x-p)Qn-1(x) + R we get
a1=b1 - pÞb1=a1 + p
a2=b2 - pb1Þb2=a2 + pb1
.
.
.
.
.
.
.
.
.
.
.
.
ai=b- pbi-1Þbi=ai + pbk-1
.
.
.
.
.
.
.
.
.
.
.
.
an=R - pbn-1ÞR = bn=an + pbn-1
(or)
bi=ai + pbi-1i=1,2,...n
with b0=1 and R = bn=Pn(p)
To find P'n(p), let us differentiate the equation

   bi = ai + pbi-1
with respect to p

Þ                 db/ dp = bi-1 + p (dbi-1 / dp)
if we substitute (db/ dp) = ci-1  then

Þ            ci-1 = bi-1 + pci-2              (or)
                                      ci     = bi + pci-1            i=1, 2, . . ., n-1
Then the  cn-1 obtained from the last equation is nothing but 

ci-1 = db/ dp = dR / dp = P'n(p)
That is the Newton's method now can be written as
pi+1 = pi - bn / cn-1
On convergence this iterative process will give one root p of the polynomial equation Pn(x) = 0. Now the deflated polynomial equation Qn-1(x) = 0 can be used to find the other real roots. 
This method is often called as Birge-Vieta method.

 
Example :
Find the real root of  x3 - x2 - x + 1 = 0
In this problem the coefficients are a0 = 1, a1 = -1, a2 = -1, a3 = 1
Let the initial approximation to p be p0 = 0.5
a0
a1
a2
a3
p0 = 5
+1
-1
-1
+1
+0.5
-0.25
-0.625

+1
-0.5
-1.25
+0.375
(b4 = R) 
+0.5
  0
-0.625

+1
  0
-1.25
 (c2 = R')

  
  
 
p1 = p0 - b4 / c3 = 0.5 - 0.375  = 0.5 + 0.375  = 0.5 + 0.3 = 0.8
-1.25 1.25

  
  
 
a0
a1
a2
a3
p1 = 0.8
+1
-1
-1
+1
+0.8
-0.16
-0.928

+1
-0.2
-1.16
+0.072
(b4 = R)
+0.8
+0.48

+1
+0.6
-0.68
(c2 = R')

  
 
p = 0.8 - 0.072 = 0.8 + 0.072  = 0.8 + 0.1059 = 0.9059
-0.68 0.68

  
 
a0
a1
a2
a3
p2 = 0.9059
+1
-1
-1
+1
+0.9059
-0.0852
-0.9831

+1
-0.0941
-1.0852
+0.0169
(b4 = R)
+0.9059
+0.7354

+1
+0.8118
-0.3498
(c2 = R')

  
 
p3 = 0.905 - 0.0169 = 0.905 + 0.0169  = 0.905 + 0.0483 = 0.9533
-0.3498 0.3498
The exact root is 1.0
Worked out problems
  Find a root and the corrponding polynomial factor for the following polynomial equations
 Exapmple 1  x4 - 3x3 + 3x- 3x + 2 = 0 Solution
 Exapmple 2 x4-x-10 = 0 Solution
 Exapmple 3 x- 6x2  + 11x  - 6 = 0 Solution
 Exapmple 4 x- 4x+ 5x - 2 = 0 Solution
 Exapmple 5 x- x+ 3x+ x - 4 = 0 Solution
 Exapmple 6 x- x - 4 = 0 Solution
Problems to workout