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.math.mathematica

Topic: How to set Mathematica not return huge float numbers
Replies: 3   Last Post: May 3, 2013 3:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bob Hanlon

Posts: 890
Registered: 10/29/11
Re: How to set Mathematica not return huge float numbers
Posted: May 3, 2013 3:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Use Simplify


expr = ((3.80335*10^9 (10. + s))/(3.80335*10^9 (10. + s) +
s (7. + s) (2.0401*10^8 + 7.98761*10^6 s)));


expr // Simplify


or


expr // Simplify // Rationalize


or


expr // Simplify // Rationalize[#, 0] & // N



Bob Hanlon




On Wed, May 1, 2013 at 9:41 PM, Eduardo M. A. M. Mendes <
emammendes@gmail.com> wrote:

> Hello
>
> When using the function SystemModelFeedbackConnect Mathematica returns the
> following output
>
> Subsuperscript[((3.80335*10^9 (10. +s))/(3.80335*10^9 (10. +s)+s (7. +s)
> (2.0401*10^8+7.98761*10^6 s))
>
> ), , \[ScriptCapitalT]]
>
> Note the huge float numbers. There is no apparent reason for such huge
> numbers. What could be wrong?
>
> Many thanks
>
> Ed
>
>
>






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

[Privacy Policy] [Terms of Use]

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