Student Support Forum: 'problem with a table or do loop' topicStudent Support Forum > General > "problem with a table or do loop"

 < Previous Comment Help | Reply To Comment | Reply To Topic
 Author Comment/Response mac 09/21/12 6:02pm In Response To 'Re: problem with a table or do loop'---------here is the code I am trying to write: ClearAll m = Input["tauesNtm1 value?"] n = Input["Nt value?"] t = Input["taues1 value?"] Table[Q = .5*Log10[(2*m)^((1 - 2*(i - 2))/(n - 4))*(t/2)^((2 (i - 2))/(n - 4))] + (i - 2)*(((n - 4)*m - 2*m - .5*t)/(n - 4)), {i, n/2 - 1, 2, -1}] A = % NSolve[.5*Log10[c] + .5*c == A, c] I would like to solve for Q, making Q a list with many elements. I would then like to, one by one, substitute in each element of A into the Nsolve equation, giving me a new answer each time so that in the end I also have a new list containg c values URL: ,

 Subject (listing for 'problem with a table or do loop') Author Date Posted problem with a table or do loop mac 09/20/12 00:28am Re: problem with a table or do loop Bill Simpson 09/21/12 1:20pm Re: Re: problem with a table or do loop mac 09/21/12 6:02pm
 < Previous Comment Help | Reply To Comment | Reply To Topic