shivajikobardan
Junior Member
- Joined
- Nov 1, 2021
- Messages
- 120
I studied computer engineering and there were four mathematics subjects. But mostly they taught us to become like a calculator instead of focus on analytical thinking. So I am relearning part-time.

Imagine a situation like the one shown in Figure 6.5
Picture taken from the book: Computer Graphics by Peter Shirley et al
Based on my level of math knowledge, I got different answer.
I would do (180-(alpha+phi)) and calculate the cosine and sine values. Doing that, I would coincidentally get same value for yb as provided in the textbook. However, I got negated value for xb as cos is negative in second quadrant (STAC rule of trigonometry).
I asked chat bots and they told me to memorize the formula of polar co-ordinates. Which I do not know came from where. I hope to seek some help here.

Imagine a situation like the one shown in Figure 6.5
Picture taken from the book: Computer Graphics by Peter Shirley et al
Based on my level of math knowledge, I got different answer.
I would do (180-(alpha+phi)) and calculate the cosine and sine values. Doing that, I would coincidentally get same value for yb as provided in the textbook. However, I got negated value for xb as cos is negative in second quadrant (STAC rule of trigonometry).
I asked chat bots and they told me to memorize the formula of polar co-ordinates. Which I do not know came from where. I hope to seek some help here.