Risolto

Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

oltre un anno fa

Risolto

Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

oltre un anno fa

Risolto

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

oltre un anno fa

Risolto

Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...

oltre un anno fa

Risolto

Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

oltre un anno fa

Risolto

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

oltre un anno fa

Risolto

Tic Tac Toe FTW
Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

oltre un anno fa

Risolto

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

oltre un anno fa

Risolto

Given input in radians, output to degrees

oltre un anno fa

Risolto

Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

oltre un anno fa

Risolto

Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

oltre un anno fa

Risolto

Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

oltre un anno fa

Risolto

Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

oltre un anno fa

Risolto

Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

oltre un anno fa

Risolto

You just measured its surface area, that is the input.

oltre un anno fa

Risolto

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...

oltre un anno fa

Risolto

Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

oltre un anno fa

Risolto

Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

oltre un anno fa

Risolto

Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

oltre un anno fa

Risolto

Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

oltre un anno fa

Risolto

Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

oltre un anno fa

Risolto

Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

oltre un anno fa

Risolto

Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

oltre un anno fa

Risolto

Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

oltre un anno fa

Risolto

Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

oltre un anno fa

Risolto

Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'

oltre un anno fa

Risolto

most frequent character
Obtain the most frequent character. For example, s='balaram'; output='a'; If there is a tie between letters, return t...

oltre un anno fa

Risolto

Split a given string from the first instance of a given character
A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...

oltre un anno fa

Risolto

Backslang, odds are you used it at some point in time...
So backslang is a language that can be used to communicate in an easy decode code, if people know the rules of decoding it. Wel...

oltre un anno fa

Risolto

Concatenate strings
concatenate a variable number of input strings to produce one outputstring

oltre un anno fa