photo

Beatrice


Last seen: 12 months 前 自 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 months 前 | 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 year 前 | 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 year 前 | 2 个回答 | 0

2

个回答