Integration of a function having constant parameter
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Cagas Akalin
 am 21 Okt. 2021
  
    
    
    
    
    Beantwortet: Star Strider
      
      
 am 22 Okt. 2021
            Hi All,
I would like to evaluate integral of 
(4*a - 2*x + 4*a*x - 3*a*x^2 - 2*a*x^3 + a*x^4 - x^2 + x^3) dx 
where x between 0 and 1.
Your help is appreciated.
Bests,
Cagdas
0 Kommentare
Akzeptierte Antwort
  Star Strider
      
      
 am 22 Okt. 2021
        Try this — 
syms a x 
F = int((4*a - 2*x + 4*a*x - 3*a*x^2 - 2*a*x^3 + a*x^4 - x^2 + x^3), x, 0, 1)
Ffcn = matlabFunction(F)
Note that it is a funciton only of ‘a’.   
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Polynomials 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!
