Skip to content

Commit 246d80f

Browse files
authored
Update ch05-03-callback.md
1 parent 1a89c63 commit 246d80f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ch05-03-callback.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ program main
3737
write(*,*)trapz(1.0,2.0,mycos)
3838
end program main
3939
```
40+
``` sh
41+
$ fpm run
42+
0.875384212
43+
6.20777160E-02
44+
```
4045

4146
## 习题
4247
- 完成`trapz`数值积分,求解`sin(x)+cos(x)``[0,1]`上的积分

0 commit comments

Comments
 (0)