Coding
When I enter the terms the program returns a NaN (I’m a beginner) – Does anyone know why?
Math.Sqrt would give NaN if delta is negative. As a sidenote, Math.Sqrt returns double. You do not have to convert that to double after. Nice! I forgot about that one. It’s indeed possible that D Read more…