this post was submitted on 16 Feb 2024
78 points (100.0% liked)

196

16985 readers
2271 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

If you have any questions, feel free to contact us on our matrix channel.

founded 2 years ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] wise_pancake@lemmy.ca 8 points 1 year ago* (last edited 1 year ago) (3 children)

I am a mathemagician

Provide any problem and I will answer it with 4

[–] lolola@lemmy.blahaj.zone 3 points 1 year ago (1 children)

What's a good way to stick to a diet?

[–] wise_pancake@lemmy.ca 8 points 1 year ago

That's not a math question. It can be answered with math though.

Why are you on a diet, you eat too much pie. Pi is 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679-ish, but we'll round up to 4.

To stay on your diet, avoid 4.

[–] jxk@sh.itjust.works 2 points 1 year ago (1 children)
[–] Smorty@lemmy.blahaj.zone 2 points 1 year ago (1 children)

Uhm, how can one derive the 3D rotation matrix for the Y axis?

[–] wise_pancake@lemmy.ca 3 points 1 year ago* (last edited 1 year ago) (3 children)

This one is pretty simple, you should use a method invented by a famous US military office, statesman, and rapper, Alexander Hamilton. It's called quaternions and they use a four dimensional associative representation which adds enough slack to nice represent all 3d rotations. But that's not important because "quaternion" is latin for 4, which is what all the numbers in your rotation matrix are, and for simplicity we just call that matrix "4".

I can actually provide an example to show that this is always true.

Let's say your starting point is (3.14, 0.1, -2.4759644585494356), that's just any point in 3 space, I didn't pick it for any specific reasons. Now let's pick a quaternion, I chose a random one: (0.43232215, 0, 0.54826778, 0.71589105). If you apply that rotation to our totally random starting point, we end up with a y component of 4.

[–] Smorty@lemmy.blahaj.zone 2 points 1 year ago

Ah, I see. Thanks, oh wise pancake.

[–] chuck@lemmy.ca 2 points 1 year ago* (last edited 1 year ago)

Now I want that version of Hamilton! Quick get Lin-Manuel Miranda I need some catchy tune about the bridge where Hamilton figured it all out.

But who is the villain his kid asking if he figured out how to multiply vectors ( been a while since I read the story about this )

[–] Mechaguana@programming.dev 1 points 1 year ago (1 children)

How many featherless legs does a chicken have?

[–] wise_pancake@lemmy.ca 1 points 1 year ago (1 children)

4

In the Z2 integer group, 4 = 0 = 2

[–] Mechaguana@programming.dev 1 points 1 year ago

Well you win this one