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

MathGroup Archive 2011

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

Search the Archive

Re: How to force numeric output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115623] Re: How to force numeric output
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 16 Jan 2011 05:56:18 -0500 (EST)

Mathematica is case - sensitive (as indicated by the color coding of your input)

y = 5; x = Floor[Sqrt[y + 1.0]]; x

2


Bob Hanlon

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




  • Prev by Date: treeform
  • Next by Date: Re: How to force numeric output
  • Previous by thread: Re: How to force numeric output
  • Next by thread: Re: How to force numeric output