The 'hold', true is there to prevent int() from immediately doing the integral. is independent of x so int() would treat it as being constant in x and would immediate do the integration, leaving you with something that did not include the integration sign.
If is dependent on x then the code would need to be changed a little to reflect that.
I had to introduce LB and UB as the bounds of integration because it happens that the 'hold' feature would be misinterpreted as being bounds if you were to try to do indefinite integration while 'hold' is on.
Note that the Γ that shows up in the result is not the same as the Γ that you define at the bottom left of the equations. The one in the results is the Gamma function -- the extension of factorials.
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
Translated by
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.