5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comexternal-linkmessage-square101fedilinkarrow-up1127arrow-down15
arrow-up1122arrow-down1external-linkRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square101fedilink
minus-squareUserNotFound@lemmy.worldlinkfedilinkarrow-up0·1 year agoI 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
minus-squareonly_lurking@lemmy.worldlinkfedilinkarrow-up0·1 year agoI 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
minus-squarecan@sh.itjust.workslinkfedilinkarrow-up0·1 year agoYeah I don’t really think that helps anyone that didn’t understand the above example, sorry.
minus-squareonly_lurking@lemmy.worldlinkfedilinkarrow-up1·1 year agoFor 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.
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
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
Yeah I don’t really think that helps anyone that didn’t understand the above example, sorry.
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.