Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
5개월 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.]
Non-scored bonus...
Sum of series
a(n) = n^2 - (n-1)^2
find the summation of the series upto n i.e.
a(1)+a(2)+...+a(n)
5개월 전
문제를 풀었습니다
Sum of series VI
What is the sum of the following sequence:
Σk⋅k! for k=1...n
for different n?
5개월 전
문제를 풀었습니다
Sum of series V
What is the sum of the following sequence:
Σk(k+1) for k=1...n
for different n?
5개월 전
문제를 풀었습니다
Sum of series III
What is the sum of the following sequence:
Σ(2k-1)^3 for k=1...n
for different n?
5개월 전
문제를 풀었습니다
Sum of series II
What is the sum of the following sequence:
Σ(2k-1)^2 for k=1...n
for different n?
5개월 전
문제를 풀었습니다
Sum of series I
What is the sum of the following sequence:
Σ(2k-1) for k=1...n
for different n?
5개월 전
문제를 풀었습니다
Sum of series VII
What is the sum of the following sequence:
Σ(km^k)/(k+m)! for k=1...n
for different n and m?
5개월 전
문제를 풀었습니다
Make roundn function
Make roundn function using round.
x=0.55555
y=function(x,1)
y=1
y=function(x,2)
y=0.6
y=function(x,3)
...
5개월 전
문제를 풀었습니다
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...