You may have confused sine and cosine. Regardless of the value of B, if then , so the graph must pass through the origin, which this graph does not do.