Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Please can you help me do the following. Where a k and B are positive constants

2 vues (au cours des 30 derniers jours)
Thirunavukkarasu
Thirunavukkarasu le 25 Mar 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
Please can you help me do the following. Where a k and B are positive constants
syms x a k B
solve(((2*a)/7)*x^(3.5)-2.5*a*k*x^(2.5)+B,x)
  2 commentaires
Thirunavukkarasu
Thirunavukkarasu le 25 Mar 2014
please can you solve for x

Réponses (1)

Carlos
Carlos le 25 Mar 2014
If a, k and B are constants just asign the value they have and solve, there is no need to declare them as a syms variable.
>> syms x
>> a=1; k=1; B=1;
>> solve(((2*a)/7)*x^(3.5)-2.5*a*k*x^(2.5)+B,x)
ans =
8.7344769955854508972394619014664
0.71726877230987929915059388309187
8.7653865185792513553265174943496
- 0.55353695900302117825404059660525 + 0.38822741859907251304729067726326*i
0.19497081576573040239575395715129 + 0.67080407314445742463715094632198*i
0.19497081576573040239575395715129 - 0.67080407314445742463715094632198*i
- 0.55353695900302117825404059660525 - 0.38822741859907251304729067726326*i
  2 commentaires
Thirunavukkarasu
Thirunavukkarasu le 25 Mar 2014
Thank you. It gives some idea to solve my problem
Carlos
Carlos le 25 Mar 2014
What are the values for the constants ? Do you need to solve the system for different values of your constants?

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by