Path: blob/master/exams/Examen_2020_2_02_enunciado.ipynb
934 views
I) The period of a pendulum of length l oscillating at a large angle is given by where is the period of the same pendulum at small amplitudes. Any numerical evaluation of the integral as is would fail (explain why). If we change the variable by writing: we can get: which is a well-behaved integral. Write a program to use the above integral to calculate the ratio for integral amplitudes . Output these values as a pandas dataframe showing the amplitude in degrees and radians as well as , and make a plot with the two columns. Explain the result when
II)
Casas-Ibarra parameterization
Consider a symmetric matrix . We can assumme without lost of generality that this can be generated from a matrix such that Theorem 1 gurantees that exists an ortogonal matrix such that where where are the eigenvalues of . Therefore where Therefore, exists an ortogonal arbitrary matrix , such that
In this way, the matrix can be parameterized in terms of as
By using the previous equations, build a matrix with the following conditions
is an orthogonal matrix with a mixing angle as a random number between . Use your identification number as the seed of the random number generator.
The eigenvalues are and .
is a diagonalization matrix with mixing angle
Build the matrix and check that has the proper eigenvalues and eigenvectors