How do you integrate a constant?
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Manil Athapattu
el 29 de Jun. de 2017
theta and miu are constants
theta = 0.01305
miu = 0.0546
const = @(x) tan(theta + miu)
r = integral(constant,0,1)
1 comentario
Jan
el 29 de Jun. de 2017
The integral of a constant function is the size of the rectangle between the curve and the X axis: const * (1 - 0).
Respuesta aceptada
Joshua
el 29 de Jun. de 2017
Editada: Torsten
el 21 de Nov. de 2022
theta = 0.01305
miu = 0.0546
const = @(x) tan(theta + miu)+0*x
r = integral(const,0,1)
2 comentarios
Yianni Koumarnetos
el 21 de Nov. de 2022
I am doing this and it is telling me that the integral is an error.
Más respuestas (0)
Ver también
Categorías
Más información sobre Numerical Integration and Differentiation 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!