Newsgroups: comp.soft-sys.math.mathematica
From: dimitris <dimmec...@yahoo.com>
Date: Sat, 4 Aug 2007 09:59:32 +0000 (UTC)
Local: Sat 4 Aug 2007 10:59
Subject: Re: Want to 'Solve' a piecewise equation for a common term
On 3 , 13:48, "misno...@gmail.com" <misno...@gmail.com> wrote:
> I've been battling to try to get a solution to my equation, but it Do not use symbols that already are used as built in symbols. > requires solving of a piecewise function, which I cannot work out how > to do. Say I have a piecewise function of the form > temp = Piecewise[{ > }] > I want to either solve this via > N -> Piecewise[{ > }] > or just get mathematica to realise that there is a common term - N, > from where solve can handle it perfectly well. > Is this type of operation possible, or am I stuck editing them by hand? In[55]:= >From In[55]:= "N[expr] gives the numerical value of expr. N[expr, n] attempts to give a result with n-digit precision." >From In[55]:= Attributes[N] = {Protected} N /: Default[N, 2] := {MachinePrecision, Infinity} So, how about In[57]:= Out[57]= In[59]:= Out[59]= Cheers You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||