Show real positive solution on a fourth grade equation
Mostra commenti meno recenti
Hi, I would like that my script only prints the max. real solution of some equations and after a few tryes I couldn't achieve that. I was wondering if someone knows any comand to do so. Here it's an example of what I am trying to do;
Wo = 3584.74 * 9.8; %N
rho = 1.225; %kg/m^3
D_r = 11.5; %m
R_r = D_r/2; %m
S_r = pi * R_r^2; %m^2
sigma_r = 0.073309651;
omega_r = 37.01; %rad/s
Vtip_r = omega_r * R_r; %m/s
Pu_r = rho * S_r * (Vtip_r)^3;%W
Vi0 = sqrt(Wo/(2*rho*S_r)); %m/s
Ku = 5;
f = 0.95; %m^2
Cd0 = 0.0085;
syms vx;
E3 = -Wo^2/(rho*S_r) + sigma_r*Cd0*Pu_r*(Ku*vx^3/(Vtip_r)^2 - vx) + rho*f*vx^4;
R3 = vpasolve(E3);
%A3 = max(R3);
disp('Max range velocity is [m/s]: ');
disp(R3);
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Dates and Time in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!