Is the formula given the same as the code?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Oscar Holyoake
el 22 de Oct. de 2021
Comentada: Oscar Holyoake
el 22 de Oct. de 2021
Hey guys. I’m currently having a disagreement with a lecturer over this assignment question. I believe that the code should be changed to t=0:6 to match the formula they have given. We were given a morality table so do not worry about dx or lx as those are set variables. Any clarification on this would be greatly appreciated. Thank you, O.H
0 comentarios
Respuesta aceptada
Rik
el 22 de Oct. de 2021
Since the exponents range from -1 to -7, that means you will need 7 different values for t. One of the ways to achieve that is indeed having t=0:6.
Neither is infinite (as the summation indicates), but this might be a reasonable approximation for your application.
3 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!