r/PowerShell • • Sep 18 '19

Parenting Through PowerShell

My 8 year old decided to pretend to be sick so he would get sent home from school the other day. So after we finished all the work the teach gave us, I decided to make him some extra work. Since they are learning double digit addition I wrote a quick script that will generate a page with 25 problems on it. I kept printing him off new sheets until the end of the regular school day.

I thought I'd share it in case anyone else has a 2nd grader who likes to play hooky. https://www.dowst.dev/homework-double-digit-addition-without-carrying/

Does anyone else have any examples of parenting through PowerShell?

229 Upvotes

67 comments sorted by

View all comments

5

u/revbo__ Sep 18 '19
Set-Content $algebra -path $me

If only PowerShell was around in the 90s, 8th grade math would have been a cinch!

4

u/ihaxr Sep 18 '19

You could program on the fancy TI-80 graphing calculators. I wrote a program for each formula as we learned them in Algebra 2... Slope / Slope Intercept, quadratic equation, perfect squares, etc... constantly being prompted to enter each variable made me think of the formula and I ended up memorizing them, making the programs unnecessary (other than to make sure I got the right answer, since you had to show your work anyway).

2

u/drexhex Sep 19 '19

My teacher said I could use the programs on tests as long as I wrote it and could show my work, so I made the program output each step. It had the same effect of just making me learn the formulas because of the time spent coding.

1

u/graysky311 Sep 19 '19

Haha me too. I wrote a triangle solver program, one called sys2 and sys3 that solved systems of equations. Aced my Trig class and got thousands of downloads on ticalc.org.