AP computer science A (feelings/questions)

<p>Is computer science A relatively new? I got owned on the test, my teacher was pretty bad. i don't think he knew the exam very well.</p>

<p>You don't get any points off for accidently putting = for == and vice versa.</p>

<p>The fact that it's in Java is relatively new. When I took it last year was the first time - they had just switched from C++.</p>

<p>that sucks when you teacher has no clue -_- I've had some of those too:)</p>

<p>very nice sagar_indurkhya ! :)</p>

<p>I was kinda close though, I mean we did have the same idea and all that.
I just did it very basically, so the partial sums can be evidently seen...
Im sure that with a little bit of work I could've achieved your 'masterpiece' :)</p>

<p>efficiency-wise, the call to the extra function is the only thing that matters. the sign test almost doesn't slow down the process.</p>

<p>ah, it's been a while since I was concerned with efficiency. took the ab exam last year... my other programming projects were designed just so they could work :)</p>

<p>thank you!</p>

<p>It was a nice piece of code i felt... differeing from my failures at larger projects. One time I took on making a full Lan enabled FPS WWII style in one month for a school project. </p>

<p>MORAL: DON"T DO IT!!!!!!!!!!!!!1111111111111111eleventyone</p>

<p>"If you think you are hot, I challenge you to write a function that computes the sine of some number x, given that 0<=x<=PI/4."</p>

<p>Isn't this just a simple infinite series problem? Anyone who knows any calculus knows that:</p>

<p>sin x = x - x^3/3! + x^5/5! - x^7/7!... etc.</p>

<p>4 or 5 terms will get you some pretty nice accuracy.</p>

<p>yeah, but the guy who I challenged wasn't able to do it. Furthermore, he suggested to me the CORDIC Function.</p>

<p>You need about 11 terms(take it to the 22nd term) to get good good accuracy. </p>

<p>The point is to realize how much CS is interelated to math. Also, I wanted to see if the guy understood the efficient linear n term expansion.</p>