How do i make a half circle using sin and cos

Hi, so I want to make a half circle using cosine and sine so i just want to know where to start?

x = rcos(θ)
y = rsin(θ)
r - radius

Vary θ from 0 to pi for half a circle