Values of X where the function is between -0.5 and 0.5
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello Everyone!
I have to find the range of x where the functions (legendreP(2:10, x)) is between -0.5 and 0.5.
I have the code below I only have to get the range of x.
syms x y
y1=0.5;
y2=-0.5;
plot(y1)
fplot(legendreP(2:10, x))
axis([-1.5 1.5 -1 1])
grid on
ylabel('P_n(x)')
title('Legendre polynomials of degrees 2 through 10')
legend('2','3','4','5','6','7','8','9','10','Location','best')
0 comentarios
Respuestas (1)
Sulaymon Eshkabilov
el 16 de Nov. de 2020
syms x y
fplot(legendreP(2:10, x), [-.5, .5]);
axis([-0.5 0.5 -.5 .5])
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!