Solving Gas Dynamics Equation with Secant Method - Troubleshooting Float Error

  • Thread starter Thread starter trish129
  • Start date Start date
  • Tags Tags
    Error
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
trish129
Messages
2
Reaction score
0
please help mee remove this error

i coded a secantt method ..the function was a gas dynamics equation.on executing it is giving me an error:float error...

i have attached both the question and the code..

thank u..
 

Attachments

Physics news on Phys.org
please help me correct this error in fortran

hey i coded secant method in fortran ...the equation was quite big and diffocult to put in..someow managed to do it..but on execution it is giving errors..please can you correct the mistake..thank you..would be a great learning for you...

heres the file containing the image of the equation and the fortran code..

erro:math erorr..floating error..

where am i wrong in the code
 

Attachments

Last edited by a moderator:


trish129 said:
i coded a secantt method ..the function was a gas dynamics equation.on executing it is giving me an error:float error...

i have attached both the question and the code..

thank u..

fahad20 said:
hey i coded secant method in fortran ...the equation was quite big and diffocult to put in..someow managed to do it..but on execution it is giving errors..please can you correct the mistake..thank you..would be a great learning for you...

heres the file containing the image of the equation and the fortran code..

erro:math erorr..floating error..

where am i wrong in the code

How is it that you both independently coded up this problem, and have exactly the same document?