Hello guys,
I have been staring at this piece of code (the complete program) trying to figure out why it's not working!
It gives a (very) funny output. why?? it's so simple. It should work (even if my PI approximation is crap)
Please help me!! :(
Edit: forgot to say, the program simply outputs in 4 columns X,Y and T at 200 points from 0 degrees to 90 degrees.
I kind of solved it.
Now it works fine and the outputs are all different.
Still, the values are too small. There is something that still needs to be fixed.