Re: New symbolic/numeric/dynamic/intuitive programming language



On Feb 21, 1:41 pm, davepar...@xxxxxxxxxxxxxxxxxx wrote:

Set x to ( 1.001, 1.002 ).
Set y to ( 4.202, 4.257 ).
Write x^2 + y^3.

Please provide your example of any high level level language
that performs the same calculation in a way that's simpler and
easier to understand.

Oops, that should be:

Set x to interval( 1.001, 1.002 ).
Set y to interval( 4.202, 4.257 ).
Write x^2 + y^3.

The challenge still stands. If you know of any high level
language where the program to perform that interval calculation
is simpler and easier to understand, I'd like to see it.

Actually, in Flaming Thunder one could also do it in a
single line:

Write interval(1.001,1.002)^2 + interval(4.202,4.257)^3.
.


Quantcast