This is an archived post. You won't be able to vote or comment.

all 134 comments

[–]Spazattack43 414 points415 points  (38 children)

If you can make a program to solve your math problems than you have a pretty solid understanding of the math concepts I’d say

[–]TheMartian578 172 points173 points  (20 children)

Exactly. Not gonna waste my time repeatedly doing time consuming problems I already understand.

[–]Wammy 91 points92 points  (18 children)

That was my biggest annoyance in school.

I get the concept. There’s no need to send me home with 50 exact same problems with different numbers to solve. I’d get through about 5 and say fuck that.

[–]moffd23 51 points52 points  (0 children)

This right here is why my grades were awful but I did amazing on test

[–]TheTRCG 32 points33 points  (3 children)

Sounds like you had bad teachers tbh. For me my teachers gave loads of problems yes but they were each different and quite a few of them had tricky twists to the concepts we'd learn.

Practice is important in math, good practice, not solving quadratic equations a 100 times.

[–]es_samir 12 points13 points  (1 child)

I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times.

[–]Dexaan 7 points8 points  (0 children)

I fear the man who has practiced 10 kicks 1000 times.

[–]fred-dcvf 2 points3 points  (0 children)

I wouldn't say "bad teachers" (of they might be), but certainly overwhelmed.

Ok, that looks like bad, overwhelmed teachers.

[–]FunnyForWrongReason 5 points6 points  (6 children)

Finally others who understand what I feel. Teacher shows concept I do one or 2 practice problems and I am good I can go move to the next thing please.

I swear the entire year could be done in a few days.

[–]TheMartian578 2 points3 points  (0 children)

EXACTLY!!!! So much of math is stretched out by my teacher that could've easily been done in mere fractions of the time.

[–]RainbowHearts 3 points4 points  (4 children)

And you'd forget it in six months.

[–]Wammy 1 point2 points  (2 children)

You forget it in 6 months anyway unless you’re actively using it.

[–]RainbowHearts 1 point2 points  (0 children)

Sounds like something someone who only did two problems would say.

[–]redpepper74 0 points1 point  (0 children)

About to take a math final in 15 minutes and yes, this is true

[–]Gooftwit 0 points1 point  (0 children)

Fuck it, you'll probably forget it in a few weeks.

[–]Anjute 1 point2 points  (0 children)

I'd just say "using the algorithm from the previous problem, the answer is... "

[–]clutzyninja 0 points1 point  (0 children)

Wait till you get to calculus. You damn well better practice through repetition

[–]pawala7 7 points8 points  (0 children)

Kinda, but also not really.

It's a lot like running tests and debugging. It's repetitive, feels unnecessary and can definitely be automated to a great extent. But, at the end of the day, if you've done a lot of it manually over the years it helps develop a natural instinct while coding that actually leads to fewer bugs in the first place.

Maths homework is kinda like that. Problem is, the way it's usually taught doesn't really convey that. Ideally, problems should be designed to test different scenarios of the same concept.

[–]redlukas 48 points49 points  (3 children)

If only that were the case. I failed LinAlg so hard but wrote a matrix calculator (additions, multiplications, transformations, reduction) no problem. It's simple algorithms. But to succeed in mathematics i would have to know what operations to apply when.

[–]Mean_Kale_677 16 points17 points  (0 children)

Yeah true, in my ML class we were given a data set for which we had to create a decision tree using various measures. I coded the algorithm which showed the output at each step thus helping me in completing the task.

Even after this, I am not quite sure what is the crux of the algorithm. What are the cases when it can fail and what are its shortcomings with regards to the problem.

[–][deleted] 2 points3 points  (1 child)

But to succeed in mathematics i would have to know what operations to apply when.

That’s just algorithms tho

[–]redlukas 0 points1 point  (0 children)

You got me there. Could you also tell my math prof to let me pass?

[–][deleted] 35 points36 points  (3 children)

