UK markets closed
  • NIKKEI 225

    28,226.08
    +257.09 (+0.92%)
     
  • HANG SENG

    18,736.44
    +139.21 (+0.75%)
     
  • CRUDE OIL

    81.35
    +0.80 (+0.99%)
     
  • GOLD FUTURES

    1,816.80
    +56.90 (+3.23%)
     
  • DOW

    34,395.01
    -194.76 (-0.56%)
     
  • BTC-GBP

    13,815.88
    -168.07 (-1.20%)
     
  • CMC Crypto 200

    401.39
    -4.76 (-1.17%)
     
  • ^IXIC

    11,482.45
    +14.45 (+0.13%)
     
  • ^FTAS

    4,141.04
    +1.39 (+0.03%)
     

Man figures out how many cans of SpaghettiOs it takes to write the 'Lord of the Rings' trilogy: 'Bro actually used math for something important'

As a kid, writing out goofy messages with SpaghettiOs was a fun pastime.

But one creator may have taken the childhood game too far. TikToker @tsj_electronics developed a script that determines how many cans of SpaghettiOs it would take to write any book.

He then used the technology to figure out how many cans of SpaghettiOs it would take to write the Lord of the Rings trilogy.

First, using real-life cans, he figured out the average distribution of each letter in a can of SpaghettiOs. Then, he plugged the data into his program.

Next, he figured out that the Lord of the Rings trilogy contained 2,261,081 letters, with the letter “E” appearing the most, at 12.4%. The program did the rest.

It takes 8,795 cans of SpaghettiOs to write the Lord of the Rings trilogy, according to @tsj_electronics. That would cost $12,225.05. But look on the bright side: You’d have about 8,134,609 SpaghettiOs letters leftover.

The hilarious video racked up 2.8 million views.

“This is what programming was meant for,” a person commented.

“Bro actually used math for something important in life,” another wrote.

“I really thought he was about to open enough cans and actually spell out the trilogy,” a user said.

“This is science,” a TikToker replied.

“This is more interesting than anything I learned in school,” someone added.

The post Man figures out how many cans of SpaghettiOs it takes to write the ‘Lord of the Rings’ trilogy appeared first on In The Know.

More from In The Know:

One of the thinnest laptops we've ever seen is on sale for $260 on Amazon — that's $790 off

Major deal alert! Walmart is dropping early Black Friday prices starting now

CASETiFY created the best clear phone case that's guaranteed not to turn yellow over time

TikTok says this best-selling perfume will earn you tons of compliments: 'It will make everyone you pass attracted to you'