10-09-2024, 03:33 PM
(10-09-2024, 01:25 PM)bplus Wrote: Looking over Lesson 17LOL, yeah, well, I asked for help when I was beginning lesson 17 way back in early 2022 however no one had the time to help. When I finished it I asked those with math inclinations to look it over for correctness. Again, nothing, so I figured what I had was good. I am completely self taught when it comes to math.
This from Degrees and Radians is first step in wrong direction:
This system that puts 0 Degrees in North Direction will go against all the Basic Trig functions specially _ATan2 that has 0 degrees in the East Direction. I have already provided 2 visuals for the actual positioning of degrees and directions.
And in all due respect this visual:
Is a freak'n nitemare! No wonder that guy is confused
To move from point 1 = x1, y1 to point 2 = x2, y2
dx = x2-x1
dy = y2-y1
Angle = _Atan2(dy, dx) in radians
to normalize we use
d = _hypot(dx, dy)
Vx = dx/d x component of vector
Vy = dy/d y component of vector
Drawing Regular Polygons with different number of sides is excellect teaching device for Sin and Cos.
I will make up a lesson for you. Wait maybe you @TerryRitchie already have that somewhere?
What is happening here is my confusion over mixing the need to orientate everything to match the screen versus the correct orientation. I've gotten much better over the past 2.5 years and yes, I see the issues you have pointed out.
I would gladly welcome help to correct this lesson.