- •Введение
- •1.Предварительный анализ
- •1.1 Дифференцирование на основе формулы Лагранжа
- •1.2 Дифференцирование на основе формулы Ньютона
- •1.3 Сравнительный анализ методов
- •2.4. Словестное описание алгоритма
- •2.5 Выбор способа организации входных и выходных данных
- •2.6. Интерфейс пользователя
- •2.7. Тестирование
- •2.8. Общая характеристика программы
- •2.9. Обзор подобных программ Обучающая программа по алгебре "Решалка"
- •Программа для решения задач и уровнений по высшей математике "Solver"
- •3. Организационный раздел
- •3.1. Организация рабочего места пользователя
- •3.1.1 Организация света на рабочем месте
- •3.1.2 Площадь одного рабочего места
- •3.1.3. Общие требования к организации рабочих мест
- •3.1.4 Требования к уровням шума и вибрации на рабочих местах
- •3.1.5 Организация режима труда и отдыха при работе с пк
- •Заключение
- •Список использованных источников
- •Приложения
- •Руководство пользователя
- •Общие сведения о программном продукте
- •Краткое описание программного продукта
- •3. Возможные области применения
- •Описание запуска
- •Инструкция по работе с программным продуктом
- •Листинг программного кода
- •Interface
- •Implementation
- •I:integer;
- •I,h,j,l,k,elem,n,m:integer;
- •If(nextS)then
- •If(not isPm(Preo[1]))then
- •If isPm(Preo[j]) then
- •If ((not isPmur(BigElenent[j][h])) and (not isNumber(BigElenent[j][h])))then
- •If (hb)then
- •If(not isPmur(Temp[1]))then
- •Insert(Res, s, I);
- •If(isPm(s[I-1]))then
- •If(go)then
- •I,h,j,l,k,elem,n,m:integer;
- •If(nextS)then
- •If(not isPm(Preo[1]))then
- •If isPm(Preo[j]) then
- •If ((not isPmur(BigElenent[j][h])) and (not isNumber(BigElenent[j][h])))then
- •If (hb)then
- •If isSc(s[I-1]) then
- •If(New)then
- •I,j,l,k,Step,Error,Num1,SavePoint:integer;
- •If(isUr(s[I]))then
- •If(isPmur(s[j]))then
- •If(isUr(Numeric[1]))then
- •If(bl)then
- •If not isPm(s1[1]) then
- •If(bl)then
- •If not isPm(s2[1]) then
- •If isPm(s1[j]) then
- •If isPm(s2[j]) then
- •If(New)then
- •I,j,l,k,Step,Error:integer;
- •Insert('-1*', s, I);
- •If(New)then
- •If (b) then
- •If(New)then
- •If (isPm(s[j]))then
- •If (b) then
- •If(New)then
- •If (isPm(s[j]))then
- •If (b) then
- •If(New)then
- •I,a,k,t:Integer;
If (b) then
begin
New:=True;
Delete(S, i-1, 1);
Delete(S, j, 1);
Break;
end;
//Insert('-1*', S, i);
//New:=True;
end;
If(New)then
Break;
end;
end;
Preobr:=S;
//mmo2.Lines.Add(BackStr);
end;
function TForm1.isNumber(c: Char): boolean;
begin
if(((ord(c) >= 48)and(ord(c) <= 57))or(ord(c) = 46))then //,0123456789
isNumber := True
else
isNumber := False;
end;
function TForm1.isPMUR(c: Char): boolean;
begin
case ord(c) of
43 : isPMUR := True;
45 : isPMUR := True;
42 : isPMUR := True;
47 : isPMUR := True;
else
isPMUR := False;
end;
end;
function TForm1.isPM(c: Char): boolean;
begin
case ord(c) of
43 : isPM := True;
45 : isPM := True;
else
isPM := False;
end;
end;
function TForm1.isUR(c: Char): boolean;
begin
case ord(c) of
42 : isUR := True;
47 : isUR := True;
else
isUR := False;
end;
end;
function TForm1.isSC(c: Char): boolean;
begin
case ord(c) of
40 : isSC := True;
41 : isSC := True;
else
isSC := False;
end;
end;
procedure TForm1.btn1Click(Sender: TObject);
var
I,a,k,t:Integer;
j,res,bottom,y0:Real;
f1,f2,f1dx,f1dy,f2dx,f2dy:string;
begin
bottom:=0;
y0:=StrToFloat(edt4.Text);
for k:=1 to SG.ColCount-1 do
begin
res:=1;
for i:=1 to SG.ColCount-1 do
begin
if i<>k then
begin
res:=(res*(y0-StrToFloat(SG.Cells[i,1])))/(StrToFloat(SG.Cells[k,1])-StrToFloat(SG.Cells[i,1]));
//res:=StrToFloat(SG.Cells[i,1]);
//mmo2.Lines.Add(FloatToStr(res));
end;
end;
res:=res*StrToFloat(SG.Cells[k,0]);
//mmo2.Lines.Add(FloatToStr(res));
bottom:=bottom+res;
end;
mmo2.Lines.Add(FloatToStr(bottom));
end;
procedure TForm1.btn2Click(Sender: TObject);
begin
SG.ColCount:=SG.ColCount+1;
end;
procedure TForm1.btn3Click(Sender: TObject);
begin
if(SG.ColCount>3)then
SG.ColCount:=SG.ColCount-1;
end;
end.