Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Eval and long format answer
Replies: 3   Last Post: Nov 30, 2012 1:16 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 5,076
Registered: 2/7/05
Re: Eval and long format answer
Posted: Nov 30, 2012 12:09 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 11/30/2012 10:48 AM, Genevieve Masson wrote:
> Hi :)
>
> How to avoid that type of answer (i mean how to evaluate the fractions) :
>

>>> Vg2
>
> Vg2 =
>
> acos(5784835530832562/5514948135819145 - (18014398509481984*((3937*sin(thCerc))/20000 - AE*sin(alpha))^2)
>


First you need numbers for those symbols you have there: thCerc,AE,alpha etc...
use subs().
Then you should be able to just use double() around the whole thing.

--Nasser





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.