Вы находитесь на странице: 1из 17

Scientific WorkPlace

( , ,
..)
, ,
() , .
, , (, ), PC
.
[5] [6].
Scientific WorkPlace (SWP) Scientific
Notebook (NB) Maple V ( 5.0) MuPAD ( 3.5)
.
SWP
[1] [3] [4].
Scientific WorkPlace (SWP) Scientific Notebook
(SN)
.
1. ,

y(x) =

Z1

K(x, t)y(t)dt + f (x),

K(x, t) = sin(xt), f (x) = 1, = 1/2.


1

(1)

. ,
2n+1
(xt)3
(xt)5
n (xt)
+
+ + (1)
+
sin(xt) = xt
3!
5!
(2n + 1)!

K(x, t) = sin(xt)
3
X
(xt)3
(xt)5
K3 (x, t) = xt
+
=
m (x) m (t),
3!
5!
m=1

3 t5
t
{m (x)} = {x, x3 , x5 } { m (t)} = t, ,

6 120
,

y3 (x) =

Z1

(2)

K3 (x, t)y3 (t)dt + f (x),

y3 (x) y(x).
(2)
y3 (x) = 1 +

3
X

zm m (x) = 1 + z1 x + z2 x3 + z3 x5 .

m=1

K3 (x, t) y3 (x) (2).


1+

3
X

zm m (x) =

m=1

3
X

m=1

m (x)

Z1

"

m (t) 1 +

3
X

zk k (t) dt + 1,

k=1

m = 1, 2, 3
zm

3
X
k=1

zk

Z1

k (t) m (t)dt =

Z1
0

m (t)dt.

(3)

, z1 , z2 z3
(3),
k (t) m (t)

1
1
1
R
R
R
R1

2
4
6

z1 z1 t dt + z2 t dt + z3 t dt = tdt,

0
0
0

01

1
1
R 4
R 6
R 8

R1 3
z2 +
z1 t dt + z2 t dt + z3 t dt =
t dt,

6
6

0
0
0 1
0

1
1
R
R
R
R1 5

6
8
10

z1 t dt + z2 t dt + z3 t dt =
t dt.
z3
120
120 0
0
0
0
Evaluate
<Ctrl>

1
1
1
1

z
+
z
+
z
=

1
1
2
3

3
5
7
2

1
1
1
1

z2 +
z1 + z2 + z3
=

6
5
7
9
6
4

1
1
1

,
z1 + z2 + z3
=
z3
120
7
9
11
120 6
, zm ,

z
z
,
=
z

1
2
3

3
5
7
2

z1 + 1 +
z2 + z3 = ,

30
42

24
54

z1
z2 + 1
z3 =
,

840
1080
1320
720

3
5
7

() =
1+
30
42

54

840
1080
1320
3

(4)

Solve + N umeric,
(2), ..
() = 0. { = 263.41}, { = 3.1841}, { = 76863.}.
, = 1/2
, (4) ,
Solve + N umeric,
= 1/2 SWP, Def initions +
N ew Def inition. z1 = 0.29702, z2 = 2.5488 102 ,
z3 = 8.5976 104 .
, (1)
y3 (x) = 1 + 0.29702x 2.5488 102 x3 + 8.5976 104 x5
1 + 0.2970x 0.0255x3 + 0.0009x5 .

(1) K(x, t) = sin(xt)



1
1 (x) = y3 (x)
2

Z1

sin(xt)y3 (t)dt 1.

. 1 ,
().
(2) K3 (x, t) = xt
(xt)3
(xt)5
+

3!
5!

Z1
1
(xt)3
(xt)5
+
2 (x) = y3 (x)
xt
y3 (t)dt 1 =
2
3!
5!
0

1.1905 105 x3 + 4.0234 105 x5


1.428 6
0.00001x 0.00001x3 + 0.00004x5 [0; 1].
105 x

. 1 ( ,
()). , 1 (x)
2 (x) [0; 1].
4

2e-05
.5e-05
1e-05
5e-06
0

0.2

0.4

0.6

0.8

-5e-06

. 1: 1 (x) 2 (x), 1 (x) > 2 (x)


2. ,
y(x) =

Z1

(5)

K(x, t)y(t)dt + f (x),

K(x, t) = sin(xt), f (x) = 1, = 1/2.


. , n = 2m
.
Z b
(t)dt

a

Zb

h =

(t)dt

"

h
y0 + y2m + 4
3

m
X
k=1

ba
yi = (ih), i = 0, n.
n
5

y2k1 + 2

m1
X
k=1

y2k ,

n = 4, h = 1/4
Zb

h
hX
(t)dt [y0 + y4 + 4 (y1 + y3 ) + 2y2 ] =
Ak yk .
3
3
k=0

, (5)

4
hX
Ak sin(x kh)y(kh) + 1.
(6)
y(x) y4 (x) =
6
k=0

Def initions + N ew Def inition SWP A0 = 1, A1 = 4, A2 =


2, A3 = 4, A4 = 1 h = 1/4.
(5) y(x) xj = jh
4

hX
y(jh) =
Ak sin(jh kh)y(kh) + f (jh), j = 0, 4.
6

