• UserNotFound@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    I don’t know her, so maybe my question is stupid, but does she explain math without using code? I, honestly, am too stupid to programing, I don’t understand it. I understand summary, not the second one

    • BaumGeist@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      She has a youtube channel

      I’ve only watched a couple of her videos–on Splines and Bezier curves–and her explanations and animations were intuitive and beautiful to watch, but ultimately her target audience is game devs… So the answer to your question is “technically yes*”

      *it’s with the intent of learning to code the math

    • radix@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I don’t know anything about the original post author, but product notation is the same as summation notation except that instead of adding each new term to the running total, you’re multiplying each new term. You don’t have to know programming to see from the code samples that the only difference in the code is += vs *= (well, maybe it would help to know that * means multiply; I honestly dont rember how common-knowledge that is).

    • only_lurking@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I think it would be much better to write it in another language, but here’s another way to do the second one (this is on Visual Basic):

      Dim n as long
      Dim product as long
      Product = 1
      
      For n = 1 to 4
      Product = product * 2 * n
      Next n
      
      • can@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Yeah I don’t really think that helps anyone that didn’t understand the above example, sorry.

        • Kecessa@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Yeah they might as well have written it in assembly… Some people are just not very good at understanding that others don’t have their knowledge/ease of understanding certain things, especially people who are very good at what they do, the ability to simplify is as much a skill as understanding complex concepts!

        • only_lurking@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          For the case that n = 0 (before the first run of the loop), x(0) = 1.

          For the first actual case, n = 1. X(1) = x(0)*3*n = 1*3*1 = 3.

          For the next case, n = 2. X(2) = x(1)*3*n = 3*3*2 = 18.

          For the next case, n = 3. X(3) = x(2)*3*n = 18*3*3 = 162.

          For the next and last case, n = 4. X(4) = 162*3*4 which I’m not computing. The computer value of x(4) is the value of the product loop.

          If that doesn’t help, I could try helping again to rephrase, but I’m not sure what else to add.

    • TeddyPolice@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Sort of; a lot of what she does is computer graphics, which just happens to be applications of math she explains. There is still code, but sometimes the “code” is a flow graph in Unreal Engine or Blender.