📄 the result.txt
字号:
Generation of interpolation tables;
...sin(x) 0<x<pi
...exp(x) 0<x<1
How many entries go in these tables?(note:n<10)
9
sine function from 0 to pi
x f(x) interpolated error
0.1570800.1564340.1564340.000050
0.4712390.4539900.453991-0.000003
0.7853980.7071070.7071070.000001
1.0995570.8910070.891007-0.000000
1.4137170.9876880.9876880.000000
1.7278760.9876880.9876880.000000
2.0420350.8910070.891007-0.000000
2.3561940.7071070.7071070.000001
2.6703540.4539910.453991-0.000003
2.9845130.1564350.156434-0.000003
exponential function from 0 to 1
x f(x) interpolated error
0.0500001.0512711.0512710.000000
0.1500001.1618341.161834-0.000000
0.2500001.2840251.2840250.000000
0.3500001.4190681.419068-0.000000
0.4500001.5683121.5683120.000000
0.5500001.7332531.7332530.000000
0.6500001.9155411.915541-0.000000
0.7500002.1170002.1170000.000000
0.8500002.3396472.339647-0.000000
0.9500002.5857102.585710-0.000000
Press any key to continue...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -