解決済み


Triangle???
Calculate the circumference of an equilateral triangle with x

6年以上 前

解決済み


Perimeter of a square!
Calculate the circumference of the square whose side is n

6年以上 前

解決済み


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

6年以上 前

解決済み


check whether a number is a pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

6年以上 前

解決済み


generate nth pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

6年以上 前

解決済み


Determine whether a given point is inside or outside a polygon
A closed polygon may be described by an N x 2 array of nodes, where the last node and the first node are the same. Each row of ...

6年以上 前

解決済み


Calculate the area of a circle
Given a circle of diameter x calculate its area

6年以上 前

解決済み


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

6年以上 前

解決済み


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

6年以上 前

解決済み


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

6年以上 前

解決済み


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

6年以上 前

解決済み


Duplicate all elements in the array
Duplicate all elements in the array

6年以上 前

解決済み


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

6年以上 前

解決済み


The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
the remaining side may have many possible values.only assume integer ones for simplicity.

6年以上 前

解決済み


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

6年以上 前

解決済み


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

6年以上 前

解決済み


Square
square root of x

6年以上 前

解決済み


factorial
calculate x!

6年以上 前

解決済み


wipe out!
make all the elements in given x zero.

6年以上 前

解決済み


true or false
if the matrix has a zero, return true. else, return false

6年以上 前

解決済み


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

6年以上 前

解決済み


to the 2 all elements
to the 2 all elements

6年以上 前

解決済み


square a number twice with square root of 4/5
square a number twice with square root of 4/5

6年以上 前

解決済み


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

6年以上 前

解決済み


Chào các bạn.
Cho 3 số. Tính tổng của chúng

6年以上 前

解決済み


Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

6年以上 前

解決済み


Calculate BMI
Given a matrix |hw| with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 inch = 2.54 centimet...

6年以上 前

解決済み


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

6年以上 前

さらに読み込む