From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ad4:442a:: with SMTP id e10mr1913802qvt.12.1610410462382; Mon, 11 Jan 2021 16:14:22 -0800 (PST) X-Received: by 2002:a25:e646:: with SMTP id d67mr3108236ybh.405.1610410462249; Mon, 11 Jan 2021 16:14:22 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 11 Jan 2021 16:14:21 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.231 References: <87pn2fe33o.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3cb4a64f-f6b3-4edc-b102-393feb440b32n@googlegroups.com> Subject: Re: what to do, for the mathematically-disabled people (only half-joking) From: Shark8 Injection-Date: Tue, 12 Jan 2021 00:14:22 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61104 List-Id: On Friday, January 8, 2021 at 4:24:11 PM UTC-7, 0012... wrote: > > I don't quite understand the question: you want to get better at coding > > algorithms? You want to learn more math? More about algorithms? > Worst. I have literal head-ache half-way writing a simple algorithm. My brain won't get me far enough. > I got back at algebra exo, which some help, to go past some blockade. then I'll go further and further, since I always loved math. I have help in a talented friend, and good books. > I am, making progress, fortunately. At some point I'll use your books, or whatever seems useful. > > Knuth's TAOCP series, though it is considered old fashioned these days. It has lots of good exercises. > Got it. I love "old fashioned" in math, always better. Another few suggestions: (1) Try working "backwards", from the result to the input; like induction. (2) For real-world analogs, use the analog! [Like using 3x5 cards as a stack.] (3) For Algebra, remember that you have to keep both sides of the equal balanced; for calculus, always remember that it's about rates-of-change. (4) There are a lot of 'tricks' that work because of identities, but sometimes you have to "go the long way" to arrive at the simple. Though it doesn't touch identities, deriving the sum formula is a good example here; consider the problem of summation, given S(n) is there a formula? S(n) = 1 + 2 + 3 + 4 + 5 [...] + n but also S(n) = (n) + (n-1) + (n-2) + (n-3) + [...] + n-(n-1) Adding these 2S(n) = (n+1) + (n+1) + (n+1) + (n+1) + [...] + (n+1); n times n+1 So 2S(n) = n*(n+1) which means we can divide both sides by 2. S(n) = ( n*(n+1) ) / 2 So we end up with something that uses an addition, a multiplication, and a division (by 2) to replace something that would have been a loop and n additions.