• 検索結果がありません。

Scilab TA小話0519

N/A
N/A
Protected

Academic year: 2017

シェア "Scilab TA小話0519"

Copied!
13
0
0

読み込み中.... (全文を見る)

全文

(1)

Scilab( サイラボ )

数理科学研究科D1 黄 欣馳

(2)

Scilabとは

19世紀90年代∼

開発元:フランスのINRIAとENPC

種別:オープンソースの数値解析ソフトウェア

公式サイト:www.scilab.org

最新版:5.5.2

(3)

Scilabの利点

対応OS:Linux, Windows, Mac OS X, …

対応言語:フランス語, 英語, 日本語, …

機能:数値計算, 行列や多項式の数式処理, 関

数のグラフィック表示, …

(4)

実例1: 簡単な計算

-->a=2;b=0;c=4;

-->((a+b+c)^2-a)*(a+c)

ans =

204.

-->sin(%pi/2)

ans =

1.

-->exp(0)

ans =

1.

(5)

実例2: 行列の計算

-->A=int(10*rand(3,3)) A =

3. 4. 5. 2. 3. 4. 5. 5. 2.

-->B=A' B =

3. 2. 5. 4. 3. 5. 5. 4. 2.

-->x=[1;2;3] x =

1. 2. 3.

-->y=A*x y =

26. 20. 21.

-->A*B ans =

50. 38. 45. 38. 29. 33. 45. 33. 54.

-->A.*B ans =

9. 8. 25. 8. 9. 20. 25. 20. 4.

(6)

実例3: グラフィック表示

-->function [y]=f(x)

-->y=x.*sin(%pi*x);

-->endfunction

-->x=0:0.1:2;

-->y=f(x);

-->plot2d(x,y,style=2)

(7)

実例4: 判断・ループ

if a>b then

a

else

b

end

* max(a,b)

sum=0;

for i= 1:10

sum=sum+i;

end

* sum=norm(1:10,1);

(8)

実行例:

熱方程式の数値計算

1次元 熱源ある

2次元 熱源なし

(9)

simulation of solution for 1D heat equation

with Dirichlet boundary condition

(10)

実行例:

熱方程式の数値計算

1次元 熱源ある

2次元 熱源なし

(11)

simulation of solution for 2D heat equation

with Neumann boundary condition

(12)

まとめ

フリーな数値解析ソフトウェア(Matlabは有料)

数値計算, 数式処理, グラフィック表示等にも適

する

行列やベクトル演算が得意

是非、試してみてください!

(13)

Thanks for listening!

参照

関連したドキュメント

[7] , On initial boundary value problem with Dirichlet integral conditions for a hyperbolic equation with the Bessel operator, J.. Bouziani

Lagnese, Decay of Solution of Wave Equations in a Bounded Region with Boundary Dissipation, Journal of Differential Equation 50, (1983), 163-182..

Solov’ev, On an integral equation for the Dirichlet problem in a plane domain with cusps on the boundary..

The first paper, devoted to second order partial differential equations with nonlocal integral conditions goes back to Cannon [4].This type of boundary value problems with

Based on these results, we first prove superconvergence at the collocation points for an in- tegral equation based on a single layer formulation that solves the exterior Neumann

We study a Neumann boundary-value problem on the half line for a second order equation, in which the nonlinearity depends on the (unknown) Dirichlet boundary data of the solution..

Among applications of the Carleman estimates obtained in this paper, we mention the sharp unique continuation/conditional stability results for the Cauchy problem for (1.1), the

The author, with the aid of an equivalent integral equation, proved the existence and uniqueness of the classical solution for a mixed problem with an integral condition for