There are a number of ways to determine the range of the artillery piece : One possibility is to apply the cosines twice .
There are a number of ways to apply the range to the artillery piece . One way is to determine the law of cosines twice .