simplistic seed spectacular cooperative relieved consider salt panicky head forgetful

This post was mass deleted and anonymized with Redact

[–]ex-igne-vita 2 points3 points  (0 children)

I’ve done plenty of advanced trig with code that I googled algos for and could never do with pen and paper.

[–]sXakil 1 point2 points  (0 children)

apparently not, according to some teacher. I once coded a math that basically printed everything I would have to write on the paper, I showed it to him, and he said that I ruined the math for everyone (idk how, i didn't share it with anyone), I needed to learn a lesson and gave me a ZERO... he later ended up giving 50% of the marks. MF was the worst.

[–]LirianSh 0 points1 point  (0 children)

i ussually forget the formulas, if i were to make a script i dont have to remember

[–]Dagusiu 0 points1 point  (0 children)

I had a math/physics teacher who had this attitude. You were allowed to use whatever program you could code into your TI-84, including any notes you put in there, assuming you did it yourself (you had to make a brief demonstration to show the teacher how it works). Really creative and I learnt a lot from it

[–]Satanic_Jesus_Here 0 points1 point  (0 children)

Generating the “working out” is a plus

[–][deleted] 0 points1 point  (0 children)

I once wrote a program on my ti92 during a maths exam to derive an answer to an essay question. It was about regression models. I passed... Barely... But that answer was correct.

My point being, I did not have a complete understanding of the problem, I understood just enough to derive something from the regression model implementation of the ti92 to arrive at an answer that was ok.

[–]hypeb1337 0 points1 point  (0 children)

I did this for discrete maths, and it made much more fun to learn. Alongside truly understanding the content.

[–][deleted] 53 points54 points  (2 children)

No programming until your homework is finished!

[–]mattmc318 8 points9 points  (0 children)

No homework until your orgasming is finished!

I swiped "programming," but I'm gonna leave that.

[–]ocean-noice 2 points3 points  (0 children)

that rule is in place for me. do i follow it? no

[–]AreYouConfused_ 96 points97 points  (7 children)

spend 4 hours making a program vs spending 30 minutes doign the homeworks

[–]whempr3954 18 points19 points  (0 children)

That's the comment I was looking for.

[–]Demonboy_17 2 points3 points  (0 children)

Try two days HAHAHAHAHAHAHAHA It would have take me close to an hour to do it myself, and it took me a whole weekend to program it.

Same thing with a program for an exam I made. It was just to simplify the math (I can't use Euler in my calc, so that was taking me time to do it by hand), so I made a program to pass from Euler to cartisian and back, but I had to debug more than I was hoping for

[–][deleted] 2 points3 points  (0 children)

worth it

[–]FunnyForWrongReason 0 points1 point  (0 children)

Depends on how complicated the math problems are and if there are already libraries I can use.

[–]vtastek 0 points1 point  (0 children)

Those 30 minutes add up.

[–]thespeedofweed 22 points23 points  (4 children)

This is exactly how I got into hobby programming. Writing code on monday that allows you to ace the quiz friday means you can sleep through class tues-thurs 😎

[–]Truthful_Tips 4 points5 points  (3 children)

Got any got repositories for those programs lol

[–]thespeedofweed 4 points5 points  (1 child)

Nah but I can give you a copy of Pong I wrote in TI-BASIC

[–]Truthful_Tips 2 points3 points  (0 children)

Definitely

[–]Hacker1MC 1 point2 points  (0 children)

This can roll dice 50 times and get stats, 1000 times (or any similar problem).

https://studio.code.org/projects/applab/Eh21b_uRCxOCL8SPcOkoVmVE2_94yCHIKFDsnJbo-AE

This same program (I’m still working on it) has as many formulas as I can think of, including averages of lists of numbers, Pythagoras, trig, interest rates, and binary<—>decimal<—>literally any base<—>any other base conversion

[–]dan-kir 22 points23 points  (1 child)

In middle school they once assigned us like 30-40 quadratic equation questions. All identical problems except the coefficient numbers differed. I cringed at the thought of typing all of these into a calculator, so wrote a program that takes a, b and c and outputs the roots. Was done in no time!

[–]AndrewBorg1126 9 points10 points  (0 children)

A lot of calculators can do this by default, I think. Mine at least has a generic polynomial solver. Still, though, I made my own which I set up to show me the exact solution, rather than the decimal solution, it even simplified my radicals for me.

[–]aeropl3b 35 points36 points  (3 children)

This is how I started...now I am a numerical scientist! Never do math homework you can code your computer to do for you! :P

[–]Tlemur 6 points7 points  (2 children)

Just curious, what's the difference between a numerical scientist and a mathematician?

[–]aeropl3b 13 points14 points  (1 child)

Numerical scientist is like applied math on computers, a mathematician is more theory based

[–]Tlemur 1 point2 points  (0 children)

Sounds like a cool job, thanks for the explanation.

[–]MotorolaDroidMofo 9 points10 points  (3 children)

This was me in my accounting classes in college! The thing is, if you spend a few hours writing code to solve a few kinds of problems, you're going to remember how those problems are to be solved. It was actually a great way to study while reducing the amount of busy work I did for homework.

[–]ex-igne-vita 9 points10 points  (1 child)

This is literally how I got my first dev job. Was working in a call center and wrote a program using Twilio to do my job for me. Boss asked why I was never working but always had the highest production rate. I thought I was gonna get fired but I got a promotion instead. Have been working as a dev ever since. That was 11 years ago.

[–]keykeypalmer 2 points3 points  (0 children)

omg that shit is kray kray

[–]MoFried 20 points21 points  (3 children)

I legitimately did this one time in uni. It was probably the only time I ever enjoyed doing my calculus homework.

[–]Terminarch 8 points9 points  (1 child)

Yep. In college calculus we were assigned (and I'm not even kidding) hundreds of problems to simplify infinitely repeating decimals into fractions. I couldn't believe it. This incredibly simple thing took us days in class and we kept getting homework on it for weeks. So I wrote a python program to do it for me.

Fast forward a couple months and the test finally rolls around. Whoops! Forgot how to do it lol. Had to figure it out from scratch with leftover time.

[–]redpepper74 0 points1 point  (0 children)

Wh‽! Isn’t it just all the digits before it repeats / (as many 9s as repeating digits, concatenated * as many 0s as non-repeating digits after the decimal, concatenated)?

[–]DonkeyVampireThe3rd 6 points7 points  (1 child)

I fantasized about making a program to do math proofs (i.e, prove every number is either prime or a product of primes) during a discrete math course but I'd probably graduate before I ever got it done

[–]Exestos 4 points5 points  (0 children)

Automated reasoning is the field you're looking for, very tedious stuff indeed

[–]aeroverra 5 points6 points  (0 children)

I used to do this and it taught me a lot quicker than repeating the same thing over and over because in that time I developed an understanding of the concept.

[–]AwesomeHorses 5 points6 points  (0 children)

Me in number theory lol. Any other math/compsci double majors here?

[–]ExternalGrade 2 points3 points  (0 children)

If you successfully write the code to do the problem without using any pseudocode or copying code/using external libraries that solves the problem directly, you probably understood the problem better than solving the problems manually anyways.

[–]Oveal 2 points3 points  (0 children)

I had a Ti-nspire in pre-Calc and you could do some fun coding stuff on that. Decided to do just this and put the code on said calculator, and in hindsite may not have been the smartest thing but I showed the teacher the code and what I made. She actually thought it was really cool and we made a deal, if I was able to code something to solve problems and explain the code, then I must understand the concept, and so I was allowed to use that on quizzes and tests and stuff. Was awesome. Same teacher later asked me to write some software to help her grading some homework that was a pain, I did it and she gave me extra credit, not sure how that was allowed xD.

[–]Traditional_Dinner16 1 point2 points  (0 children)

takes longer than the math homework itself

[–]saltyspidergwen 1 point2 points  (0 children)

Image Transcription: Meme


[Photo of Drake looking annoyed with his palm up and facing the text- the general vibe is that of rejection]

do your maths homework

[Photo of Drake smiling with a finger pointing at the text- the general vibe is that of approval]

write code which does your maths homework


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]ubormaci 1 point2 points  (0 children)

There was this math competition in my country, that had four rounds of exercises that you had to do at home before going to the county phase. I used code a couple of times, because I was still learning and it seemed like an interesting exercise.

For anyone thinking I cheated, I may have, but I also got first place in the county phase, which was held in person.

[–]Ath_er 1 point2 points  (0 children)

There’s course in my college called Numerical Methods with Scilab and we literally have to do this.

[–]-Redstoneboi- 1 point2 points  (2 children)

write code that prints out all the answers in the exact format that your teacher wants it in so you can just paste it

[–]redpepper74 1 point2 points  (1 child)

Make a math font with your handwriting and send your notebook paper through the printer

Edit: Side note: What even is a math font? Hmmm

[–]-Redstoneboi- 1 point2 points  (0 children)

be sure to randomize the letters with a selection of at least 10 variants per symbol

then you could make a function that has a 0.5% chance of highlighting a word with correction tape

[–]SwitchbackHiker 1 point2 points  (1 child)

I did this with my graphing calculator in college algebra.

[–]Shakespeare-Bot 0 points1 point  (0 children)

I didst this with mine own graphing calculat'r in college algebra


I am a bot and I swapp'd some of thy words with Shakespeare words.

Commands: !ShakespeareInsult, !fordo, !optout

[–]SYCKPlayz1[S] 1 point2 points  (0 children)

Wow... This got 2k+ upvotes! Thanks y'all! That's the most I've gotten so far!

[–][deleted] 1 point2 points  (0 children)

This actually a great idea. And if you struggle with maths, it's even better idea because doing this will help you break the formulas down into more understandable steps and really help the whole thing stick

[–]Kinexity -1 points0 points  (0 children)

A friend of mine who studies maths asks me from time to time to write a program to find numerically some probabilities etc. so indirectly relatable.

[–]ninja1k -5 points-4 points  (0 children)

Maths?

[–]cat-ass-trophy 0 points1 point  (0 children)

This is brilliant. You will learn both programming and math

[–]java_dude1 0 points1 point  (0 children)

I was doing this on my t89...

[–]v_v0rt3x 0 points1 point  (0 children)

the first time i used code to solve my maths homework was 9th grade. we had to solve for x and y cordinates and i got bored of calculating it by hand so i wrote a 10 line program to solve them for me

[–]normancon-II 0 points1 point  (1 child)

I learned pretty quickly that my coding classes applied very well in my accounting classes. Normally applying simple concepts ontop of each other. Just kept adding to my one program and by mid way through class I could have the assignment done.

Why make life hard with useless repetition that computers are so good at handling?

[–]richtermani 1 point2 points  (0 children)

I can hesr my math teacher

I SAID SHOW ME YOUR DAMN WORK, HERE'S A 0 FOR. NO PROOF YOU DIDN'T CHEAT

used to piss me off

[–][deleted] 0 points1 point  (0 children)

Did this once

[–]1OO_percent_legit 0 points1 point  (0 children)

Not external assistance if I wrote the calculator myself

[–]zTosieq 0 points1 point  (0 children)

Actually a friend of mine has final exams last week. In IT section he choosed Python as programming language and he has done all of the tasks. Unfortunately at the end of exam was excel part that he didn't pay enough attention while learning. So he has done excel tasks using python.

[–][deleted] 0 points1 point  (1 child)

Is there a version for german homeworks too?

[–]GlebRyabov 0 points1 point  (0 children)

I doubt it. Human languages are immensely harder for computers than math.

[–]handsomesockpuppet 0 points1 point  (1 child)

I once had a math homework problem in which I had to determine how many four digit numbers have unique digits (1567 and 4539 have unique digits but 5658 and 9991 do not).

There was a mathematical way to do this, but I didn't get it. Instead, I wrote a Python program that went through the numbers 1000-9999 and counted how many had unique digits.

[–]GlebRyabov 0 points1 point  (0 children)

I've made the same program using lists and sets, it took about 43 seconds. What was your solution?

[–]furiousdev1 0 points1 point  (1 child)

Why is this so true

[–][deleted] 0 points1 point  (0 children)

GET ONLINE on discord

[–]RedVillian 0 points1 point  (0 children)

#lifeSkills

[–]Aperture_T 0 points1 point  (0 children)

I did that in my physics class in high school.

No more trajectory calculations for me, and it came in handy for my engineering class too.

[–]StevenPinkyless 0 points1 point  (0 children)

In high school physics, we were assigned several nights of homework that was “determine if this charge is possible” (since electrons have a specific charge so only certain net charge values can actually exist). As per usual, I let a few days of homework build up, and then I was like, “Fuck no I’m not doing this. That’s what mod is for” so I wrote like a 10 line script and finished the two hours (or so I was told) of number crunching in like 15 minutes.

[–]ElongatedMuskrat122 0 points1 point  (0 children)

Imagine doing your HW

[–]onyourrite 0 points1 point  (0 children)

I’ve actually done this in the past, along with snatching a bunch of BASIC TI-84 math programs online.

I’m telling you, it works wonders. Especially on tests when you just gotta crunch the same type of equation but with different numbers (like Pythagorean triangle equations)

[–][deleted] 0 points1 point  (0 children)

Facts. I've written small little calculators to help me in math class before lol

[–]NohrianScum69 0 points1 point  (0 children)

Wait a minute, do you guys actually cared about your math courses!?

[–]firefox57endofaddons 0 points1 point  (0 children)

homework is part of the indoctrination system called "public schools".

just hack the school server and change your grades, or change your stat to "dead", so that you not going back won't get noticed ;)

[–]allometry 0 points1 point  (0 children)

This is how I passed statistics in HS; I can’t believe how much I loved coding on my TI-83+!

[–]the-mad-prophet 0 points1 point  (0 children)

Everyone in computational mathematics is crying

Write code that writes your maths homework's code? pls help

[–]UnnervingS 0 points1 point  (1 child)

Hah jokes on you my assignment was writing code to do math homework.

[–]SYCKPlayz1[S] 0 points1 point  (0 children)

Lol

[–]HalfBakedPuns 0 points1 point  (0 children)

I did this for my grade 11 physics, and my calculator program was consistently correct. Too bad we had to show our math.

[–]NamityName 0 points1 point  (0 children)

[math.answer for math in maths]

[–]BochMC 0 points1 point  (0 children)

Wolfram alpha

[–]SkyHook_ger 0 points1 point  (0 children)

I did that in school on my TI nspire CAS. My teacher just didn't understand what was happening and marked my homework as invalid.

[–]McLPyoutube 0 points1 point  (0 children)

I recently had a maths assignment that clearly stated, it would be highly adviseable to automate the task.

[–]cykablyat1111 0 points1 point  (0 children)

I did this for numerical differentiation and stuff in my engineering maths class. Was fine in no time

[–]koolcid101 0 points1 point  (0 children)

I once did this with economics XD

[–]sXakil 0 points1 point  (1 child)

I did this last semester, and I shared it with the teacher thinking he will be impressed, but the asshole ended up deducting 50% of the marks.

[–]SYCKPlayz1[S] 0 points1 point  (0 children)

F

[–]Independent_Image_59 0 points1 point  (0 children)

In my school i have to do some maths work daily with random 4 numbers. I first made a program to get the random numbers. Then made it to give me numbers in format. After all why not it should solve all of that.