Okay, I am new here and it's propably a kinda stupid problem... I have a problem with cosine function fitting. I do not know how to do it at all, I tried adding my own function but it did not work. I have to fit this function: y=y0+Acos(ωx+φ) where x is the independent variable and A, ω, φ are parameters. Please help