Borrar filtros
Borrar filtros

How do i get a number using the solve function?

2 visualizaciones (últimos 30 días)
Belal Abboushi
Belal Abboushi el 8 de Mzo. de 2015
Comentada: Star Strider el 8 de Mzo. de 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?

Respuesta aceptada

Star Strider
Star Strider el 8 de Mzo. de 2015
Editada: Star Strider el 8 de Mzo. de 2015
Try:
LSs = vpa(LSs, 10)
To get it as a 10-digit number.
You can also use the vpasolve function.
  2 comentarios
Belal Abboushi
Belal Abboushi el 8 de Mzo. de 2015
Thank you! vpa worked perfectly!!
Star Strider
Star Strider el 8 de Mzo. de 2015
My pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by