Average function of squares
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Greetings everyone, I'm trying to create a function called proms that returns mm, which is the average of the squares of the first nn positive integers, where nn is a positive integer and is the only input argument. For example sum(). My code is this:
Thank you dear friends!
2 Commenti
John D'Errico
il 3 Gen 2023
Don't post a picture of your code. Paste in the code itself. It is just text! Then someone else can paste that code into MATLAB to help you. While this is not a lot of code, it still slows down someone who might help you. Do you really want to make it even slightly more difficult to get help?
Risposta accettata
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!