08-26-2018, 12:56 PM
Hello
In a presentation of computer algebraic systems, I show the difference between numerical and symbolic languages
Sample
output: error: 'x' was not declared in this scope
output: 1
in the hp-prime
print(4/3+1/3) [enter] show 5/3 ok
but then [esc] show 0 ?
in c++ the output return 0; but the CAS is not c/c++, for this reason this generates confusion on history view, when run the hp-prime in a classroom or you want to take a screenshot
try
print(4/3+1/3) -> 0
Please HP-team return the word "Done" (history view) instead of the number 0 or best the last printing statement
print(4/3+1/3) [enter] show 5/3 ok
but then [esc] -> 5/3
The following screenshot shows the problem by showing zero the sum of the numbers 4/3+1/3.
In a presentation of computer algebraic systems, I show the difference between numerical and symbolic languages
Sample
PHP Code:
#include<stdio.h>
int main() {
printf("%f",x+1);
return 0;
}
PHP Code:
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
cout << 4/3+1/3 << endl;
return 0;
}
in the hp-prime
print(4/3+1/3) [enter] show 5/3 ok
but then [esc] show 0 ?
in c++ the output return 0; but the CAS is not c/c++, for this reason this generates confusion on history view, when run the hp-prime in a classroom or you want to take a screenshot
try
print(4/3+1/3) -> 0
Please HP-team return the word "Done" (history view) instead of the number 0 or best the last printing statement
print(4/3+1/3) [enter] show 5/3 ok
but then [esc] -> 5/3
The following screenshot shows the problem by showing zero the sum of the numbers 4/3+1/3.