Update sine.cpp