(7)

k=0

y(jh) = yj , j = 0, 4,

(5) , , .
(6). ,
, (6),
.
(. .
2).
, (7) yj = y(jh), j = 0, 4, -

4
X

y0 =
Ak sin(0 kh)yk + 1,

24

k=0

1 X

Ak sin(h kh)yk + 1,
y1 =

24

k=0

1 X
Ak sin(2h kh)yk + 1,
y2 =

24

k=0

Ak sin(3h kh)yk + 1,
y3 =

24

k=0

Ak sin(4h kh)yk + 1.

y4 = 24
k=0

() , , <Ctrl>
Evaluate, ,
Brackets.

y
0 + 1,
=
0

24

1
1
3
1

y
4(sin
=
)y
+
2(sin
)y
+
4(sin
)y
+
(sin
)y

1
16 1
8 2
16 3
4 4 + 1,

24

1
4(sin 18 )y1 + 2(sin 14 )y2 + 4(sin 38 )y3 + (sin 12 )y4 + 1,
y2 =

24

3
3
9
3

y
4(sin
=
)y
+
2(sin
)y
+
4(sin
)y
+
(sin
)y

3
16 1
8 2
16 3
4 4 + 1,

24

y4 = 1 4(sin 1 )y1 + 2(sin 1 )y2 + 4(sin 3 )y3 + (sin 1)y4 + 1.


4
2
4
24
-
(, 1 1.0)
Solve + Exact .
7

{y0 = 1.0, y2 = 1.1453, y1 = 1.0739, y3 = 1.2122,


y4 = 1.2724}.

.

x
y

0
1

0.25 1.0739

0.5 1.1453

0.75 1.2122
1 1.2724

Statistics+ F it Curve to Data. Last Column 4


Polynomial of Degree. Polynomial fit: y = 1.0 +
0.29813x 0.0054678x2 0.018132x3 0.0021342x4 .

y(x) 1.0 + 0.29813x 0.0054678x2 0.018132x3 0.0021342x4 .

(6),
1
(4 1.0739 sin 0.25x + 2 1.1453 sin 0.5x+
y(x) y4 (x) = 24
4 1.2122 sin 0.75x + 1.2724 sin x) + 1 =
0.17898 sin 0.25x + 0.095442 sin 0.5x + 0.20203 sin 0.75x+
0.053017 sin x + 1.
, (. 2).

y3 (x) = 1 + 0.2970x 0.0255x3 + 0.0009x5 ,
2
.
8

1.3
1.25
1.2
1.15
y
1.1
1.05
1
0

0.2

0.4

0.6

0.8

. 2: (5)

y3 (x) =
cos3 x3 cos2 x2(cos2 x)x+3 cos x+4(cos x)x+4(cos x)x2 12x4x2 8x3
,

8x3

3 ,
(. . 2
(), ).
3. ,
y(x) =

Z1

K(x, t)y(t)dt + f (x),

(8)

K(x, t) = sin(xt), f (x) = 1, = 1/2.


. (8)
9


1
yn+1 (x) =
2

Z1

sin(xt)yn (t)dt + 1,

(9)

y0 (x) = 1
.
, (9), ,
v
uZ1 Z1
u
u
[sin(xt)]2 dxdt = 0.31408
B=t
0

= 1/2 < 1/B = 1/0.31408 = 3.1839,


, .
. 2,
.
, Evaluate
1
y1 (x) =
2

Z1

sin(xt)dt + 1 =

1 cos x 1
+ 1,
2
x

1
y2 (x) =
2

Z1
0

1 cos x 1
+ 1 dt + 1 =
sin(xt)
2
x

1 cos2 x + 2 cos x + 2 (cos x) x 1 2x


+ 1.

4
x2
Def initions + N ew Def inition, -

10

y2 (x) SWP
1
y3 (x) =
2

Z1

sin(xt)y2 (x)dt + 1 =

cos3 x3 cos2 x2(cos2 x)x+3 cos x+4(cos x)x+4(cos x)x2 12x4x2 8x3
.

8x3

x = 0,
, x 0.
4.

Zx
Zx

y1 (x) = x + e(xt) y1 (t)dt + (x t)y2 (t)dt,

0
0
(10)
x
Z
Zx

y2 (x) = 1 + sh(x t)y1 (t)dt e(xt) y2 (t)dt.

.
. L(y1 (x)) = Y1 (s)
1
1
L(y2 (x)) = Y2 (s). L(x) = 2 , L(1) = .
s
s
, , .

x
x
R (xt)
R
1
1
Y1 ; L
e
y1 (t)dt =
(x t)y2 (t)dt = 2 Y2 ;
L
s+1
s
0x

0x
R
R (xt)
Y1
Y2
L
sinh(x t)y1 (t)dt = 2
e
y2 (t)dt =
.
;L
s
s

1
0
0
(10)

1
1
1

Y1 + 2 Y2 ,
Y1 = 2 +
s
s+1
s
(11)

1
1
1

Y2 = + 2
Y2 .
Y1
s s 1
s1
11

