Browse
Login Sign Up

Get formula for the sum of integers raised to the kth power

Share & earn cash

%By Chukwunomnso Agunwamba


%Get formula for the sum of integers raised to the kth power

%You can use this to get the formula of the sum of a discrete polynomial, v.

%In that case, specify the v coefficients in increasing powers.


%The output, S, is the sum formula.

%The Lth column of D is the formula for summing v^(L-1).


##EXAMPLES:

##sumkthpw(3); %get the formula for summing 3rd powers of integers

##sumkthpw(5); %get the formula for summing fifth powers of integers

##sumkthpw('',[0 1]); %get the formula for summing 0+1*V

##sumkthpw('',[2 1]); %get the formula for summing 2+1*V

##sumkthpw('',[1 2 3]); %get the formula for summing 1+2*V+3*V^2

##sumkthpw('',[1 2 3 4]); %get the formula for summing 1+2*V+3*V^2+4*V^3

##and so on...

##General Syntax:

##[S,D]=sumkthpw(k,v);

License type: "1 paid end product". Read more.
By Chukwunomnso423
Matlab Octave Mathematics
Reviews
Nobody has rated this offer yet.
PARTICIPATE
  • Buy
  • Offer
  • Share
LEARN
  • About
  • Blog
  • FAQ
CONNECT
  • Twitter
  • Facebook
  • Contact
LEGAL
  • Terms
  • Privacy
  • © 2025 Sellcodes
Log in to your Sellcodes account
Forgot your password?
Looking to create an account?
Sign up for Sellcodes
By creating an account you agree to our Terms Of Use and Privacy Policy
Did you mean to Login?