Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Re: Wrestling with Mathematica on Trig Simplification

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32618] Re: Re: Wrestling with Mathematica on Trig Simplification
  • From: "Ranit" <fink at ee.columbia.edu>
  • Date: Thu, 31 Jan 2002 01:46:03 -0500 (EST)
  • Organization: Columbia University
  • References: <a1j768$r58$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Do you know a good book or site that teaches mathematica?


"David Park" <djmp at earthlink.net> wrote in message
news:a1j768$r58$1 at smc.vnet.net...
> Steven,
>
> It isn't absolute necessary to write the definition this way.
>
> m[a_, b_][t_] := a Sin[t] + b Cos[t]
>
> In you initial posting you didn't define a and b as arguments of the
> function at all. I think that is because you considered them as parameters
> and t as the variable. Writing the above form cleanly separates the
> parameters from the variable.
> Also you can easily write the derivative with respect to the variable.
>
> m[a, b]'[t]
> a Cos[t] - b Sin[t]
>
> But it is really a matter of taste and how you are going to use the
> definition.
>
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/
>
> > From: Poppo [mailto:rlsmith at his.com]
To: mathgroup at smc.vnet.net
>
> >
> > Why write m[a_,b_][t_] instead of m[a_,b_,t_]?
> >
> >
>
>




  • Prev by Date: RE: Headless set of elements?
  • Next by Date: Re: Re: Simulating Correlated non-Normal Random Variables
  • Previous by thread: Re: Wrestling with Mathematica on Trig Simplification
  • Next by thread: arranging a list