Re: Solution[[1,1,2]] Brackets
- To: mathgroup at smc.vnet.net
- Subject: [mg46302] Re: Solution[[1,1,2]] Brackets
- From: "alan b" <alan4100 at comcast.net>
- Date: Fri, 13 Feb 2004 21:57:21 -0500 (EST)
- References: <c0hhi1$let$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Please now ignore my posting re: solution [[1,1,2]]. It is now solved, but took quite amount of time to figure it out. It is a nested list. It is important to know how to extract each element inside the double brackets to solve work samples, But we can use copy/paste method, instead. "alan b" <alan4100 at comcast.net> wrote in message news:c0hhi1$let$1 at smc.vnet.net... > Let me know if it is appropriate for posting. > > I have been trying to figure out what is inside the solution[1,1,2]. For the > problem below. > > For example, > solution=DSolve[{n'[t]==kn[t], n[1]=500}, n[t],t] > > population[t_]=solution[[1,1,2]] > > I gather that the first item of the solution[[1,1,2]] is for the first and > only curly item:{n't[t]==kn[t],n[1]=500}. > > I assume the second item of solution[[1,1,2] is the first subitem of the > first curly bracket. The third item of solution [[1,1,2]] which is two > suppose to be for 2nd item of the first curly brackets. But it appears to be > not. > > Is there a way for me to see the contents visibly of the solution[[1,1,2]] > each item at a time. > > -- > > alan > >