Community Profile

photo

Oscar


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Trying to calculate the outputs for this equation in a for loop, but it only calculates for one input; when g = 1.67
M = 2; g = linspace(1,1.67,4)'; for i = 1:length(g) beta_max = asind((g(i)+1)./(4*g(i))-1./(g(i).*M^2)*(1-((g(i)+1)*(1+(g...

1 year ago | 1 answer | 0

1

answer

Question


Evaluating the following integral using comp trap method for 2 trapezoids
% I'm trying to evaulate this integral using the composite trapezoid method % The output for the 'I' gives me 8.7797 which mat...

1 year ago | 1 answer | 0

1

answer

1

answer