Hey guys, first (of many) post here as I am taking a computational physics class with literally zero programming experience.
My first assignment is to take a polynomial: y = 12 x^5 + 4 x^4 - 2 x^3 + 8 x^2 -3 x + 7, and solve it on the domain of [1,10] in 1000 steps while measuring CPU time. (Then redoing it using Horner's Method, but I'm not worried about that now)
SO my question is, where do I even start? I assume I will need some type of loop for the interval, but I do not even know how to do that.
Any help you guys can give will be awesome.