I've gotten the code to do exactly what I want, but, as usual, I'm having issues with having the output come out the way i want it.
Basically, it runs the equation until x < 0. Then it stops printing.
However, I need "t" to start at 0. But when I set t = 0, the first line that prints is t = .1 . When I start t at negative .1, it gives me a weird exponential number.
1) Notice that you incrementing your t first time before printing anything.
2) 0.1f + 0.1 != 0. Why are you using floats? Native floating point type is double for more than dozen years.