Advertisement
Infiniti_Inter

III/13

May 21st, 2021
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.19 KB | None | 0 0
  1. var
  2. n ,i:integer;
  3. b:real;
  4. begin
  5. b:= 1.0;
  6. ReadLN(n);
  7. writeLN('1 элемент', b);
  8. for i := 2 to n do
  9. begin
  10.     b:=1.0/4*(3*b+1/(3*b));
  11.     writeLN(i,' элемент', b);
  12. end;
  13. end.
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement