USB ID TA DUET 24:00 DUET XXX -YY.c ( ) XXX -YY.txt() XXX ID 3 YY ID 5 () #define StudentID 231

Size: px
Start display at page:

Download "USB 0.6 https://duet.doshisha.ac.jp/info/index.jsp 2 ID TA DUET 24:00 DUET XXX -YY.c ( ) XXX -YY.txt() XXX ID 3 YY ID 5 () #define StudentID 231"

Transcription

1 0 0.1 ANSI-C 0.2 web kibuki/programming/resume p.html /28 0 [ 01] 2 10/5 1 C / [ 02] 4 10/ /26 3 [ 03] 6 11/2 3 [ 04] 7 11/9 8 11/ /30 4 [ 05] 10 12/ /14 6 [ 06] 12 12/21 [ 07] 13 1/11 [ 08] 14 1/18 9 [ 09] 15 1/25 [ 10] 0.4 kmizoha@mail.doshisha.ac.jp kataoka@mech.eng.osaka-u.ac.jp yyasaka@mail.doshisha.ac.jp 0.5 (Windows)

2 USB ID TA DUET 24:00 DUET XXX -YY.c ( ) XXX -YY.txt() XXX ID 3 YY ID 5 () #define StudentID #define Author "Taro Tanaka" #include <stdio.h> int main(void) { } 2

3 1 Microsoft Visual C++ Micrsoft Visual Studio Visual C++ 1 Web USB 1.1 Borland Japan Web Borland C++ Compiler 5.5 BCC URL 2. borland.lzh USB H:Y= 3. H:Y= borland.lzh 4. H:Y=borland USB (100 MB ) PC 1. URL 2. Web Borland C++Compiler / Turbo Debugger freecommandlinetools2.exe USB H:Y= 3. freecommandlinetools2.exe USB (100 MB ) H:Y= freecommandlinetools2.exe H:Y=borlandY=bcc55 H 1.2 CPad Web 3

4 URL 2. USB H:Y= 3. H:Y= bcpad231.lzh 4. H:Y=bcpad URL 2. CPad & C/C++ CPad for Borland C++Compiler Version 2.31 bcpad231.lzh USB 3. bcpad231.lzh H:Y=bcpad231 bcpad231.exe H:Y= bcpad231.exe BCPad 2. OK 3. (W) (F)H:Y= borland bcc55 bin bcc32.exe 4. OK 4

5 5.H:Y=programming 6. OK H:Y= C:Y= USB freecommandlinetools2.exe bcpad231.lzh web freecommandlinetools2.exe USB D:Y= D:Y=bcpad231 C:Y= C:Y=bcpad231 bcpad231.lzh bcpad231.lzh USB JM-303 JM-303 USB H:Y= USB H:Y= USB USB USB H:Y= BCpad H:Y=bcpad231 C H:Y=borland H:Y=programming JM-303 USB F:Y= USB 5

6 F:Y= USB C:Y= BCPad H:Y=bcpad231Y=bcpad.exe F:Y=bcpad231Y=bcpad.exe 3. H:Y=bcpad231 F:Y=bcpad OK 5. BCPad PCPad 1. F:Y=bcpad231 bcpad.exe BCPad OK 2. (W) (F)F:Y= borland bcc55 bin bcc32.exe 3. OK 4. 6

7 5. 6. (D) (K) F:Y= programming OK 7. OK F:Y= H:Y= 7

8 2 ( 0 ) p hello,world /* */ #define StudentID #define Author "Taro Tanaka" #include <stdio.h> int main(void) { unsigned int i, n; printf("input data: "); scanf("%d",&n); for(i=0;i<n;i++) { printf("hello, world\n"); } return 0; } 1. CPad CPad 2. C (\) Y= EOF End Of File list0 1.c.c list0 1.cpp 3. & make list0 1.exe 4. 8

9 list0 1.exe make & DOS-prompt Enterhello, world Press any key to exit (Input "c" to continue) c DOS-prompt 9

10 5. DOS-prompt & DOS-prompt 10

11 3 C ( 1 ) 4 ( 2 ) 4.1 ( ) 4.2 ( 2.3 ) 4.3 ( ) C sin(x) sin x x cos(x) cos x x tan(x) tan x x asin(x) sin 1 x x 1 < x < 1 acos(x) cos 1 x x 1 < x < 1 atan(x) tan 1 x exp(x) e x log(x) e ln x (log e x) x x > 0 log10(x) 10 log x (log 10 x) x x > 0 sqrt(x) x x x 0 pow(x,y) x y fabs(x) x ceil(x) x floor(x) x x, y double double x, y double double #include <stdio.h> #include <math.h> math.h include 11

12 (degree) sin x/ cos x tan x #include <stdio.h> #include <math.h> int main(void) { float deg, rad, pai= ; float sc, t; printf("input angle in degree: "); scanf("%f", &deg); rad = deg / * pai; sc = sin(rad) / cos(rad); t = tan(rad); printf("angle in radian is %f\n", rad); printf(" sin/cos = %f\n tan = %f\n", sc, t); } return 0; 12

13 4-1. V = 2.50 m 3 1 mol T P Pa R = 8.31 J K 1 mol 1 T = K ( mol van der Waals P + a ) V 2 (V b) = RT 1 mol P V T R = 8.31 J K 1 mol 1 a = m 6 Pa mol 2, b = m 3 mol 1 P = Pa, V = m A B k A c 0 t A c c = c 0 e kt c 0 = 5.00 mol dm 3, k = s 1 t c t = 65.2 s 4-4. T V 1 V 2 w w = RT ln(v 2 /V 1 ) R = 8.31 J K 1 mol 1 T T = K V 1 V 2 w V 1 = 1.50 m 3, V 2 = 7.80 m k Arrhenius k = A exp( E a /RT ) A E a R = 8.31 J K 1 mol 1 T T 1 k 1 T 2 k 2 T 1, k 1 T 2, k 2 A E a T 1 = K k 1 = dm 3 mol 1 s 1, T 2 = K k 2 = dm 3 mol 1 s m, n a m*a/n m/n*a m, n cast float 4-7. n m n, m 2 n = 561, m = 53 13

14 5 ( 3.1 ) 5-1. n (1), (2) (1) (2) 400 n a 15 n 10 b = 20 b = 2n 15 m c = m 5 x = a + b + c x < 60 F 60 x < 70 D 70 x < 80 C 80 x < 90 B 90 x 100 A x m < 10 F x (A, B, C, D, F ) a, b, c S S = w(w a)(w b)(w c) w = a + b + c 2 a, b, c 5-6. () 50 g g 50 g

15 1, 2, ax 2 + bx + c = 0 3 a, b, c a = 0 a 0 a 0 a = 0 b = 0 5 (a = 3, b = 4, c = 4) (a = 5, b = 2, c = 10) (a = 1, b = 6, c = 9) (a = 6, b = 15, c = 50) (a = 1, b = 1, c = 6) 15

16 6 ( 3.2 ) 6-1. r, s, t n = 7 n r = n j=1 j n j + 1, s = j=1 2j 1, t = 3j n j=1 2j j u, v, w n = 7 n u = n ( 1) j+1 j, v = j=1 n ( ) 2j 1 ( 1) j+1 j 3, w = + 1 j=1 n j=1 ( 1 ) j Clausius-Clapeyron 50 C 100 C 5 C R = 8.31 J K 1 mol 1, H = kj mol 1, T 0 = K, P 0 = Pa ( ) P ln = H R P 0 ( 1 T 1 T % = mol dm 3 25 cm mol dm 3 0 cm 3 50 cm 3 1 cm 3 ph K w mol 2 dm K a mol dm 3 mol dm , , ,, , α 6-7. m n m > n m = m n, m < n n = n m m = n m n 6-8. m n p p p = mn f f m, n f x e x e x = 1 + x + x2 2! + = 16 j=0 ) x j j!

17 e x = j=0 a j a j = x j a j 1, j 1 a j

18 7 ( 4 ) (p. 16) n r, s, t rcalc(n), scalc(n), tcalc(n) main float (p. 16) n u, v, w ucalc(n), vcalc(n), wcalc(n) main float (p. 16) e x Taylor myexp(x) main exp(x) myexp(x) x float 7-4. sin x Taylor sin x = x x3 3! + x5 5! + sin x = j=1 a j a 1 = x x 2 a j+1 = 2j(2j + 1) a j, j 1 sin x mysin(x) float sin(x) mysin(x) main x cos x Taylor cos x = 1 x2 2! + x4 4! + cos x = j=1 a j a 1 = 1 x 2 a j+1 = 2j(2j 1) a j, j 1 cos x mycos(x) float cos(x) mycos(x) main x

19 8 ( 6 ) 8-1. n 2 n int furui[1001]; n 1000 furui[i] i m = 2 furui[i] m furui[i] m = 3 n furui[i] m furui[i] furui[i] int iransu[101]; 100 A=12367, B=57, M=467 iransu[1]=7 iransu[i+1]=(a * iransu[i] + B) % M % 8-3. n m A 2 A t A σ 2 2 σ = x 2 x 2, x 2 = 1 n n x 2 i, i=1 x = 1 n n i=1 x i h i h i = (x i x ) σ n 2 x i y i n, x i, y i x i y i (1 i n) x i y i a b S x 2 a = i yi x i xi y i n x 2 i ( x i ) 2 b = n y i x i x i yi n x 2 i ( x i ) 2 S = n (a + bx i y i ) 2 i=1 19

20 8-7. x, y, (n), (m) 1 A (m, n) 2 A 11 A 12 A 1n x 1 A 21 A 22 A 2n x 2 y 1 y 2 = y A m1 A m2 A mn x m n y i = j A ij x j 8-8. A, B, C (n, l), (l, m), (n, m) 2 A 11 A 1l A 21 A 2l A n1 A nl B 11 B 1m B 21 B 2m B l1 B lm = C 11 C 1m C 21 C 2m C n1 C nm C ij = k A ik B kj 8-9. A ij (i = 1, 2,, m, j = 1, 2,, n) G i, g i, R j, r j, T, t G i = R j = T = m n A ij, g i = G i /n j=1 m A ij, r j = R j /n i=1 i=1 j=1 n A ij, t = T/(mn) i\j 1 2 n 1 A 11 A 12 A 1n G 1 g 1 2 A 21 A 22 A 2n G 2 g m A m1 A m2 A mn G m g m R 1 R 2 R n T r 1 r 2 r n t 20

21 9 x 0 x n h (n + 1) f(x 0 ), f(x 1 ),, f(x n ) I = xn x 0 f(x)dx (1) 9.1 f(x i ) f(x i+1 ) J i = h 2 (f(x i) + f(x i+1 )) (2) f(x) I = xn n 1 f(x)dx = J i (3) x 0 i=0 ( ) I = h n 1 f(x 0 ) + 2 f(x i ) + f(x n ) 2 i=1 9.2 f(x i 1 ), f(x i ), f(x i+1 ) 3 2 n f(x) = ax 2 + bx + c (5) (4) f(x) x i 2xi 1 x i x i+2 x x i 3 x i+1 x i+3 xi+1 K i = f(x)dx x i 1 xi+1 = (ax 2 + bx + c)dx = x i 1 [ a 3 x3 + b ] xi+1 2 x2 + cx x i 1 (6) x i 1 = x i h x i+1 = x i + h x i 2xi 1 xi x i+2 x x i+1 x i+3 i 2j + 1 x i 3 K i = a ( (xn + h) 3 (x n h) 3) + b ( (xn + h) 2 (x n h) 2) 3 2 +c ((x n + h) (x n h)) = 2a 3 (hx2 i + h 3 ) + bhx i + 2ch = h 3 (6ax2 i + 2ah 2 + 6bx i + 6c) (7) f(x i 1 ) = a(x i h) 2 + b(x i h) + c (8) f(x i ) = ax 2 i + bx i + c (9) f(x i+1 ) = a(x i + h) 2 + b(x i + h) + c (10) f(x i 1 ) + 4f(x i ) + f(x i+1 ) = 6ax 2 i + 2ah 2 + 6bx i + 6c (11) 21

22 (7) 3 K i K i = h 3 (f(x i 1) + 4f(x i ) + f(x i+1 )) (12) I = xn x 0 f(x)dx = (n/2) 1 j=0 K 2j+1 (13) K i (12) (13) I = h n/2 (n/2) 1 f(x 0 ) + 4 f(x 2k 1 ) + 2 f(x 2k ) + f(x n ) (14) 3 k=1 4 2 k= n = 200 π 0 sin x dx 9-2. n = π 2 0 π 0 cos x dx 4 x2 dx = π n = 100 π n π 6 n 9-5. π x 2 dx = π n = 100 π n π 6 n e x dx e x2 0 dx 22

23 10 p-v -T 10.1 f(x) = 0 (15) 1. f(a 0 ) f(b 0 ) a 0 b 0 f(a 0 )f(b 0 ) < 0 (16) 2. a 0 b 0 c 0 3. i = 1 4. c 0 = a 0 + b 0 2 (17) f(a i 1 ) f(c i 1 ) f(a i 1 )f(c i 1 ) < 0 a i 1 c i 1 a i = a i 1 b i = c i 1 f(a i 1 ) f(c i 1 ) f(a i 1 )f(c i 1 ) > 0 y b 1 b 2 b 0 c 1 a 2 a 1 c 0 a 0 f(x) f(c i 1 ) f(b i 1 ) f(c i 1 )f(b i 1 ) < 0 a i = c i 1 x b i = b i 1 5. a i b i c i c i = a i + b i i 1 (4) δ ε (18) f(c i ) < δ (19) a i b i < ε (20) 10.2 f(x) f (x) 23

24 1. x 0 2. i = 1 3. x = x i 1 f(x) x x i y x 1 x 2 x 0 f(x) y = f (x i 1 )(x x i 1 ) + f(x i 1 ) (21) x i x x i = x i 1 f(x i 1) f (x i 1 ) (22) 4. i 1 (3) f(x i ) = δ (23) a 0 = 0, b 0 = 3 δ = 10 6, ε = 10 6 f(x) = 5x 3 7x 2 + x 9 = Newton x 0 = 3 δ = 10 6 f(x) = 5x 3 7x 2 + x 9 = a 0 = 6, b 0 = 9 δ = 10 6, ε = 10 6 f(x) = x sin x 2 + x 9 = Newton x 0 = 6 δ = 10 6 f(x) = x sin x 2 + x 9 = < x < 15 3 δ = 10 6, ε = 10 6 f(x) = x sin x 2 + x 9 = Newton 5 < x < 15 3 δ = 10 6 f(x) = x sin x 2 + x 9 = 0 24

25 11 ( 9 ) 9 (p. 207) 11.1 #include <stdio.h> int main(void) { float a, b, c; FILE *fp; /* */ printf("input a: "); scanf("%f", &a); printf("input b: "); scanf("%f", &b); c = a + b; printf("a + b = %f\n",c); fp = fopen("abc.dat","w"); /* */ fprintf(fp,"a = %f\n",a); /* */ fprintf(fp,"b = %f\n",b); fprintf(fp,"a + b = %f\n",c); fclose(fp); /* */ } return 0; [ ] input a: 1.2 input b: 2.3 a + b = [ ] a = b = a + b =

26 BCPad File programming (*.*) abc.dat FILE *fp; fp fp * fp FILE FILE stdio.h #include <stdio.h> p. 206 fp = fopen("abc.dat","w") "abc.dat" "w" "w" H:\programming A: fp = fopen("a:\abc.dat","w") fp fprintf(fp,"a = %f\n",a); printf fprintf printf "a = %f\n" fp printf fclose(fp); "w" 11.2 #include <stdio.h> int main(void) { float a, b, c; FILE *fp1, *fp2; fp1 = fopen("input.dat","r"); fscanf(fp1,"%f", &a); 26

27 fscanf(fp1,"%f", &b); fclose(fp1); c = a + b; printf("a = %10.5f\nb = %10.5f\n",a,b); printf("a + b = %10.5f\n",c); fp2 = fopen("results.dat","w"); fprintf(fp2,"a = %10.5f\nb = %10.5f\n",a,b); fprintf(fp2,"a + b = %10.5f\n",c); fclose(fp2); } return 0; BCPad File File input.dat.dat results.dat a = b = a + b = FILE *fp1, *fp2; 2 2 fp1 = fopen("input.dat","r"); "r" 27

28 H:\programming fp1 fp1 NULL fscanf(fp1,"%f", &a); fscanf(fp1,"%f", &b); scanf fscanf scanf "%f" fp1 scanf input.dat fclose(fp1); fopen fclose 28

29 12 3 n 12.1 n a[0] a[n-1] a[0] a[j-1] n j-1 a[j] a[n-1] a[j] j j=0 n-2 n j=0 n-2 j 1 1. mini=a[j]; mnum=j 2. i=j+1 n-1 i 1 a[i] < mini mini=a[i]; mnum=i a[i] mini i 3. a[j] a[mnum] a[0] a[j] 4. j 12.2 n a[0] a[n-1] 2 n j=0 n-2 j 1 1. i=0 n-2-j i 1 a[i] > a[i+1] a[i] a[i+1] a[i] a[i+1] i 2. i=n-2-j a[n-2-j] a[n-1] 3. j 12.3 n a[0] a[n-1] a[0] a[j-1] j 29

30 a[j] j=1 n-1 n j=1 n-1 j 1 1. dummy=a[j] 2. i=[j-1] 0 i 1 a[i] dummy a[i+1]=a[i] a[i]=dummy i a[i] < dummy a[0] a[j] i 3. j n sort-1.dat n sort-2.dat n sort-3.dat n sort-4.dat n sort-5.dat n sort-6.dat a[2][n] n a[0][0] a[0][n-1] a[1][0] a[1][n-1] 30

31 p xxxxxxxx-01.cpp xxxxxxxx-01.c xxxxxxxx ID 8 2 /* 01 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET DUET DUET

32 p xxxxxxxx-02.cpp xxxxxxxx-02.c xxxxxxxx ID 8 2 /* 02 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-02t.c xxxxxxxx-02t.cpp xxxxxxxx ID 8 p. 2 DUET

33 p xxxxxxxx-03.cpp xxxxxxxx-03.c xxxxxxxx ID 8 2 /* 03 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-03t.c xxxxxxxx-03t.cpp xxxxxxxx ID 8 p. 2 DUET

34 p xxxxxxxx-04.cpp xxxxxxxx-04.c xxxxxxxx ID 8 2 /* 04 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-04t.c xxxxxxxx-04t.cpp xxxxxxxx ID 8 p. 2 DUET

35 p xxxxxxxx-05.cpp xxxxxxxx-05.c xxxxxxxx ID 8 2 /* 05 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-05t.c xxxxxxxx-05t.cpp xxxxxxxx ID 8 p. 2 DUET

36 p xxxxxxxx-06.cpp xxxxxxxx-06.c xxxxxxxx ID 8 2 /* 06 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-06t.c xxxxxxxx-06t.cpp xxxxxxxx ID 8 p. 2 DUET

37 p xxxxxxxx-07.cpp xxxxxxxx-07.c xxxxxxxx ID 8 2 /* 07 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-07t.c xxxxxxxx-07t.cpp xxxxxxxx ID 8 p. 2 DUET

38 a 0 = 6, b 0 = 9 δ = 10 6, ε = 10 6 f(x) = x sin x 2 + x 9 = 0 xxxxxxxx-08.cpp xxxxxxxx-08.c xxxxxxxx ID 8 2 /* 08 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET Newton x 0 = 6 δ = 10 6 f(x) = x sin x 2 + x 9 = 0 xxxxxxxx-08t.c xxxxxxxx-08t.cpp xxxxxxxx ID 8 p. 2 DUET

39 p Web kadai09.dat USB heikin.dat 14 (kadai09.dat) USB xxxxxxxx-09.cpp xxxxxxxx-09.c xxxxxxxx ID 8 2 /* 09 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-09t.c xxxxxxxx-09t.cpp xxxxxxxx ID 8 p. 2 DUET A gyoretsu.dat A =

40 p Web kadai10.dat 100 USB 15 (kadai10.dat) USB xxxxxxxx-10.cpp xxxxxxxx-10.c xxxxxxxx ID 8 2 /* 10 */ /* xxxxxxxx */ xxxxxxxx ID /* */ ID TA p. 2 DUET xxxxxxxx-10t.c xxxxxxxx-10t.cpp xxxxxxxx ID 8 p. 2 DUET

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 新装版 1 刷発行時のものです.

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます.  このサンプルページの内容は, 新装版 1 刷発行時のものです. C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009383 このサンプルページの内容は, 新装版 1 刷発行時のものです. i 2 22 2 13 ( ) 2 (1) ANSI (2) 2 (3) Web http://www.morikita.co.jp/books/mid/009383

More information

C 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in

C 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in C 1 / 21 C 2005 A * 1 2 1.1......................................... 2 1.2 *.......................................... 3 2 4 2.1.............................................. 4 2.2..............................................

More information

PowerPoint Presentation

PowerPoint Presentation 第 7 回文字列数学関数ファイルの入出力 芝浦工業大学情報工学科青木義満 今回の講義内容 文字列 文字列の配列の扱い 関数への受け渡し 数学関数の利用 平方根, べき乗, 三角関数など ファイル入出力 文字列とは? (p.0) 文字列リテラル 文字 つつ : A, B, 複数の文字の並び= 文字列 puts( ぷろぐらみんぐ入門 ); で囲まれた部分 = 文字列リテラルという 文字列リテラルとナル文字

More information

1 1.1 ( ). z = a + bi, a, b R 0 a, b 0 a 2 + b 2 0 z = a + bi = ( ) a 2 + b 2 a a 2 + b + b 2 a 2 + b i 2 r = a 2 + b 2 θ cos θ = a a 2 + b 2, sin θ =

1 1.1 ( ). z = a + bi, a, b R 0 a, b 0 a 2 + b 2 0 z = a + bi = ( ) a 2 + b 2 a a 2 + b + b 2 a 2 + b i 2 r = a 2 + b 2 θ cos θ = a a 2 + b 2, sin θ = 1 1.1 ( ). z = + bi,, b R 0, b 0 2 + b 2 0 z = + bi = ( ) 2 + b 2 2 + b + b 2 2 + b i 2 r = 2 + b 2 θ cos θ = 2 + b 2, sin θ = b 2 + b 2 2π z = r(cos θ + i sin θ) 1.2 (, ). 1. < 2. > 3. ±,, 1.3 ( ). A

More information

, 1 ( f n (x))dx d dx ( f n (x)) 1 f n (x)dx d dx f n(x) lim f n (x) = [, 1] x f n (x) = n x x 1 f n (x) = x f n (x) = x 1 x n n f n(x) = [, 1] f n (x

, 1 ( f n (x))dx d dx ( f n (x)) 1 f n (x)dx d dx f n(x) lim f n (x) = [, 1] x f n (x) = n x x 1 f n (x) = x f n (x) = x 1 x n n f n(x) = [, 1] f n (x 1 1.1 4n 2 x, x 1 2n f n (x) = 4n 2 ( 1 x), 1 x 1 n 2n n, 1 x n n 1 1 f n (x)dx = 1, n = 1, 2,.. 1 lim 1 lim 1 f n (x)dx = 1 lim f n(x) = ( lim f n (x))dx = f n (x)dx 1 ( lim f n (x))dx d dx ( lim f d

More information

kiso2-06.key

kiso2-06.key 座席指定があります Linux を起動して下さい 第6回 計算機基礎実習II 計算機基礎実習II 2018 のウェブページか ら 以下の課題に自力で取り組んで下さい 第5回の復習課題(rev05) 第6回の基本課題(base06) 第5回課題の回答例 ex05-2.c 1. キーボードから整数値 a を入力すると a*a*a の値を出力することを繰り返すプログラムを作成しなさい 2. ただし 入力された

More information

i

i i 3 4 4 7 5 6 3 ( ).. () 3 () (3) (4) /. 3. 4/3 7. /e 8. a > a, a = /, > a >. () a >, a =, > a > () a > b, a = b, a < b. c c n a n + b n + c n 3c n..... () /3 () + (3) / (4) /4 (5) m > n, a b >, m > n,

More information

joho09.ppt

joho09.ppt s M B e E s: (+ or -) M: B: (=2) e: E: ax 2 + bx + c = 0 y = ax 2 + bx + c x a, b y +/- [a, b] a, b y (a+b) / 2 1-2 1-3 x 1 A a, b y 1. 2. a, b 3. for Loop (b-a)/ 4. y=a*x*x + b*x + c 5. y==0.0 y (y2)

More information

[1] #include<stdio.h> main() { printf("hello, world."); return 0; } (G1) int long int float ± ±

[1] #include<stdio.h> main() { printf(hello, world.); return 0; } (G1) int long int float ± ± [1] #include printf("hello, world."); (G1) int -32768 32767 long int -2147483648 2147483647 float ±3.4 10 38 ±3.4 10 38 double ±1.7 10 308 ±1.7 10 308 char [2] #include int a, b, c, d,

More information

卒 業 研 究 報 告.PDF

卒 業 研 究 報 告.PDF C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション プログラミング初級 第 13 回 2017 年 7 月 10 日 標準ライブラリ関数 1 標準ライブラリ関数とは 関数には (1) 自分で作る関数 (2) はじめから用意されている関数特に C 言語用用意されているもの : 標準ライブラリ関数 文字列の代入文字列の長さを求める文字列の比較文字列の連結 strcpy strlen strcmp strcat 2 文字列の操作 - 具体例を通して (141

More information

I, II 1, A = A 4 : 6 = max{ A, } A A 10 10%

I, II 1, A = A 4 : 6 = max{ A, } A A 10 10% 1 2006.4.17. A 3-312 tel: 092-726-4774, e-mail: hara@math.kyushu-u.ac.jp, http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html Office hours: B A I ɛ-δ ɛ-δ 1. 2. A 1. 1. 2. 3. 4. 5. 2. ɛ-δ 1. ɛ-n

More information

2014 S hara/lectures/lectures-j.html r 1 S phone: ,

2014 S hara/lectures/lectures-j.html r 1 S phone: , 14 S1-1+13 http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html r 1 S1-1+13 14.4.11. 19 phone: 9-8-4441, e-mail: hara@math.kyushu-u.ac.jp Office hours: 1 4/11 web download. I. 1. ϵ-δ 1. 3.1, 3..

More information

A

A A 2563 15 4 21 1 3 1.1................................................ 3 1.2............................................. 3 2 3 2.1......................................... 3 2.2............................................

More information

c-all.dvi

c-all.dvi III(994) (994) from PSL (9947) & (9922) c (99,992,994,996) () () 2 3 4 (2) 2 Euler 22 23 Euler 24 (3) 3 32 33 34 35 Poisson (4) 4 (5) 5 52 ( ) 2 Turbo 2 d 2 y=dx 2 = y y = a sin x + b cos x x = y = Fortran

More information

数値計算

数値計算 数値計算 垣谷公徳 17 号館 3 階電子メール : kimi@ee.ous.ac.jp プログラミング言語の一般論 データ型 ( 定数と変数 配列 ) 代入 基本演算 ( 四則演算 ) 入出力 分岐 繰返処理 関数 外部手続き 1 2 入力関数 入出力 getchar, getc, fgetc ; 一文字入力 gets, fgets, fread ; 文字列 ( データ列 ) 入力 scanf,

More information

, x R, f (x),, df dx : R R,, f : R R, f(x) ( ).,, f (a) d f dx (a), f (a) d3 f dx 3 (a),, f (n) (a) dn f dx n (a), f d f dx, f d3 f dx 3,, f (n) dn f

, x R, f (x),, df dx : R R,, f : R R, f(x) ( ).,, f (a) d f dx (a), f (a) d3 f dx 3 (a),, f (n) (a) dn f dx n (a), f d f dx, f d3 f dx 3,, f (n) dn f ,,,,.,,,. R f : R R R a R, f(a + ) f(a) lim 0 (), df dx (a) f (a), f(x) x a, f (a), f(x) x a ( ). y f(a + ) y f(x) f(a+) f(a) f(a + ) f(a) f(a) x a 0 a a + x 0 a a + x y y f(x) 0 : 0, f(a+) f(a)., f(x)

More information

f(x) = f(x ) + α(x)(x x ) α(x) x = x. x = f (y), x = f (y ) y = f f (y) = f f (y ) + α(f (y))(f (y) f (y )) f (y) = f (y ) + α(f (y)) (y y ) ( (2) ) f

f(x) = f(x ) + α(x)(x x ) α(x) x = x. x = f (y), x = f (y ) y = f f (y) = f f (y ) + α(f (y))(f (y) f (y )) f (y) = f (y ) + α(f (y)) (y y ) ( (2) ) f 22 A 3,4 No.3 () (2) (3) (4), (5) (6) (7) (8) () n x = (x,, x n ), = (,, n ), x = ( (x i i ) 2 ) /2 f(x) R n f(x) = f() + i α i (x ) i + o( x ) α,, α n g(x) = o( x )) lim x g(x) x = y = f() + i α i(x )

More information

No2 4 y =sinx (5) y = p sin(2x +3) (6) y = 1 tan(3x 2) (7) y =cos 2 (4x +5) (8) y = cos x 1+sinx 5 (1) y =sinx cos x 6 f(x) = sin(sin x) f 0 (π) (2) y

No2 4 y =sinx (5) y = p sin(2x +3) (6) y = 1 tan(3x 2) (7) y =cos 2 (4x +5) (8) y = cos x 1+sinx 5 (1) y =sinx cos x 6 f(x) = sin(sin x) f 0 (π) (2) y No1 1 (1) 2 f(x) =1+x + x 2 + + x n, g(x) = 1 (n +1)xn + nx n+1 (1 x) 2 x 6= 1 f 0 (x) =g(x) y = f(x)g(x) y 0 = f 0 (x)g(x)+f(x)g 0 (x) 3 (1) y = x2 x +1 x (2) y = 1 g(x) y0 = g0 (x) {g(x)} 2 (2) y = µ

More information

r 1 m A r/m i) t ii) m i) t B(t; m) ( B(t; m) = A 1 + r ) mt m ii) B(t; m) ( B(t; m) = A 1 + r ) mt m { ( = A 1 + r ) m } rt r m n = m r m n B

r 1 m A r/m i) t ii) m i) t B(t; m) ( B(t; m) = A 1 + r ) mt m ii) B(t; m) ( B(t; m) = A 1 + r ) mt m { ( = A 1 + r ) m } rt r m n = m r m n B 1 1.1 1 r 1 m A r/m i) t ii) m i) t Bt; m) Bt; m) = A 1 + r ) mt m ii) Bt; m) Bt; m) = A 1 + r ) mt m { = A 1 + r ) m } rt r m n = m r m n Bt; m) Aert e lim 1 + 1 n 1.1) n!1 n) e a 1, a 2, a 3,... {a n

More information

y π π O π x 9 s94.5 y dy dx. y = x + 3 y = x logx + 9 s9.6 z z x, z y. z = xy + y 3 z = sinx y 9 s x dx π x cos xdx 9 s93.8 a, fx = e x ax,. a =

y π π O π x 9 s94.5 y dy dx. y = x + 3 y = x logx + 9 s9.6 z z x, z y. z = xy + y 3 z = sinx y 9 s x dx π x cos xdx 9 s93.8 a, fx = e x ax,. a = [ ] 9 IC. dx = 3x 4y dt dy dt = x y u xt = expλt u yt λ u u t = u u u + u = xt yt 6 3. u = x, y, z = x + y + z u u 9 s9 grad u ux, y, z = c c : grad u = u x i + u y j + u k i, j, k z x, y, z grad u v =

More information

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

1 1 sin cos P (primary) S (secondly) 2 P S A sin(ω2πt + α) A ω 1 ω α V T m T m 1 100Hz m 2 36km 500Hz. 36km 1

1 1 sin cos P (primary) S (secondly) 2 P S A sin(ω2πt + α) A ω 1 ω α V T m T m 1 100Hz m 2 36km 500Hz. 36km 1 sin cos P (primary) S (secondly) 2 P S A sin(ω2πt + α) A ω ω α 3 3 2 2V 3 33+.6T m T 5 34m Hz. 34 3.4m 2 36km 5Hz. 36km m 34 m 5 34 + m 5 33 5 =.66m 34m 34 x =.66 55Hz, 35 5 =.7 485.7Hz 2 V 5Hz.5V.5V V

More information

C 2 2.1? 3x 2 + 2x + 5 = 0 (1) 1

C 2 2.1? 3x 2 + 2x + 5 = 0 (1) 1 2006 7 18 1 2 C 2 2.1? 3x 2 + 2x + 5 = 0 (1) 1 2 7x + 4 = 0 (2) 1 1 x + x + 5 = 0 2 sin x x = 0 e x + x = 0 x = cos x (3) x + 5 + log x? 0.1% () 2.2 p12 3 x 3 3x 2 + 9x 8 = 0 (4) 1 [ ] 1/3 [ 2 1 ( x 1

More information

. p.1/15

. p.1/15 . p./5 [ ] x y y x x y fx) y fx) x y. p.2/5 [ ] x y y x x y fx) y fx) x y y x y x y fx) f y) x f y) f f f f. p.2/5 [ ] x y y x x y fx) y fx) x y y x y x y fx) f y) x f y) f f f f [ ] a > y a x R ). p.2/5

More information

A A p.1/16

A A p.1/16 A A p./6 A p.2/6 [ ] x y y x x y fx) y fx) x y A p.3/6 [ ] x y y x x y fx) y fx) x y y x y x y fx) f y) x f y) f f f f A p.3/6 [ ] x y y x x y fx) y fx) x y y x y x y fx) f y) x f y) f f f f [ ] a > y

More information

1 return main() { main main C 1 戻り値の型 関数名 引数 関数ブロックをあらわす中括弧 main() 関数の定義 int main(void){ printf("hello World!!\n"); return 0; 戻り値 1: main() 2.2 C main

1 return main() { main main C 1 戻り値の型 関数名 引数 関数ブロックをあらわす中括弧 main() 関数の定義 int main(void){ printf(hello World!!\n); return 0; 戻り値 1: main() 2.2 C main C 2007 5 29 C 1 11 2 2.1 main() 1 FORTRAN C main() main main() main() 1 return 1 1 return main() { main main C 1 戻り値の型 関数名 引数 関数ブロックをあらわす中括弧 main() 関数の定義 int main(void){ printf("hello World!!\n"); return

More information

<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63>

<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63> 電気電子数学入門 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/073471 このサンプルページの内容は, 初版 1 刷発行当時のものです. i 14 (tool) [ ] IT ( ) PC (EXCEL) HP() 1 1 4 15 3 010 9 ii 1... 1 1.1 1 1.

More information

all.dvi

all.dvi fortran 1996 4 18 2007 6 11 2012 11 12 1 3 1.1..................................... 3 1.2.............................. 3 2 fortran I 5 2.1 write................................ 5 2.2.................................

More information

A S- hara/lectures/lectures-j.html r A = A 5 : 5 = max{ A, } A A A A B A, B A A A %

A S-   hara/lectures/lectures-j.html r A = A 5 : 5 = max{ A, } A A A A B A, B A A A % A S- http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html r A S- 3.4.5. 9 phone: 9-8-444, e-mail: hara@math.kyushu-u.ac.jp, http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html Office

More information

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1

More information

no35.dvi

no35.dvi p.16 1 sin x, cos x, tan x a x a, a>0, a 1 log a x a III 2 II 2 III III [3, p.36] [6] 2 [3, p.16] sin x sin x lim =1 ( ) [3, p.42] x 0 x ( ) sin x e [3, p.42] III [3, p.42] 3 3.1 5 8 *1 [5, pp.48 49] sin

More information

I y = f(x) a I a x I x = a + x 1 f(x) f(a) x a = f(a + x) f(a) x (11.1) x a x 0 f(x) f(a) f(a + x) f(a) lim = lim x a x a x 0 x (11.2) f(x) x

I y = f(x) a I a x I x = a + x 1 f(x) f(a) x a = f(a + x) f(a) x (11.1) x a x 0 f(x) f(a) f(a + x) f(a) lim = lim x a x a x 0 x (11.2) f(x) x 11 11.1 I y = a I a x I x = a + 1 f(a) x a = f(a +) f(a) (11.1) x a 0 f(a) f(a +) f(a) = x a x a 0 (11.) x = a a f (a) d df f(a) (a) I dx dx I I I f (x) d df dx dx (x) [a, b] x a ( 0) x a (a, b) () [a,

More information

2 P.S.P.T. P.S.P.T. wiki 26

2 P.S.P.T. P.S.P.T. wiki  26 P.S.P.T. C 2011 4 10 2 P.S.P.T. P.S.P.T. wiki p.s.p.t.since1982@gmail.com http://www23.atwiki.jp/pspt 26 3 2 1 C 8 1.1 C................................................ 8 1.1.1...........................................

More information

1 28 6 12 7 1 7.1...................................... 2 7.1.1............................... 2 7.1.2........................... 2 7.2...................................... 3 7.3...................................

More information

Part () () Γ Part ,

Part () () Γ Part , Contents a 6 6 6 6 6 6 6 7 7. 8.. 8.. 8.3. 8 Part. 9. 9.. 9.. 3. 3.. 3.. 3 4. 5 4.. 5 4.. 9 4.3. 3 Part. 6 5. () 6 5.. () 7 5.. 9 5.3. Γ 3 6. 3 6.. 3 6.. 3 6.3. 33 Part 3. 34 7. 34 7.. 34 7.. 34 8. 35

More information

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v 1 http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp /* do-while */ #include #include int main(void) double val1, val2, arith_mean, geo_mean; printf( \n );

More information

微分積分 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 初版 1 刷発行時のものです.

微分積分 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます.   このサンプルページの内容は, 初版 1 刷発行時のものです. 微分積分 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. ttp://www.morikita.co.jp/books/mid/00571 このサンプルページの内容は, 初版 1 刷発行時のものです. i ii 014 10 iii [note] 1 3 iv 4 5 3 6 4 x 0 sin x x 1 5 6 z = f(x, y) 1 y = f(x)

More information

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) 2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test

More information

- II

- II - II- - -.................................................................................................... 3.3.............................................. 4 6...........................................

More information

num2.dvi

num2.dvi kanenko@mbk.nifty.com http://kanenko.a.la9.jp/ 16 32...... h 0 h = ε () 0 ( ) 0 1 IEEE754 (ieee754.c Kerosoft Ltd.!) 1 2 : OS! : WindowsXP ( ) : X Window xcalc.. (,.) C double 10,??? 3 :, ( ) : BASIC,

More information

x () g(x) = f(t) dt f(x), F (x) 3x () g(x) g (x) f(x), F (x) (3) h(x) = x 3x tf(t) dt.9 = {(x, y) ; x, y, x + y } f(x, y) = xy( x y). h (x) f(x), F (x

x () g(x) = f(t) dt f(x), F (x) 3x () g(x) g (x) f(x), F (x) (3) h(x) = x 3x tf(t) dt.9 = {(x, y) ; x, y, x + y } f(x, y) = xy( x y). h (x) f(x), F (x [ ] IC. f(x) = e x () f(x) f (x) () lim f(x) lim f(x) x + x (3) lim f(x) lim f(x) x + x (4) y = f(x) ( ) ( s46). < a < () a () lim a log xdx a log xdx ( ) n (3) lim log k log n n n k=.3 z = log(x + y ),

More information

1 4 2 EP) (EP) (EP)

1 4 2 EP) (EP) (EP) 2003 2004 2 27 1 1 4 2 EP) 5 3 6 3.1.............................. 6 3.2.............................. 6 3.3 (EP)............... 7 4 8 4.1 (EP).................... 8 4.1.1.................... 18 5 (EP)

More information

1 I 1.1 ± e = = - = C C MKSA [m], [Kg] [s] [A] 1C 1A 1 MKSA 1C 1C +q q +q q 1

1 I 1.1 ± e = = - = C C MKSA [m], [Kg] [s] [A] 1C 1A 1 MKSA 1C 1C +q q +q q 1 1 I 1.1 ± e = = - =1.602 10 19 C C MKA [m], [Kg] [s] [A] 1C 1A 1 MKA 1C 1C +q q +q q 1 1.1 r 1,2 q 1, q 2 r 12 2 q 1, q 2 2 F 12 = k q 1q 2 r 12 2 (1.1) k 2 k 2 ( r 1 r 2 ) ( r 2 r 1 ) q 1 q 2 (q 1 q 2

More information

2000年度『数学展望 I』講義録

2000年度『数学展望 I』講義録 2000 I I IV I II 2000 I I IV I-IV. i ii 3.10 (http://www.math.nagoya-u.ac.jp/ kanai/) 2000 A....1 B....4 C....10 D....13 E....17 Brouwer A....21 B....26 C....33 D....39 E. Sperner...45 F....48 A....53

More information

2012 IA 8 I p.3, 2 p.19, 3 p.19, 4 p.22, 5 p.27, 6 p.27, 7 p

2012 IA 8 I p.3, 2 p.19, 3 p.19, 4 p.22, 5 p.27, 6 p.27, 7 p 2012 IA 8 I 1 10 10 29 1. [0, 1] n x = 1 (n = 1, 2, 3,...) 2 f(x) = n 0 [0, 1] 2. 1 x = 1 (n = 1, 2, 3,...) 2 f(x) = n 0 [0, 1] 1 0 f(x)dx 3. < b < c [, c] b [, c] 4. [, b] f(x) 1 f(x) 1 f(x) [, b] 5.

More information

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0)

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0) E-mail: takio-kurita@aist.go.jp 1 ( ) CPU ( ) 2 1. a f(a) =(a 1.0) 2 (1) a ( ) 1(a) f(a) a (1) a f(a) a =2(a 1.0) (2) 2 0 a f(a) a =2(a 1.0) = 0 (3) 1 9 8 7 (x-1.0)*(x-1.0) 6 4 2.0*(x-1.0) 6 2 5 4 0 3-2

More information

プログラミング基礎

プログラミング基礎 C プログラミング 演習 アルゴリズム基礎論 演習 第 10 回 今後の予定 12/22( 月 ) 期末試験 (60 分間 ) 場所 :A1611 時間 :16:20~17:20 課題の最終提出締切 :12/19( 金 ) これ以降の新規提出は評価されない 12/22までに最終状況を提示するので, 提出したのに や になってる人は自分の提出内容や提出先を再確認した上で12/26までに問い合わせること

More information

fx-260A_Users Guide_J

fx-260A_Users Guide_J fx-260a http://edu.casio.jp J 1 5 2 Fl SD F0 COMP F4 DEG F5 RAD F6 GRA 3 F7 FIX F8 SCI F9 NORM COMP DEG, RAD, GRA COMP SD F0 SD SC FIX F9 SD DEG, RAD, GRA t SD COMP DEG RAD GRA COMP 23 4.5 53 23 + 4.5,

More information

III 1 (X, d) d U d X (X, d). 1. (X, d).. (i) d(x, y) d(z, y) d(x, z) (ii) d(x, y) d(z, w) d(x, z) + d(y, w) 2. (X, d). F X.. (1), X F, (2) F 1, F 2 F

III 1 (X, d) d U d X (X, d). 1. (X, d).. (i) d(x, y) d(z, y) d(x, z) (ii) d(x, y) d(z, w) d(x, z) + d(y, w) 2. (X, d). F X.. (1), X F, (2) F 1, F 2 F III 1 (X, d) d U d X (X, d). 1. (X, d).. (i) d(x, y) d(z, y) d(x, z) (ii) d(x, y) d(z, w) d(x, z) + d(y, w) 2. (X, d). F X.. (1), X F, (2) F 1, F 2 F F 1 F 2 F, (3) F λ F λ F λ F. 3., A λ λ A λ. B λ λ

More information

D xy D (x, y) z = f(x, y) f D (2 ) (x, y, z) f R z = 1 x 2 y 2 {(x, y); x 2 +y 2 1} x 2 +y 2 +z 2 = 1 1 z (x, y) R 2 z = x 2 y

D xy D (x, y) z = f(x, y) f D (2 ) (x, y, z) f R z = 1 x 2 y 2 {(x, y); x 2 +y 2 1} x 2 +y 2 +z 2 = 1 1 z (x, y) R 2 z = x 2 y 5 5. 2 D xy D (x, y z = f(x, y f D (2 (x, y, z f R 2 5.. z = x 2 y 2 {(x, y; x 2 +y 2 } x 2 +y 2 +z 2 = z 5.2. (x, y R 2 z = x 2 y + 3 (2,,, (, 3,, 3 (,, 5.3 (. (3 ( (a, b, c A : (x, y, z P : (x, y, x

More information

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l C/C++ 2007 6 18 1 C STL(1) 2 1.1............................................... 2 1.2 stdio................................................ 3 1.3.......................................... 10 2 11 2.1 sizeof......................................

More information

( 28 ) ( ) ( ) 0 This note is c 2016, 2017 by Setsuo Taniguchi. It may be used for personal or classroom purposes, but not for commercial purp

( 28 ) ( ) ( ) 0 This note is c 2016, 2017 by Setsuo Taniguchi. It may be used for personal or classroom purposes, but not for commercial purp ( 28) ( ) ( 28 9 22 ) 0 This ote is c 2016, 2017 by Setsuo Taiguchi. It may be used for persoal or classroom purposes, but ot for commercial purposes. i (http://www.stat.go.jp/teacher/c2epi1.htm ) = statistics

More information

ゲームエンジンの構成要素

ゲームエンジンの構成要素 cp-3. 計算 (C プログラムの書き方を, パソコン演習で学ぶシリーズ ) https://www.kkaneko.jp/cc/adp/index.html 金子邦彦 1 本日の内容 例題 1. 自由落下距離四則演算例題 2. 三角形の面積浮動小数の変数, 入力文, 出力文, 代入文例題 3. sin 関数による三角形の面積ライブラリ関数 2 今日の到達目標 プログラムを使って, 自分の思い通りの計算ができるようになる

More information

2011de.dvi

2011de.dvi 211 ( 4 2 1. 3 1.1............................... 3 1.2 1- -......................... 13 1.3 2-1 -................... 19 1.4 3- -......................... 29 2. 37 2.1................................ 37

More information

( )/2 hara/lectures/lectures-j.html 2, {H} {T } S = {H, T } {(H, H), (H, T )} {(H, T ), (T, T )} {(H, H), (T, T )} {1

( )/2   hara/lectures/lectures-j.html 2, {H} {T } S = {H, T } {(H, H), (H, T )} {(H, T ), (T, T )} {(H, H), (T, T )} {1 ( )/2 http://www2.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html 1 2011 ( )/2 2 2011 4 1 2 1.1 1 2 1 2 3 4 5 1.1.1 sample space S S = {H, T } H T T H S = {(H, H), (H, T ), (T, H), (T, T )} (T, H) S

More information

2 1 Octave Octave Window M m.m Octave Window 1.2 octave:1> a = 1 a = 1 octave:2> b = 1.23 b = octave:3> c = 3; ; % octave:4> x = pi x =

2 1 Octave Octave Window M m.m Octave Window 1.2 octave:1> a = 1 a = 1 octave:2> b = 1.23 b = octave:3> c = 3; ; % octave:4> x = pi x = 1 1 Octave GNU Octave Matlab John W. Eaton 1992 2.0.16 2.1.35 Octave Matlab gnuplot Matlab Octave MATLAB [1] Octave [1] 2.7 Octave Matlab Octave Octave 2.1.35 2.5 2.0.16 Octave 1.1 Octave octave Octave

More information

1 1 Gnuplot gnuplot Windows gnuplot gp443win32.zip gnuplot binary, contrib, demo, docs, license 5 BUGS, Chang

1 1 Gnuplot gnuplot   Windows gnuplot gp443win32.zip gnuplot binary, contrib, demo, docs, license 5 BUGS, Chang Gnuplot で微分積分 2011 年度前期 数学解析 I 講義資料 (2011.6.24) 矢崎成俊 ( 宮崎大学 ) 1 1 Gnuplot gnuplot http://www.gnuplot.info/ Windows gnuplot 2011 6 22 4.4.3 gp443win32.zip gnuplot binary, contrib, demo, docs, license 5

More information

1/1 lim f(x, y) (x,y) (a,b) ( ) ( ) lim limf(x, y) lim lim f(x, y) x a y b y b x a ( ) ( ) xy x lim lim lim lim x y x y x + y y x x + y x x lim x x 1

1/1 lim f(x, y) (x,y) (a,b) ( ) ( ) lim limf(x, y) lim lim f(x, y) x a y b y b x a ( ) ( ) xy x lim lim lim lim x y x y x + y y x x + y x x lim x x 1 1/5 ( ) Taylor ( 7.1) (x, y) f(x, y) f(x, y) x + y, xy, e x y,... 1 R {(x, y) x, y R} f(x, y) x y,xy e y log x,... R {(x, y, z) (x, y),z f(x, y)} R 3 z 1 (x + y ) z ax + by + c x 1 z ax + by + c y x +

More information

超初心者用

超初心者用 3 1999 10 13 1. 2. hello.c printf( Hello, world! n ); cc hello.c a.out./a.out Hello, world printf( Hello, world! n ); 2 Hello, world printf n printf 3. ( ) int num; num = 100; num 100 100 num int num num

More information

1 1 [1] ( 2,625 [2] ( 2, ( ) /

1 1 [1] ( 2,625 [2] ( 2, ( ) / [] (,65 [] (,3 ( ) 67 84 76 7 8 6 7 65 68 7 75 73 68 7 73 7 7 59 67 68 65 75 56 6 58 /=45 /=45 6 65 63 3 4 3/=36 4/=8 66 7 68 7 7/=38 /=5 7 75 73 8 9 8/=364 9/=864 76 8 78 /=45 /=99 8 85 83 /=9 /= ( )

More information

pdf

pdf http://www.ns.kogakuin.ac.jp/~ft13389/lecture/physics1a2b/ pdf I 1 1 1.1 ( ) 1. 30 m µm 2. 20 cm km 3. 10 m 2 cm 2 4. 5 cm 3 km 3 5. 1 6. 1 7. 1 1.2 ( ) 1. 1 m + 10 cm 2. 1 hr + 6400 sec 3. 3.0 10 5 kg

More information

68 A mm 1/10 A. (a) (b) A.: (a) A.3 A.4 1 1

68 A mm 1/10 A. (a) (b) A.: (a) A.3 A.4 1 1 67 A Section A.1 0 1 0 1 Balmer 7 9 1 0.1 0.01 1 9 3 10:09 6 A.1: A.1 1 10 9 68 A 10 9 10 9 1 10 9 10 1 mm 1/10 A. (a) (b) A.: (a) A.3 A.4 1 1 A.1. 69 5 1 10 15 3 40 0 0 ¾ ¾ É f Á ½ j 30 A.3: A.4: 1/10

More information

4 4 θ X θ P θ 4. 0, 405 P 0 X 405 X P 4. () 60 () 45 () 40 (4) 765 (5) 40 B 60 0 P = 90, = ( ) = X

4 4 θ X θ P θ 4. 0, 405 P 0 X 405 X P 4. () 60 () 45 () 40 (4) 765 (5) 40 B 60 0 P = 90, = ( ) = X 4 4. 4.. 5 5 0 A P P P X X X X +45 45 0 45 60 70 X 60 X 0 P P 4 4 θ X θ P θ 4. 0, 405 P 0 X 405 X P 4. () 60 () 45 () 40 (4) 765 (5) 40 B 60 0 P 0 0 + 60 = 90, 0 + 60 = 750 0 + 60 ( ) = 0 90 750 0 90 0

More information

[ ] x f(x) F = f(x) F(x) f(x) f(x) f(x)dx A p.2/29

[ ] x f(x) F = f(x) F(x) f(x) f(x) f(x)dx A p.2/29 A p./29 [ ] x f(x) F = f(x) F(x) f(x) f(x) f(x)dx A p.2/29 [ ] x f(x) F = f(x) F(x) f(x) f(x) f(x)dx [ ] F(x) f(x) C F(x) + C f(x) A p.2/29 [ ] x f(x) F = f(x) F(x) f(x) f(x) f(x)dx [ ] F(x) f(x) C F(x)

More information

°ÌÁê¿ô³ØII

°ÌÁê¿ô³ØII July 14, 2007 Brouwer f f(x) = x x f(z) = 0 2 f : S 2 R 2 f(x) = f( x) x S 2 3 3 2 - - - 1. X x X U(x) U(x) x U = {U(x) x X} X 1. U(x) A U(x) x 2. A U(x), A B B U(x) 3. A, B U(x) A B U(x) 4. A U(x),

More information

2004 2005 2 2 1G01P038-0 1 2 1.1.............................. 2 1.2......................... 2 1.3......................... 3 2 4 2.1............................ 4 2.2....................... 4 2.3.......................

More information

Chap9.dvi

Chap9.dvi .,. f(),, f(),,.,. () lim 2 +3 2 9 (2) lim 3 3 2 9 (4) lim ( ) 2 3 +3 (5) lim 2 9 (6) lim + (7) lim (8) lim (9) lim (0) lim 2 3 + 3 9 2 2 +3 () lim sin 2 sin 2 (2) lim +3 () lim 2 2 9 = 5 5 = 3 (2) lim

More information

1 No.1 5 C 1 I III F 1 F 2 F 1 F 2 2 Φ 2 (t) = Φ 1 (t) Φ 1 (t t). = Φ 1(t) t = ( 1.5e 0.5t 2.4e 4t 2e 10t ) τ < 0 t > τ Φ 2 (t) < 0 lim t Φ 2 (t) = 0

1 No.1 5 C 1 I III F 1 F 2 F 1 F 2 2 Φ 2 (t) = Φ 1 (t) Φ 1 (t t). = Φ 1(t) t = ( 1.5e 0.5t 2.4e 4t 2e 10t ) τ < 0 t > τ Φ 2 (t) < 0 lim t Φ 2 (t) = 0 1 No.1 5 C 1 I III F 1 F 2 F 1 F 2 2 Φ 2 (t) = Φ 1 (t) Φ 1 (t t). = Φ 1(t) t = ( 1.5e 0.5t 2.4e 4t 2e 10t ) τ < 0 t > τ Φ 2 (t) < 0 lim t Φ 2 (t) = 0 0 < t < τ I II 0 No.2 2 C x y x y > 0 x 0 x > b a dx

More information

20 6 4 1 4 1.1 1.................................... 4 1.1.1.................................... 4 1.1.2 1................................ 5 1.2................................... 7 1.2.1....................................

More information

II Karel Švadlenka * [1] 1.1* 5 23 m d2 x dt 2 = cdx kx + mg dt. c, g, k, m 1.2* u = au + bv v = cu + dv v u a, b, c, d R

II Karel Švadlenka * [1] 1.1* 5 23 m d2 x dt 2 = cdx kx + mg dt. c, g, k, m 1.2* u = au + bv v = cu + dv v u a, b, c, d R II Karel Švadlenka 2018 5 26 * [1] 1.1* 5 23 m d2 x dt 2 = cdx kx + mg dt. c, g, k, m 1.2* 5 23 1 u = au + bv v = cu + dv v u a, b, c, d R 1.3 14 14 60% 1.4 5 23 a, b R a 2 4b < 0 λ 2 + aλ + b = 0 λ =

More information

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n 2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test

More information

[ 1] 1 Hello World!! 1 #include <s t d i o. h> 2 3 int main ( ) { 4 5 p r i n t f ( H e l l o World!! \ n ) ; 6 7 return 0 ; 8 } 1:

[ 1] 1 Hello World!! 1 #include <s t d i o. h> 2 3 int main ( ) { 4 5 p r i n t f ( H e l l o World!! \ n ) ; 6 7 return 0 ; 8 } 1: 005 9 7 1 1.1 1 Hello World!! 5 p r i n t f ( H e l l o World!! \ n ) ; 7 return 0 ; 8 } 1: 1 [ ] Hello World!! from Akita National College of Technology. 1 : 5 p r i n t f ( H e l l o World!! \ n ) ;

More information

PowerPoint Presentation

PowerPoint Presentation ファイルの入出力 芝浦工業大学情報工学科 青木義満 今回の講義内容 ファイル入出力 ファイルからのデータ読込み ファイルと配列 2 1 ファイルへのデータ書き込み ( 復習 ) ソースファイル名 :fileio1.c データをファイルに書き込み #include int main(void) { ファイルポインタ宣言 int student_id = 100; char name[

More information

I, II 1, 2 ɛ-δ 100 A = A 4 : 6 = max{ A, } A A 10

I, II 1, 2 ɛ-δ 100 A = A 4 : 6 = max{ A, } A A 10 1 2007.4.13. A 3-312 tel: 092-726-4774, e-mail: hara@math.kyushu-u.ac.jp, http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html Office hours: B A I ɛ-δ ɛ-δ 1. 2. A 0. 1. 1. 2. 3. 2. ɛ-δ 1. ɛ-n

More information

A 30 A A ( ) 2 C C (, machine language) C (C compiler) ( ) Mac Apple Xcode Clan

A 30 A A ( ) 2 C C (, machine language) C (C compiler) ( ) Mac Apple Xcode Clan C 2017 9 29, 30 5 13 http://nalab.mind.meiji.ac.jp/~mk/labo/text/ 1 2 2 C 2 3 4 3.1 C................................... 4 3.2 Hello world........................................ 5 3.3 5...............................

More information

,. Black-Scholes u t t, x c u 0 t, x x u t t, x c u t, x x u t t, x + σ x u t, x + rx ut, x rux, t 0 x x,,.,. Step 3, 7,,, Step 6., Step 4,. Step 5,,.

,. Black-Scholes u t t, x c u 0 t, x x u t t, x c u t, x x u t t, x + σ x u t, x + rx ut, x rux, t 0 x x,,.,. Step 3, 7,,, Step 6., Step 4,. Step 5,,. 9 α ν β Ξ ξ Γ γ o δ Π π ε ρ ζ Σ σ η τ Θ θ Υ υ ι Φ φ κ χ Λ λ Ψ ψ µ Ω ω Def, Prop, Th, Lem, Note, Remark, Ex,, Proof, R, N, Q, C [a, b {x R : a x b} : a, b {x R : a < x < b} : [a, b {x R : a x < b} : a,

More information

y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f() + f() + f(3) + f(4) () *4

y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f() + f() + f(3) + f(4) () *4 Simpson H4 BioS. Simpson 3 3 0 x. β α (β α)3 (x α)(x β)dx = () * * x * * ɛ δ y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f()

More information

さくらの個別指導 ( さくら教育研究所 ) A a 1 a 2 a 3 a n {a n } a 1 a n n n 1 n n 0 a n = 1 n 1 n n O n {a n } n a n α {a n } α {a

さくらの個別指導 ( さくら教育研究所 ) A a 1 a 2 a 3 a n {a n } a 1 a n n n 1 n n 0 a n = 1 n 1 n n O n {a n } n a n α {a n } α {a ... A a a a 3 a n {a n } a a n n 3 n n n 0 a n = n n n O 3 4 5 6 n {a n } n a n α {a n } α {a n } α α {a n } a n n a n α a n = α n n 0 n = 0 3 4. ()..0.00 + (0.) n () 0. 0.0 0.00 ( 0.) n 0 0 c c c c c

More information

() x + y + y + x dy dx = 0 () dy + xy = x dx y + x y ( 5) ( s55906) 0.7. (). 5 (). ( 6) ( s6590) 0.8 m n. 0.9 n n A. ( 6) ( s6590) f A (λ) = det(a λi)

() x + y + y + x dy dx = 0 () dy + xy = x dx y + x y ( 5) ( s55906) 0.7. (). 5 (). ( 6) ( s6590) 0.8 m n. 0.9 n n A. ( 6) ( s6590) f A (λ) = det(a λi) 0. A A = 4 IC () det A () A () x + y + z = x y z X Y Z = A x y z ( 5) ( s5590) 0. a + b + c b c () a a + b + c c a b a + b + c 0 a b c () a 0 c b b c 0 a c b a 0 0. A A = 7 5 4 5 0 ( 5) ( s5590) () A ()

More information

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co gnuplot 8 gnuplot 1 1.1 gnuplot gnuplot 2D 3D gnuplot ( ) gnuplot UNIX Windows Machintosh Excel gnuplot C 1.2 web gnuplot $ gnuplot gnuplot gnuplot> exit 1 1.3 2 gnuplot> set samples 1024 1024 gnuplot>

More information

prog-text.dvi

prog-text.dvi (C ) 2008 1 2008.8.7 8 1 E mail : sakkun@yokohama-cu.ac.jp 3 I 13 1 17 1.1.......................... 17 1.1.1.......................... 17 1.1.2 OS................ 17 1.2..............................

More information

7. y fx, z gy z gfx dz dx dz dy dy dx. g f a g bf a b fa 7., chain ule Ω, D R n, R m a Ω, f : Ω R m, g : D R l, fω D, b fa, f a g b g f a g f a g bf a

7. y fx, z gy z gfx dz dx dz dy dy dx. g f a g bf a b fa 7., chain ule Ω, D R n, R m a Ω, f : Ω R m, g : D R l, fω D, b fa, f a g b g f a g f a g bf a 9 203 6 7 WWW http://www.math.meiji.ac.jp/~mk/lectue/tahensuu-203/ 2 8 8 7. 7 7. y fx, z gy z gfx dz dx dz dy dy dx. g f a g bf a b fa 7., chain ule Ω, D R n, R m a Ω, f : Ω R m, g : D R l, fω D, b fa,

More information

I

I I 6 4 10 1 1 1.1............... 1 1................ 1 1.3.................... 1.4............... 1.4.1.............. 1.4................. 1.4.3........... 3 1.4.4.. 3 1.5.......... 3 1.5.1..............

More information

資料

資料 PC PC C VMwareをインストールする Tips: VmwareFusion *.vmx vhv.enable = TRUE Tips: Windows Hyper-V -rwxr-xr-x 1 masakazu staff 8552 7 29 13:18 a.out* -rw------- 1 masakazu staff 8552 7 29

More information

( z = x 3 y + y ( z = cos(x y ( 8 ( s8.7 y = xe x ( 8 ( s83.8 ( ( + xdx ( cos 3 xdx t = sin x ( 8 ( s84 ( 8 ( s85. C : y = x + 4, l : y = x + a,

( z = x 3 y + y ( z = cos(x y ( 8 ( s8.7 y = xe x ( 8 ( s83.8 ( ( + xdx ( cos 3 xdx t = sin x ( 8 ( s84 ( 8 ( s85. C : y = x + 4, l : y = x + a, [ ] 8 IC. y d y dx = ( dy dx ( p = dy p y dx ( ( ( 8 ( s8. 3 A A = ( A ( A (3 A P A P AP.3 π y(x = { ( 8 ( s8 x ( π < x x ( < x π y(x π π O π x ( 8 ( s83.4 f (x, y, z grad(f ( ( ( f f f grad(f = i + j

More information

S I. dy fx x fx y fx + C 3 C dy fx 4 x, y dy v C xt y C v e kt k > xt yt gt [ v dt dt v e kt xt v e kt + C k x v + C C k xt v k 3 r r + dr e kt S dt d

S I. dy fx x fx y fx + C 3 C dy fx 4 x, y dy v C xt y C v e kt k > xt yt gt [ v dt dt v e kt xt v e kt + C k x v + C C k xt v k 3 r r + dr e kt S dt d S I.. http://ayapin.film.s.dendai.ac.jp/~matuda /TeX/lecture.html PDF PS.................................... 3.3.................... 9.4................5.............. 3 5. Laplace................. 5....

More information

II 2 II

II 2 II II 2 II 2005 yugami@cc.utsunomiya-u.ac.jp 2005 4 1 1 2 5 2.1.................................... 5 2.2................................. 6 2.3............................. 6 2.4.................................

More information

y = f(x) y = f( + h) f(), x = h dy dx f () f (derivtive) (differentition) (velocity) p(t) =(x(t),y(t),z(t)) ( dp dx dt = dt, dy dt, dz ) dt f () > f x

y = f(x) y = f( + h) f(), x = h dy dx f () f (derivtive) (differentition) (velocity) p(t) =(x(t),y(t),z(t)) ( dp dx dt = dt, dy dt, dz ) dt f () > f x I 5 2 6 3 8 4 Riemnn 9 5 Tylor 8 6 26 7 3 8 34 f(x) x = A = h f( + h) f() h A (differentil coefficient) f f () y = f(x) y = f( + h) f(), x = h dy dx f () f (derivtive) (differentition) (velocity) p(t)

More information

20 9 19 1 3 11 1 3 111 3 112 1 4 12 6 121 6 122 7 13 7 131 8 132 10 133 10 134 12 14 13 141 13 142 13 143 15 144 16 145 17 15 19 151 1 19 152 20 2 21 21 21 211 21 212 1 23 213 1 23 214 25 215 31 22 33

More information

Taro-ファイル処理(公開版).jtd

Taro-ファイル処理(公開版).jtd ファイル処理 0. 目次 1. はじめに 2. ファイル内容の表示 3. ファイル内容の複写 3. 1 文字単位 3. 2 行単位 4. 書式付き入出力 5. 文字配列への入出力 6. 課題 6. 1 課題 1 ( ファイル圧縮 復元 ) - 1 - 1. はじめに ファイル処理プログラムの形は次のようになる #include main() { FILE *fp1,*fp2; ファイルポインタの宣言

More information

2009 IA 5 I 22, 23, 24, 25, 26, (1) Arcsin 1 ( 2 (4) Arccos 1 ) 2 3 (2) Arcsin( 1) (3) Arccos 2 (5) Arctan 1 (6) Arctan ( 3 ) 3 2. n (1) ta

2009 IA 5 I 22, 23, 24, 25, 26, (1) Arcsin 1 ( 2 (4) Arccos 1 ) 2 3 (2) Arcsin( 1) (3) Arccos 2 (5) Arctan 1 (6) Arctan ( 3 ) 3 2. n (1) ta 009 IA 5 I, 3, 4, 5, 6, 7 6 3. () Arcsin ( (4) Arccos ) 3 () Arcsin( ) (3) Arccos (5) Arctan (6) Arctan ( 3 ) 3. n () tan x (nπ π/, nπ + π/) f n (x) f n (x) fn (x) Arctan x () sin x [nπ π/, nπ +π/] g n

More information

num3.dvi

num3.dvi kanenko@mbk.nifty.com http://kanenko.a.la9.jp/ ,, ( ) Taylor. ( 1) i )x 2i+1 sinx = (2i+1)! i=0 S=0.0D0 T=X; /* */ DO 100 I=1,N S=S+T /* */ T=-T*X*X/(I+I+2)/(I+I+3) /* */ 100 CONTINUE. S=S+(-1)**I*X**(2*i+1)/KAIJO(2*I+1).

More information

x h = (b a)/n [x i, x i+1 ] = [a+i h, a+ (i + 1) h] A(x i ) A(x i ) = h 2 {f(x i) + f(x i+1 ) = h {f(a + i h) + f(a + (i + 1) h), (2) 2 a b n A(x i )

x h = (b a)/n [x i, x i+1 ] = [a+i h, a+ (i + 1) h] A(x i ) A(x i ) = h 2 {f(x i) + f(x i+1 ) = h {f(a + i h) + f(a + (i + 1) h), (2) 2 a b n A(x i ) 1 f(x) a b f(x)dx = n A(x i ) (1) ix [a, b] n i A(x i ) x i 1 f(x) [a, b] n h = (b a)/n y h = (b-a)/n y = f (x) h h a a+h a+2h a+(n-1)h b x 1: 1 x h = (b a)/n [x i, x i+1 ] = [a+i h, a+ (i + 1) h] A(x

More information

Fortran90/95 [9]! (1 ) " " 5 "Hello!"! 3. (line) Fortran Fortran 1 2 * (1 ) 132 ( ) * 2 ( Fortran ) Fortran ,6 (continuation line) 1

Fortran90/95 [9]! (1 )   5 Hello!! 3. (line) Fortran Fortran 1 2 * (1 ) 132 ( ) * 2 ( Fortran ) Fortran ,6 (continuation line) 1 Fortran90/95 2.1 Fortran 2-1 Hello! 1 program example2_01! end program 2! first test program ( ) 3 implicit none! 4 5 write(*,*) "Hello!"! write Hello! 6 7 stop! 8 end program example2_01 1 program 1!

More information

f(x) = x (1) f (1) (2) f (2) f(x) x = a y y = f(x) f (a) y = f(x) A(a, f(a)) f(a + h) f(x) = A f(a) A x (3, 3) O a a + h x 1 f(x) x = a

f(x) = x (1) f (1) (2) f (2) f(x) x = a y y = f(x) f (a) y = f(x) A(a, f(a)) f(a + h) f(x) = A f(a) A x (3, 3) O a a + h x 1 f(x) x = a 3 3.1 3.1.1 A f(a + h) f(a) f(x) lim f(x) x = a h 0 h f(x) x = a f 0 (a) f 0 (a) = lim h!0 f(a + h) f(a) h = lim x!a f(x) f(a) x a a + h = x h = x a h 0 x a 3.1 f(x) = x x = 3 f 0 (3) f (3) = lim h 0 (

More information

II Time-stamp: <05/09/30 17:14:06 waki> ii

II Time-stamp: <05/09/30 17:14:06 waki> ii II waki@cc.hirosaki-u.ac.jp 18 1 30 II Time-stamp: ii 1 1 1.1.................................................. 1 1.2................................................... 3 1.3..................................................

More information

18 ( ) I II III A B C(100 ) 1, 2, 3, 5 I II A B (100 ) 1, 2, 3 I II A B (80 ) 6 8 I II III A B C(80 ) 1 n (1 + x) n (1) n C 1 + n C

18 ( ) I II III A B C(100 ) 1, 2, 3, 5 I II A B (100 ) 1, 2, 3 I II A B (80 ) 6 8 I II III A B C(80 ) 1 n (1 + x) n (1) n C 1 + n C 8 ( ) 8 5 4 I II III A B C( ),,, 5 I II A B ( ),, I II A B (8 ) 6 8 I II III A B C(8 ) n ( + x) n () n C + n C + + n C n = 7 n () 7 9 C : y = x x A(, 6) () A C () C P AP Q () () () 4 A(,, ) B(,, ) C(,,

More information

1. (8) (1) (x + y) + (x + y) = 0 () (x + y ) 5xy = 0 (3) (x y + 3y 3 ) (x 3 + xy ) = 0 (4) x tan y x y + x = 0 (5) x = y + x + y (6) = x + y 1 x y 3 (

1. (8) (1) (x + y) + (x + y) = 0 () (x + y ) 5xy = 0 (3) (x y + 3y 3 ) (x 3 + xy ) = 0 (4) x tan y x y + x = 0 (5) x = y + x + y (6) = x + y 1 x y 3 ( 1 1.1 (1) (1 + x) + (1 + y) = 0 () x + y = 0 (3) xy = x (4) x(y + 3) + y(y + 3) = 0 (5) (a + y ) = x ax a (6) x y 1 + y x 1 = 0 (7) cos x + sin x cos y = 0 (8) = tan y tan x (9) = (y 1) tan x (10) (1 +

More information