Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
число pi разными способами
const n = 100; var i, p : real; k : integer; begin p := 1; for k := 1 to n do begin i := 2 * k; p := p * i / ( i - 1 ) * i / ( i + 1 ) end; writeln( 2 * p); p:= 2 / sqrt (2); i := sqrt (2); for k := 1 to n do begin i := sqrt ( 2 + i ); p := p * 2 / i; end; writeln ( 2 * p); end.
run
|
edit
|
history
|
help
0
test26
BubbleSor (slimmer)
НОД через делители чисел
mod/div
Tugas
Martix
zad27-notoptimal
Record as a procedure argument
write
zadacha5