+ 1
Hi, i neeed help whit this excersice: Realize the next excersice with java (netbeans) .... i do not know how to do it :(
1^N +2^N-1 + 3^N-2 +...+ N^1
2 Antworten
+ 1
You can use looping from 1 to N and use Math.pow(a, b) ; to find a^b.
+ 1
Is the value of N read from the keyboard? Or is a series or a polinom in mathematics?
For input the N from a keyboard, you can make a program in any programming language.
If it is about a polinom in algebra, you need a special programming language like Matlab, Mathematica, Mapple, R etc. or you should be more careful at school 😉