Search All of the Math Forum:

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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

 Messages: [ Previous | Next ]
 Bob Hanlon Posts: 906 Registered: 10/29/11
Re: How to set Mathematica not return huge float numbers
Posted: May 3, 2013 3:50 AM

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
>
>
>

Date Subject Author
5/3/13 emammendes@gmail.com
5/3/13 Bob Hanlon