Experiments in Mathematics - PowerPoint PPT Presentation

About This Presentation
Title:

Experiments in Mathematics

Description:

Title: Author: XXZ Last modified by: WEBDOCTOR Created Date: 6/21/2000 8:44:52 AM Document presentation format: – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 53
Provided by: XXZ5
Category:

less

Transcript and Presenter's Notes

Title: Experiments in Mathematics


1
????
Experiments in Mathematics
????????
?????????????
2
????
1??Matlab????(?)????????,???????????????????.
2????????(?)????????? ??.
????
1?????????.
2????????????.
3???????(?)?????.
????
MATLAB
3
? ? ? ?
1???
4
2????????
5
3?????
6
? ? ? ?
1???
7
2????? ???????????
8
4????????
9
5????????????
6?????????
1)??
10
2)???????
11
3)?????
?????????????????????,?????,?????,??????????????
12
(No Transcript)
13
?????
1??????
14
(No Transcript)
15
(No Transcript)
16
?????????
17
(No Transcript)
18
??????MATLAB??
??gauss???,gauss?? function A,ugauss(a,n) for
k1n-1 ???? for ik1n for
jk1n1 ??a(k,k)0,????? if
abs(a(k,k))gt1e-6 ???k??????
a(i,j)a(i,j)-a(i,k)/a(k,k)a(k,j)
19
else a(k,k)0,??gauss????
disp('??gauss????') pause
exit end end
end end ???? x(n)a(n,n1)/a(n,n)
20
for in-1-11 s0 for ji1n
ssa(i,j)x(j) end x(i)(a(i,n1)-s)/a(i,i
) end ??gauss???????? Atriu(a) ??????? ux
21
?1 ???????????
22
2????????
23
????????MATLAB??
???gauss???? function A,ugauss(a,n) ???? for
k1n-1 ??? c0 for qkn if
abs(a(q,k))gtc ca(q,k) lq
24
end end ?????0,???A??? if
abs(c)lt1e-10 disp('error') pause
exit end ??l???k,????l???k? if lk
for qkn1
25
tempa(k,q) a(k,q)a(l.q)
a(l,q)temp end end ???k?????
for ik1n for jk1n
a(i,j)a(i,j)-a(i,k)/a(k,k)a(k,j) end
end
26
end ???? x(n)a(n,n1)/a(n,n) for in-1-11
s0 for ji1n ssa(i,j)x(j)
end x(i)(a(i,n1)-s)/a(i,i) end
27
?????gauss???????? Atriu(a) ??????? ux
?2 ????????????1
28
??? ? ?
1?? ? ??????
29
(No Transcript)
30
2????(Jacobian)?????
31
Jacobian???MATLAB??
function x,spjac(a,b,n,x1) ?? eones(n,1) ??
???? x2zeros(n,1) ????? k0 ?????????????? wh
ile norm(e,2)gt1e-6 ??5???????
32
if (rem(k,5)0) strsprintf('Xd g g g
g\n',k,x1) disp(str) end kk1
??x2(i) for i1n s0 for j1n
ssa(i,j)x1(j) end
33
x2(i)(b(i)-s)/a(i,i)x1(i) end ??????
ex2-x1 ?x2???????? x1x2 end ?????? sp
k ????? xx2
34
?3???Jacobian????????
35
2???-???(Gauss-Seidel)?????
36
(No Transcript)
37
4????(Successive Over Relaxation method)???
38
(No Transcript)
39
????????????
1?????-----???
40
2????
3????
41
(No Transcript)
42
??????????????
43
(No Transcript)
44
(No Transcript)
45
?????????????????
yx
y
P0
P2
P4
P3
P1
y
o
x
??????
46
P4
yx
y
P2
P0
P1
P3
y
o
x
???????
47
3 ???????
48
????????????
??????????------?????1955?????707??,?????????
?????????????????????????????????
??????
???????????,?????????? ??????????????????????????
????????????????????????
??????
????p,??????,?????????,??????????????????,????????
??????,??????
49
1?????????,??????????
3????????????????,??????????,????????????????????
?,??????????,??h
50
(No Transcript)
51
??????
52
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com