Integration of a vector with hyperbolic function
Mostrar comentarios más antiguos
Hi,
I am trying to integrate a symbolic vector containing hyperbolic sin and cosine functions in a range of 0.05 to1. However, on doing so I get some very high values of the order of 10^193, 10^144 and 10^44 and a finite value of the order 1. Also, these higher order terms appear with positive and negative pair, but on summing up the vector elements to get the final value of integration I get a very high value of the order of 10^(178). It is happening because of difference between these higher order terms after 15 or 16 significant digits. I know that the sum of the elements have a finite value (checked on Maple), however, it is not happening in Matlab. I really appeciate if someone can help me out. I am attaching matlab file for reference.
With regards
Sunit
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!