解決済み


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2年以上 前

解決済み


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

2年以上 前

解決済み


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

2年以上 前

解決済み


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

2年以上 前

解決済み


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.

2年以上 前

解決済み


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

2年以上 前

解決済み


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3年弱 前

解決済み


the average value of the elements
Calculate the average value of the elements in the array

3年弱 前

解決済み


calculate the length of matrix
input 1 array, calculate the length

3年弱 前

解決済み


Find the max element of the array
Find the max element of the array

3年弱 前

解決済み


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

3年弱 前

解決済み


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

3年弱 前

解決済み


Min of a Matrix
Return the minimum value in the given matrix.

3年弱 前

解決済み


Determine the square root
Determine the square root of the value the user has entered, n.

3年弱 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

3年弱 前

解決済み


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

3年弱 前

解決済み


Squares inside a square!

3年弱 前

解決済み


Find Logic 23

3年弱 前

解決済み


Find Logic 22

3年弱 前

解決済み


Find Logic 4

3年弱 前

解決済み


Find Logic 8

3年弱 前

解決済み


Find Logic 15

3年弱 前

解決済み


Find Logic 18

3年弱 前

解決済み


Find Logic 19

3年弱 前

解決済み


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

3年弱 前

解決済み


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

3年弱 前

解決済み


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?

3年弱 前

解決済み


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

3年弱 前

解決済み


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

3年弱 前

解決済み


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

3年弱 前

さらに読み込む