Note the formula listed in the text book is incorrect. I code the incorrect formula and get an error. On looking at the error we correct the formula.
The code in the listing in the textbook uses the correct formula from the law of cosines.
Негізгі бет CIS 150 Calculate Angle
Пікірлер