Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,7 +1,7 @@
|
|||
scope # TPK algorithm in Agena
|
||||
local y;
|
||||
local a := [];
|
||||
local f := proc( t :: number ) is return sqrt(abs(t))+5*t*t*t end;
|
||||
local proc f( t :: number ) :: number return sqrt(abs(t))+5*t*t*t end;
|
||||
for i from 0 to 10 do a[i] := tonumber( io.read() ) od;
|
||||
for i from 10 to 0 by - 1 do
|
||||
y:=f(a[i]);
|
||||
|
|
@ -10,4 +10,4 @@ scope # TPK algorithm in Agena
|
|||
else printf( "%10.4f\n", y )
|
||||
fi
|
||||
od
|
||||
epocs
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue