How to determine unknown value from an equation

1 vue (au cours des 30 derniers jours)
Vinay Srinivasan
Vinay Srinivasan le 4 Oct 2019
Power_roadatmaxspeed=((2.73*C_r*m)+(0.0126*C_d*a*S^2))*S
The above written is my equation. I have given values for C_r, m ,C_d , a initially as they are given data of a vehicle .I found the Power_roadatmaxspeed now. So I want to find S. How to determine through matlab ?

Réponse acceptée

Matt J
Matt J le 4 Oct 2019
Modifié(e) : Matt J le 4 Oct 2019
It's a cubic polynomial, so you can use roots().
  2 commentaires
Walter Roberson
Walter Roberson le 4 Oct 2019
roots([0.0126*C_d*a, 0, 2.73*C_r*m, -Power_roadatmaxspeed ])
Vinay Srinivasan
Vinay Srinivasan le 4 Oct 2019
Thank you so much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by