Advertisement
urimbot

col1, col2

Dec 5th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.57 KB | None | 0 0
  1. while t < MM.tk do                             //F(x) = F(x0) + f(x)*h
  2.       for i := 1 to col1 do
  3.         begin
  4.          MM.x0[i] := MM.x0[i-1] + MM.RP (MM.x0[i], t)*h;
  5.          MM.MRes[0,i] := t;
  6.          t := t + h;
  7.          write('t', i, '=', t:2:2, '  ');
  8.         end;
  9.     for i := 1 to MM.n do
  10.       for j := 0 to col1 do
  11.         begin
  12.         MM.MRes[i,j] := MM.x0[j];
  13.         //write (MM.x0[i]:3:3);
  14.         end;
  15.     for i := 0 to col2-1 do
  16.     begin
  17.       writeln;
  18.       for j := 0 to col1-1 do
  19.       write(MM.MRes[j,i]:3:3, '  ');
  20.     end;
  21.  
  22.   end;
  23.  
  24. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement