How do i get a number using the solve function?

3 Ansichten (letzte 30 Tage)
Belal Abboushi
Belal Abboushi am 8 Mär. 2015
Kommentiert: Star Strider am 8 Mär. 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?

Akzeptierte Antwort

Star Strider
Star Strider am 8 Mär. 2015
Bearbeitet: Star Strider am 8 Mär. 2015
Try:
LSs = vpa(LSs, 10)
To get it as a 10-digit number.
You can also use the vpasolve function.
  2 Kommentare
Belal Abboushi
Belal Abboushi am 8 Mär. 2015
Thank you! vpa worked perfectly!!
Star Strider
Star Strider am 8 Mär. 2015
My pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by