Solving for a boundary in an integral with known value?
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Guster
 el 15 de Dic. de 2017
  
    
    
    
    
    Comentada: Guster
 el 15 de Dic. de 2017
            The assignment has to do with calculating flame-temperature of a reaction. To to this i need to solve the problem
dH = nCp(T)dT
- dH is known for the reaction
 - I have the lower boundary of the integral
 - n is known
 - Cp(T) is known, it shiftes at certain temperatures, all of which are known
 
I need to find the upper limit of this complex integral (Cp(T) is of order 5) How would I do this in matlab in general?
0 comentarios
Respuesta aceptada
  Birdman
      
      
 el 15 de Dic. de 2017
        
      Editada: Birdman
      
      
 el 15 de Dic. de 2017
  
      One approach:
syms x n
eq=4==int(x^5+2*x^4+x^3-x^2-3,1,n);
sol=double(vpasolve(eq))
ind=find(sol>0);
%extract real solution below
sol=sol(ind);
solReal=sol(1)
Try to adapt this into your problem.
3 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!