Download STUDY GRAPHIC POSSIBILITIES IN SOFTWARE SYSTEMS AND

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Equations of motion wikipedia , lookup

Schrödinger equation wikipedia , lookup

Differential equation wikipedia , lookup

Exact solutions in general relativity wikipedia , lookup

Van der Waals equation wikipedia , lookup

Dirac equation wikipedia , lookup

Equation of state wikipedia , lookup

Partial differential equation wikipedia , lookup

Derivation of the Navier–Stokes equations wikipedia , lookup

Itô diffusion wikipedia , lookup

Schwarzschild geodesics wikipedia , lookup

Transcript
STUDY GRAPHIC POSSIBILITIES IN SOFTWARE SYSTEMS AND
PROGRAMM BORLAND DELPHI 7
S.J. Turayev, N.A. Jumayev, N.Q. Dulanov
TUIT Karshi branch, Uzbekistan
According to this socially valuable works motivated, a targeted system
means on the basic of the result of the completion of the action. The reader
practice actions of the system. Divided into two aspects relating to the
practical activities of students. Read this and know.
As you know, the concept of function derivative nature of the issue, and
the simplest example of physics and mathematics, the most widely used in
problem solving issues. In this case, arising from derivatives is determined
according to the nature of words, the derivative function on the work
schedule, based on the contents of the geometric formations Borland Delphi7
and MATLAB, Maple-13 Mathcad software application systems using the
means of survival and the most sample examples showing the use of
derivative algorithm are.
Based on the result of the function meaning the angular coefficient was
born the following form you can write the equation of the line
(1)
y  f ' ( x0 ) x  b
In addition, the calculation did not take any points:
(2)
f ( x0 )  f ' ( x0 ) x0  b
'
(3)
b  f ( x0 )  f ( x0 ) x0
(3) by the equation (1):
y  f ' ( x0 ) x  f ( x0 )  f ' ( x0 ) x0
y  f ' ( x0 )( x  x0 )  f ( x0 )
(4)
(4) Function is called the equation of schedule, attempt to point the equation.
Now, (4), based on a clear and simple example of the algorithm is as follows:


6
4
Example. Write the equation of the function y  2 sin( 2 x  ) point x0 
attempt tangent and plot. In this example, the algorithm for its solution is as
follows:
The sequence of the sample solution
The implementation of a series of
(4) According to the equation initially
found f ( x0 )
f ' ( x) 
df ( x )
dt
determined
f ' ( x) from using calculated f ' ( x0 )
Finally, (4) attempt to use the
equation is written in the equation



f ( x0 )  f ( )  2  sin( 2   ) 
4
4 6
f ' ( x) 
df ( x)

 4  sin( 2  x  )
dt
3
 
f ' ( x0 )  2  sin( 2 
y
3  2 x 

2
4

6
)2
3
In Maple software system:
In Mathcad software system:


y ( x)  2 sin  2 x 
 

4
a  y 


6
a  1.732


f ( x)  a  b   x 

y1( x) 
1
d
y ( x)  4 sin  2 x    
3 
dx

 

4
b  y1
b2
1
  3  2 x   
4
2
10
y ( x)
f ( x)
0
10
10
5
0
x x
5
10
In MATLAB software system:
15
10
5
Y1, Y2
y=sym('2*sin(2*x*pi/180-pi/6)');
y1=diff(y,'x')
y1 =(pi*cos((pi*x)/90 - pi/6))/45
x0=45;
subs(y,'45')
ans =3^(1/2)
subs(y1,'45')
ans =pi/90
x=-360:360;
y1=2*sin(2*x*pi/180-pi/6);
y2=3.^(1/2)+pi/90*(x-45);
plot(x,y1,x,y2)
0
-5
-10
-15
-400
-300
-200
-100
0
X
100
200
300
In Borland Delphi7 program:
The codes written in program Borland Delphi7:
unit Unit10;
interface
uses
Windows, Messages, SysUtils, Variants, Classes,
Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
PaintBox1: TPaintBox;
Button2: TButton;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var i:integer;
x0,y0,x1,x2,fx,fy:integer;
k,x:real;
begin
Canvas.Pen.Color:=clBlack;
PaintBox1.Canvas.MoveTo(200,400);
PaintBox1.Canvas.LineTo(200,0);
PaintBox1.Canvas.MoveTo(600,200);
PaintBox1.Canvas.LineTo(10,200);
PaintBox1.Canvas.MoveTo(600,200);
PaintBox1.Canvas.LineTo(585,205);
PaintBox1.Canvas.MoveTo(600,200);
PaintBox1.Canvas.LineTo(585,195);
PaintBox1.Canvas.MoveTo(195,15);
PaintBox1.Canvas.LineTo(200,0);
PaintBox1.Canvas.MoveTo(205,15);
PaintBox1.Canvas.LineTo(200,0);
Canvas.Pen.Color:=clBlack;
PaintBox1.Canvas.TextOut(590,180,'X');
Canvas.Pen.Color:=clBlack;
PaintBox1.Canvas.TextOut(185,0,'Y');
x0:=200;y0:=200;
begin
x1:=-200;x2:=400;
x:=x1;
while x<x2 do begin
fx:=x0+round(x);
fy:=y0-round(40*sin(2*x*pi/180-pi/6));
for i:=0 to 300 do
PaintBox1.Canvas.Pixels[fx,fy]:=clRed;
x:=x+0.2;
end;
end;
end;
procedure TForm1.Button2Click(Sender:
TObject);
var i:integer;
x0,y0,ux,uy:integer;
x,x3,x4:real;
k:real;
begin
x0:=200;y0:=200;
begin
x3:=-190;x4:=400;
x:=x3;
while x<x4 do
begin
ux:=x0+round(x);
uy:=y0-round(20*(sqrt(3)+pi/90*(x-45)));
for i:=0 to 300 do
PaintBox1.Canvas.Pixels[ux,uy]:=clBlue;
x:=x+1;
end;
end;
end;
end.
400
R2010a MATLAB, Maple13 and Mathcad software programs can
conclude that is the result of mathematical high clear to comply with the
efficiency and convenience of the reader to learn from other programs.
Program Borland Delphi7 extends the application of the mathematical steps
of creative thinking, will serve as an excellent basis for the creation of
programs for young programmers. Reader use of modern information
technologies in the process of doing math in practical exercises, including
MATLAB, Maple, Mathcad software systems Borland C++, Borland Delphi7
and Java (SE-8) -eclipse computer software and graphics mode, the reader
can use effectively as well as practical activities ensuring continuity of
subjects.
Literature:
1. А.Б. Закалюкин, С.В. Колосов и др. Программирование в среде
Delphi. Минск 1998г. Стр. 52-55.
2. С.У. Савотченко, Т.Г. Кузьмичева. Методы решения
математических задач в Maple. Белгород 2001г. Стр. 22-33.
3. С. П. Кандзюба и др. – Delphi6/7 лекция и упражнения. Киев2004г.
4. Шупрута В.В. Delphi 2005. Учимся программировать. NT Press.
Глава 6, стр. 243-260.
5. Hally More. MATLAB for engineers. Prentice Hall 2012y.
6. MathSoft, Inc. 101 Main Street Cambridge, MA 02142. Page 219-225.
7. http://www.samouchiteli.ru/
8. http://www.thedelphi.ru/
9. http://www.mathsoft.com/