MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to set Mathematica not return huge float numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130697] Re: How to set Mathematica not return huge float numbers
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Fri, 3 May 2013 03:52:09 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130502014111.0A7B16A2D@smc.vnet.net>

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




  • Prev by Date: Re: Formula Stirlinga
  • Next by Date: Re: MarcumQ function
  • Previous by thread: Re: How to set Mathematica not return huge float numbers
  • Next by thread: Formula Stirlinga