Why llms are suprisingly good at math, and what it means to process language.
https://lemmy.world/post/24708084
=> More informations about this toot | More toots from Smokeydope@lemmy.world
Are they good at math, though? I can get ChatGPT to add numbers. But every division and other operation seems to give a wrong result almost every time.
=> More informations about this toot | More toots from hendrik@palaver.p3x.de
So, a few weeks ago I was cooking and needed 3 liters of water. My largest measuring cup is 500ml and I couldn’t be bothered to fill it 6 times so I had the brilliant idea of asking chatgpt how high should I fill a pot that’s 22cm in diameter to get 3 liters because I thought it’d be faster than doing the math myself. It told me 7 meters.
=> More informations about this toot | More toots from stevedice@sh.itjust.works
OpenAI and ChatGPT have been smoked by the competition for awhile now. I wouldnt know, I only run open models locally Here’s what my local deepseek distill of qwen2.5-14b running on an old nvidia 1070ti has to say about your question. Its been awhile since I had to do volume equations but its answer seems about right, 7.89 cm sounds closer to the right answer than 7 meters anyway lol
Question:
how high should I fill a pot that’s 22cm in diameter to get 3 liters?
Answer: "Alright, let’s tackle this problem. The user wants to know how high they should fill a pot that’s 22 cm in diameter to get 3 liters of water.
First, I need to understand what exactly is being asked here. It seems like they’re trying to determine the height of water when poured into a pot with a specific diameter, such that the volume of water is 3 liters.
Okay, so the pot can be assumed to be cylindrical since pots are typically round and symmetrical. That makes sense because the diameter is given, and we can model it as a cylinder.
Now, the formula for the volume of a cylinder is:
V = \pi r^2 h
Where:
( V ) is the volume,
( r ) is the radius,
( h ) is the height.
The user provided the diameter, which is 22 cm. Since the radius is half of the diameter, the radius ( r ) would be 11 cm.
The volume they want is 3 liters. I know that 1 liter is equal to 1000 cubic centimeters (cm³), so 3 liters would be 3000 cm³.
So, plugging in the values we have:
3000 = pi (11)^2 h
Calculating ( 11^2 ):
11^2 = 121
So now the equation becomes:
3000 = pi times 121 times h
To solve for ( h ), we’ll divide both sides by ( pi times 121 ):
h = 3000/( pi times 121 )
Calculating the denominator first:
pi approx 3.1416
3.1416 times 121 = approx 380.132
Now, dividing 3000 by 380.132:
h = 3000 divided by 380.132 = approx 7.89 cm
So, the height of the water should be approximately 7.89 cm to get 3 liters.
Since it’s not practical to measure 0.89 cm precisely, rounding up to 8 cm would ensure there’s enough water, but if precision is important, sticking with 7.89 cm is better.
Therefore, the pot should be filled to about 7.89 cm high to hold exactly 3 liters.
=> More informations about this toot | More toots from Smokeydope@lemmy.world
text/gemini
This content has been proxied by September (3851b).