i want to loop on K vector values
K = [3 5 7 9 11]
and have with me inside the loop the index of the current vector value
if i made
for K = [3 5 7 9 11]
disp(K)
end
i'll not have the index of K values
i mean when K=9 i want to know that I'm in index 4
how to make that??
Dear Bill
i really thank you for your help i really learned from you i couldn't know how to write m' and the sum , i was writing them as in word equation
i still have problem in the part of summition m' k(xm)
i don't know how to put the unknown values
i'll try again and tell you what happened...
i want to put this equation in mathematica to have derivative
i always have error
please tell me how to write it in mathematica to get the derivative
also to solve the equation
i attache the equation in word file