Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Jensens-Device/EMal/jensens-device.emal
Normal file
6
Task/Jensens-Device/EMal/jensens-device.emal
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
fun sum = real by int lo, int hi, fun term
|
||||
real temp = 0.0
|
||||
for int i = lo; i <= hi; ++i do temp += term(i) end
|
||||
return temp
|
||||
end
|
||||
writeLine(sum(1, 100, real by int i do return 1.0/i end))
|
||||
Loading…
Add table
Add a link
Reference in a new issue