I need to write a for loop that will find the largest value.
Show older comments
I need function to allow the user to enter a value for k and a value for limit from the keyboard. The function is to then find the largest value of k such that; 1^1/10 + 2^2/10 ... k^k/10 <= limit
Im not really sure where to start other than having the variable ready for user input. even just a little bit of a prompt would help greatly!
Answers (1)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!