How do i get a number using the solve function?

3 vues (au cours des 30 derniers jours)
Belal Abboushi
Belal Abboushi le 8 Mar 2015
Commenté : Star Strider le 8 Mar 2015
Hey, I used the solve function to find out the value of the variable LSs but I don't quite understand why i get this output:
LSs =
(10765243814088947007488*((510924334497131*exp(2413/918))/5382621907044473503744 - 510924334497131/5382621907044473503744)^(1/2))/510924334497131
how to i get it to output a number?

Réponse acceptée

Star Strider
Star Strider le 8 Mar 2015
Modifié(e) : Star Strider le 8 Mar 2015
Try:
LSs = vpa(LSs, 10)
To get it as a 10-digit number.
You can also use the vpasolve function.
  2 commentaires
Belal Abboushi
Belal Abboushi le 8 Mar 2015
Thank you! vpa worked perfectly!!
Star Strider
Star Strider le 8 Mar 2015
My pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by