Re: How to force numeric output

*To*: mathgroup at smc.vnet.net*Subject*: [mg115617] Re: How to force numeric output*From*: KenR <ramsey2879 at msn.com>*Date*: Sun, 16 Jan 2011 05:55:08 -0500 (EST)*References*: <igrqb1$qmq$1@smc.vnet.net>

On Jan 15, 4:45 am, KenR <ramsey2... at msn.com> wrote: > I am new to Mathematica and cant seem to get it to give a numeric > answer to > > input y = 5; x = floor[sqrt[y+1.0]]; x. > > instead of a numeric it gives "out floor[sqrt[6.0]]" > > what am I doing wrong? > > I have Mathematica 8.0 > > Thankyou, Kenneth Ramsey I was looking at past posts and came upon a similar situation. Thanks to those who e-mail me I am aware that the functions Floor and Sqrt must be capitalized. It still apparently will not work because Mathematica does not know whether a positive or negative answer is desired. A similar situation was posted below where the sqrt of meter^2 etc was desired. A reader responded to write the code "Assuming[ {Positive[Meter], Positive[Second]}, Refine[(Sqrt[Meter^2/Second^2] Second)/Meter^2] How would I invoke a similar solution to my case?