Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- L = cte //Longitud
- n = cte //numero de celdas
- ratio = cte //expansion ratio
- sum c0...cn-1 = L
- Como indexamos desde 0, va hasta n-1
- c0 = l
- c1 = cratio * c0
- c2 = cratio * c1
- .
- .
- .
- cn-1 = cratio * cn-2 = ratio*c0
- cn-1 = cratio^2 * cn-3 = ratio*c0
- (reemplazando para atras)
- cn-1 = cratio^(n-1) * cn-n = ratio*c0
- cn-1 = cratio^(n-1) * c0 = ratio * c0
- cratio^(n-1) = ratio
- cratio = ratio^(1/(n-1))
- Ademas sum c0...cn-1 = L
- sum(cratio^i * c0) = L
- c0 sum(cratio^i) = L
- https://en.wikipedia.org/wiki/Geometric_series#Sum
- c0 (1 - cratio^n)/(1 - cratio) = L
- c0 = L * (1 - cratio) / (1 - cratio^n)
- Para nuestro caso
- L = 0.08
- n = 800
- ratio = 10
- cratio = 10^(1/799) ~ 1.00288599
- c0 ~ 0.08 * (1- 1.00288599) / (1 - 1.00288599^800) = 0.0000255712
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement