| 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: , |
|