photo

Beatrice


Last seen: 12 maanden ago Active since 2023

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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 maanden ago | 2 answers | 0

2

answers

Question


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)...

ongeveer een jaar ago | 2 answers | 0

2

answers

Question


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...

ongeveer een jaar ago | 2 answers | 0

2

answers