How do you integrate a constant?
48 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Manil Athapattu
am 29 Jun. 2017
Bearbeitet: Torsten
am 21 Nov. 2022
theta and miu are constants
theta = 0.01305
miu = 0.0546
const = @(x) tan(theta + miu)
r = integral(constant,0,1)
1 Kommentar
Jan
am 29 Jun. 2017
The integral of a constant function is the size of the rectangle between the curve and the X axis: const * (1 - 0).
Akzeptierte Antwort
Joshua
am 29 Jun. 2017
Bearbeitet: Torsten
am 21 Nov. 2022
theta = 0.01305
miu = 0.0546
const = @(x) tan(theta + miu)+0*x
r = integral(const,0,1)
2 Kommentare
Yianni Koumarnetos
am 21 Nov. 2022
I am doing this and it is telling me that the integral is an error.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!