Fitting Cosines: Some Procedures and Some Physical Examples