Prev: Haldeman-Ramanujan quintuplets
Next: FERMATISTS -- HERE IS WHY INFINITY VALUE IS (000.) Decimal point on the left is prime!
From: G. A. Edgar on 28 Jun 2010 10:25 In article <1541106249.13818.1277680540812.JavaMail.root(a)gallium.mathforum.org>, Robert Kaufman <Yearachmeel(a)verizon.net> wrote: > Hi! > > Would someone please show me how to iterate a function > in Maple. > > Respectfully, > > Robert Kaufman > (cos@@5)(0.123); 0.7919707290 > cos(cos(cos(cos(cos(0.123))))); # check 0.7919707290 -- G. A. Edgar http://www.math.ohio-state.edu/~edgar/
From: TCL on 28 Jun 2010 11:05 On Jun 28, 10:25 am, "G. A. Edgar" <ed...(a)math.ohio-state.edu.invalid> wrote: > In article > <1541106249.13818.1277680540812.JavaMail.r...(a)gallium.mathforum.org>, > > Robert Kaufman <Yearachm...(a)verizon.net> wrote: > > Hi! > > > Would someone please show me how to iterate a function > > in Maple. > > > Respectfully, > > > Robert Kaufman > > (cos@@5)(0.123); > > 0.7919707290> cos(cos(cos(cos(cos(0.123))))); # check > > 0.7919707290 > > -- > G. A. Edgar http://www.math.ohio-state.edu/~edgar/ Oh, that is much better. For general function, say f(x)=x^2+x, we can do: >f:=x->x^2+x; >(f@@5)(0.123); > .2612524724 or >(f@@2)(x); > (x^2+x)^2+x^2+x TCL
From: TCL on 28 Jun 2010 13:47 On Jun 28, 11:05 am, TCL <tl...(a)cox.net> wrote: > On Jun 28, 10:25 am, "G. A. Edgar" <ed...(a)math.ohio-state.edu.invalid> > wrote: > > > > > > > In article > > <1541106249.13818.1277680540812.JavaMail.r...(a)gallium.mathforum.org>, > > > Robert Kaufman <Yearachm...(a)verizon.net> wrote: > > > Hi! > > > > Would someone please show me how to iterate a function > > > in Maple. > > > > Respectfully, > > > > Robert Kaufman > > > (cos@@5)(0.123); > > > 0.7919707290> cos(cos(cos(cos(cos(0.123))))); # check > > > 0.7919707290 > > > -- > > G. A. Edgar http://www.math.ohio-state.edu/~edgar/ > > Oh, that is much better. For general function, say f(x)=x^2+x, we can > do: > > >f:=x->x^2+x; > >(f@@5)(0.123); > > .2612524724 > or > >(f@@2)(x); > > (x^2+x)^2+x^2+x > > TCL- Hide quoted text - > > - Show quoted text - @ stands for function composition. We can compose two functions f,g by f(a)g. For example >f:=x->x^2; >g:=x->2*x+1; >(f@g)(x); (2x+1)^2 -TCL
From: Robert Kaufman on 28 Jun 2010 11:22 Hi! Bravos to Prof. Edgar! Where did you find it? It wasn't in any of the manuals that Maple sent along with their disc. Respectfully, Robert Kaufman
From: Axel Vogt on 28 Jun 2010 15:40
Robert Kaufman wrote: > Hi! > > Bravos to Prof. Edgar! Where did you find it? > It wasn't in any of the manuals that Maple sent along with their disc. > > Respectfully, > > Robert Kaufman Experience, I guess. Every (software) systems needs time to get used to. BTW if you use the help and search for 'composition' you will find it. |