My question is about Java programming.
The question is
.
I struggle with where the $M$ comes from, and I do not understand this question very well. As in the final, it needs to find the array of $c$. The above are thoughts of mine. If they are wrong, please figure them out for me. and help me what this asks for, and what parameters I could use to find $c_j$ (the array) ? best wishes