MathGroup Archive 2007

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

Search the Archive

Re: question


MathGroup is a suitable place fo many
subject (talking about Mathematica and
its use in mathematics, physics, mechanics
and other sciences; for discussion of various
issues of CASs and other interesting things
BUT certainly it is not the place that someone
will find the solutions to his/her homework
without showing us some of his attempts!

I think Jean-Marc was too kind to you and give
you more hints that actually he should have given
to you!

Greetings from Greece,

Dimitris S. Anagnostou

            Ivan Egorov       :
> Hello, I have 2 questions.
>
> I need to write a function maxima[lis_List] which, given a list of numbers,
> produces a list of those numbers greater than all those that precede
> them. For example maxima[{ 9, 2, 10, 3, 14, 9}] returns { 9, 10, 14}.
> You need to use recursion, pattern matching, Select and Join.
> I also need to write a function derivList[f, x, n_Integer] that returns the list
> of first n derivatives of themathematical function f (x ) , that is,
> { f ( x ) , f ' ( x ) , f ' ' ( x ) ,..., f n(x )} . Then, operate
> your derivList implementation on Exp[-x] Sin[x] to generate the list
> of derivatives up to the fifth one (that is, returning {f ( x)  ,
> f ' ( x ) ,..., f (5)  (x )}). Use Plot to plot the results for the
> range 0<=x<=10 . Use the PlotStyle option to generate a different color
> for each curve.
>
> I realy don't understand  what they want in second question.
>
>
> Thanks.
>
> I hope that now is readable.



  • Prev by Date: Re: Integrated Data Sources
  • Next by Date: Re: plotting fourier amplitude versus frequency
  • Previous by thread: Re: question
  • Next by thread: Integrated Data Sources