Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg130691] Re: How to set Mathematica not return huge float numbers
  • From: "Eduardo M. A. M. Mendes" <emammendes at gmail.com>
  • Date: Fri, 3 May 2013 03:50: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> <CAEtRDSfyCQG+0szBn5gi6-xg=Y+HCE1ZTnhgHojJwJn+tv0iEw@mail.gmail.com>

Many many thanks.

The funny part that I have used Simplify (and it did not work) before sending the question to the list. 

Today when I tried it again, it worked.   I guess a fresh start did the job.

Ed


On May 2, 2013, at 1:18 AM, Bob Hanlon <hanlonr357 at gmail.com> wrote:

> 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: Announcement: MATLink --- call MATLAB from Mathematica seamlessly
  • Next by Date: Re: Formula Stirlinga
  • Previous by thread: How to set Mathematica not return huge float numbers
  • Next by thread: Re: How to set Mathematica not return huge float numbers