The ten corners sit every 36°, starting straight up, alternating between radius 5 (the tips) and radius 2 (the inner corners):
corner k = (r·cos(90° + 36°k), r·sin(90° + 36°k)), r = 5 if k is even, else 2
Each segment joins one corner to the next. A bigger inner radius makes a fatter star; 1.9 makes the classic flag star.
Press Copy all equations, open the Desmos graphing calculator, click into the first empty expression line and paste: each line becomes its own curve. Every curve uses t from 0 to 1, which is Desmos's default, so there is nothing to set up.