photo

Beatrice


Last seen: 12ヶ月 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

Feeds

表示方法

質問


I was calculated using the Simpson 1/3 rule numerical method, why my running results doesn't appear in the command window?
clear all; clc; %input data a=0; b=2; c=1; %centre f_2=(-1/4*(2)^4)-(1/3*(2)^3)+(5/2*(2)^2)+3*2; f_0=(-1/4*(0)^4)-(1/3*...

12ヶ月 前 | 2 件の回答 | 0

2

回答

質問


I'm calculating using the order 3 polynomial interpolation method. But why does an array appear?
%polinomial disp('polinomial interpolation') clear clc x=1.3; x1=0.0; x2=0.5; x3=1.0; x4=1.5; y1=log(x1); y2=log(x2)...

約1年 前 | 2 件の回答 | 0

2

回答

質問


i was calculate using gauss jacobi method with 4x4 matrice, why does NaN appear? what should i do?
function[Xi,g,H]=jacobi(A,B,X,N) clc; A=[1 3 1 -1; 2 0 1 1; 0 -1 4 1; 0 1 1 -5] B=[3;1;6;16]; X=[0;0;0;0]; Xi=i...

約1年 前 | 2 件の回答 | 0

2

回答