So i got into a disagreement with ChatGPT about whether you earn more interest overall if you contribute daily rather than monthly, if the overall contribution over 1 year is the same.

I made CGPT write some python code to prove it. His code is on the left. I still didnt believe him so I wrote my own, on the right.

Our results seem to disagree, so Im asking you guys, if your interest is calculated daily and paid monthly, is it better to contribute $143 per day for 365 days, or $4349.58 monthly for 12 months?

  • Agent641@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    So investing my money into savings right after I get paid weekly is the best strat then, which is what im doing. If i got paid daily, then investing daily would be the best strat.

    I wasnt actually trying to minmax my savings interest, I guess I was just confused by the robots’ counterintuitive answer but it makes sense now.