How to find the maximum of symbolic equation which contains trigonometric terms?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Akshay Pratap Singh
el 29 de Ag. de 2022
Comentada: Akshay Pratap Singh
el 7 de Sept. de 2022
I am trying to find the maximum value of "P" in the following equation with respect to "theta". ""dP/dtheta = 0""
P = 0.5*gama*((H)^2)*(1-kv)*Kgama + q*H*(1-kv)*Kq
where
Kgama=((1+tan(beta)*tan(g))*tan(beta)+((1+tan(beta)*tan(g))^2/(tan(theta)-tan(g))))*((sin(theta-phi)+tan(psi)*cos(theta-phi))/(cos(beta+delta-theta+phi)));
Kq = (b/H)*cos(g)*((sin(theta-phi)+tan(psi)*cos(theta-phi))/(cos(beta+delta-theta+phi)));
1 comentario
Torsten
el 29 de Ag. de 2022
My first step would be to give values to the other parameters and plot P as a function of theta.
Respuesta aceptada
Torsten
el 29 de Ag. de 2022
Editada: Torsten
el 29 de Ag. de 2022
syms gama H kv q beta phi g theta psi delta b
P = 0.5*gama*((H)^2)*(1-kv)*((1+tan(beta)*tan(g))*tan(beta)+((1+tan(beta)*tan(g))^2/(tan(theta)-tan(g))))*((sin(theta-phi)+tan(psi)*cos(theta-phi))/(cos(beta+delta-theta+phi)))+ q*H*(1-kv)*(b/H)*cos(g)*((sin(theta-phi)+tan(psi)*cos(theta-phi))/(cos(beta+delta-theta+phi)));
dPdtheta = diff(P,theta);
sol = simplify(solve(dPdtheta==0,theta))
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox 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!