Solve + Exact Y1 Y2 .
s2 + s 1
s3 s2 + 1
Y1 =
, Y2 =
.
s (s3 s2 + s 1)
s4 1

T ransf orms + Inverse Laplace,


s2 + s 1
, Is Laplace transform of
.
s (s3 s2 + s 1)
s3 s2 + 1
1
1 t
1 t 3
e +
1 + e cos t + sin t;
,
Is
Laplace
transform
of
2
2
2
s4 1
4
1 t 1
e + cos t sin t.
4
2
, (10)
1
3
1
y1 (x) = 1 + ex cos x + sin x,
2
2
2
1
1 x 1 x 1
y2 (x) = e + e + cos x sin x = (cosh x + cos x) sin x.
4
4
2
2
5.

Z1
(12)
y(x) = K(x, t)y(t)dt,
0

T = [0, 1] [0, 1]

t(1 x), 0 < t < x < 1,


K(x, t) =
x(1 t), 0 < x < t < 1.

(13)

.
, , y(x)
n
P
zk gk (x), g1 (x), . . . , gn (x)
yn (x) =
k=1

[0, 1].
12

zk ,

Z1
(x) = yn (x) K(x, t)yn (t)dt
0

gk (x) [0, 1], ..


Z1

(x)gk (x)dx = 0, k = 1, n,

.. m = 1, . . . , n zk

Z1
Z1
yn (x) K(x, t)yn (t)dt gm (x)dx = 0.
(14)
0

zk , yn (x),
(14).
y2 (x), .. n = 2. gk (x)
: g1 (x) = 1, g2 (x) = x(1 x). y2 (x) =
z1 +z2 x(1x). Def initions + N ew Def inition,
SWP.
(14) n = 2

R1
RR

y
(x)dx

K(x, t)y2 (t)dxdt = 0,


2

RR
R1

K(x, t)y2 (t)g2 (x)dxdt = 0.


y2 (x)g2 (x)dx
0

Evaluate,
Def initions + N ew
Def inition SWP.
R1
R1
1
1
1
z2 + z1 .
y2 (x)dx = z2 + z1 ; y2 (x)g2 (x)dx =
6
30
6
0
0
13


Evaluate.
ZZ
K(x, t)y2 (t) dxdt =

R1 Rx

t(1 x)y2 (t)dt +

0 0

R1 1

R1
x

x(1 t)y2 (t)dt dx =

1
1
1
1
z2 x4 z2 x3 z1 x2 + xz2 + xz1 dx =
12
6
2
12
2
0
1
1
z2 + z1 .
12
Z60Z
K(x, t)y2 (t) g2 (x)dxdt =

R1 Rx

t(1 x)y2 (t)dt +

0 0

R1 1

R1
x

x(1 t)y2 (t)dt g2 (x)dx =

1
1
1
1
z2 x4 z2 x3 z1 x2 + xz2 + xz1 g2 (x)dx =
12
6
2
12
2
0
17
1
z2 + z1 .
5040
60
.

1
1
1

z2 + z1 = 0,
z2 + z1
6
60
12

1
17
1
1

z2 + z1
z2 + z1 = 0,

30
6
5040
60
, zk ,

z1 +
z2 = 0,

1
12
6
60

1
17

z1 +

z2 = 0,
1
10
10
840
14

(15)

() =
1

12 6 60

1 17

10
5
840

Evaluate
() =

1
1
1
+
2

30 280
50 400

, Solve
+ N umeric.
1
1
1
+
2 = 0, Solution is: { = 9.8751},

30 280
50400
{ = 170.12}.
,
1 = 9.8751 2 = 9.8696.
(15) 1 = 9.8751.

z1 = c,
5(12 1 )
z2 =
c = 85.064c.
10 1

,
y2 (x) = c (1 85.064x(1 x)) , 1 .

R1 2
c, y2 (x)dx = 1.
0

R1

R1

(1 85.064x(1 x))2 dx = 213.84c2 = 1,


0
0
p
2
c = 1/213.84, c = 1/213.84 = 0.068384.
c = 0.068384, z1 = 0.068384, z2 = 85.064 0.068384 =
y22 (x)dx = c2

15

5.817, ,
, 1 ,
y2 (x) = 0.068384 + 5.817x(1 x), x [0, 1].
1.4
1.2
1
0.8
0.6
0.4
0.2
0

0.2

0.4

0.6

0.8

. 3: y (x) y2 (x)

. , y (x) = 2 sin x

, 2 . y (x) ()
y2 (x) (), y (x) (. . 3).

1. .., .., ..
: / (). .,
1996. 50 c.: .
2. .. Scientific WorkPlace
3.0 .
16

: / (). ., 2002.
105 .: .
3. .. Scientific WorkPlace 4.0: . .:
. 2003. 208 .: . ( ).
4. .. Scientific WorkPlace:
// Exponenta Pro. .
2003. N 4. . 913.
5. .., .., ..
. .
. .: , 1971. 255 .
6. / .. , .. ,
.. . / . .. . .: . - , 1960. 512 .
7.
. / .. , .. ,
.. . : , 1986. 189 .:.

17