Re: How to force numeric output
- To: mathgroup at smc.vnet.net
- Subject: [mg115624] Re: How to force numeric output
- From: Peter Pein <petsie at dordos.net>
- Date: Sun, 16 Jan 2011 05:56:29 -0500 (EST)
- References: <igrqb1$qmq$1@smc.vnet.net>
On 15.01.2011 10:45, KenR 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
>
Hi Kenneth,
you did not use Mathematica syntax :-(
Try:
y = 5; x = Floor[Sqrt[y+1.0]]
^ ^
Cheers,
Peter