I'd like to write a code to get the circled a0, a1, a2... and a50.
I thought we could do it roughly like this, but it's not possible. Masters, please help me.python
Put the beta n in the question in a list named b so that b, b, b, etc. are beta0, beta1, beta2, etc., and similarly put the alpha n in a list named a, a, a etc. represent alpha0, alpha1, and alpha2.
The value of the a list obtained in this way is the same as the result above.
However, this result differs from the annual fraction ([1:2,2,2,2,2...]) of sqrt(2). 1.414 not exactly sqrt(2)... Because we used an approximate value, we go back and get a value other than 2.
In the given formula, b0! = b1 but b1 == b2. Since the equation for obtaining b3 from b2 is the same as the equation for obtaining b2 from b1, b1 == b2 == b3 == b4 == ... You can see that it is. So the annual fraction of sqrt (2) can be obtained without a complex equation.
If you want to find the exact value of the annual fraction through formulas and operations... You need to think about it a little more.
© 2022 pinfo. All rights reserved.