Help with something in C Programming.

Started by markbilly, Wed 02/12/2009 22:40:18

Previous topic - Next topic

markbilly

For 1.1 I get:

number of lines: 14007
answer to integral: 2.254410

the answer should be about 0.75, though. Also, for arguments less than 1 it goes funny and has the 2, 0.000000 output.
 

markbilly

Not to worry. This was a uni assignment so I just looked up the amount of credit I get for it and decided it wasn't worth the effort, frankly. I've been pouring over it for hours. I just submitted what I had, so should still get some marks.

Thanks everyone for the help, though! :)
 

SMF spam blocked by CleanTalk