Feeds
질문
how do i make one function that i am able to use trapezoidal rule for integration from this code?
x=0:0.01:25; y=zeros; for T1=1:length(x) if x(T1)>=0 && x(T1)<5 y(T1)=0.1553567*(x(T1)^6)-2.0416*(x(T1)^5)+9.1...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
how do make the integral a vector
integral = 0 for i = 1:n r_left = (a+(i-1)*h); r_right = (a+i*h); % Functions f_...
대략 7년 전 | 답변 수: 1 | 0