Re: The derivative of 1
- To: mathgroup at smc.vnet.net
- Subject: [mg117429] Re: The derivative of 1
- From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
- Date: Fri, 18 Mar 2011 06:00:40 -0500 (EST)
On Thu, 17 Mar 2011, Themis Matsoukas wrote: > How can I get rid of the inconsequential but bothersome "0." that appears at the beginning of the following result? We are really talking about the derivative of 1. > > D[(1 + (1 - Sqrt[x]) (1.574 \[Omega] - 0.176 \[Omega]^2)), x] > > 0.\[VeryThinSpace]- (1.574 \[Omega] - 0.176 \[Omega]^2)/(2 Sqrt[x]) > > As an aside, why isn't 0.+whatever equal to whatever? > > Thanks > > Hi, you could convert every thing to exact arithmetic D[(1 + (1 - Sqrt[x]) (Rationalize[1.574] \[Omega] - Rationalize[0.176] \[Omega]^2)), x] Alternative, Chop[ D[(1 + (1 - Sqrt[x]) (1.574 \[Omega] - 0.176 \[Omega]^2)), x]] hth, Oliver