Lurker News

Comments (2,507) 254 threads

Show all comments

Showing thread 160 of 254

choeger1 reply#
How do these models handle renaming? E.g.,

"Let foo be the function that calculates the sinus of its first argument. Let bar be the circumference of a circle with radius one. What is the value of foo applied to bar?

smashers11141 reply#
Just tested it out and got the following:

=========
To find the value of foo applied to bar, we need to first determine the values of both foo and bar. Let's start with bar, the circumference of a circle with radius 1:
Circumference (C) = 2 * π * r where r is the radius.
In this case, r = 1, so:
bar = C = 2 * π * 1 = 2π
Now, let's move on to foo. Since foo is a function that calculates the sinus of its first argument, we need to find the sine of bar (2π):
foo(bar) = sin(2π)
The sine function is periodic with a period of 2π, which means that sin(2π) is equal to sin(0). The value of sin(0) is 0. Therefore:
foo(bar) = sin(2π) = 0
======= So I think it evaluated correctly here unless I have made a dumb mistake in reading your prompt myself.

choeger#
So it definitely does a little bit more than just dumping math queries to a CAS. Intriguing.