문제를 풀었습니다


Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

거의 5년 전

문제를 풀었습니다


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

거의 5년 전

문제를 풀었습니다


find the 'M'
for an input x, return 1 at the location of the letter 'M'

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Polar Form Complex Number Entry
Write a function that takes the magnitude and angle(in degrees) of a complex number and returns a complex variable. Positive ang...

거의 5년 전

문제를 풀었습니다


find the answer

거의 5년 전

문제를 풀었습니다


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

거의 5년 전

문제를 풀었습니다


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

거의 5년 전

문제를 풀었습니다


Determine the factorial of a number

거의 5년 전

문제를 풀었습니다


factorial
calculate x!

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

거의 5년 전

문제를 풀었습니다


I'm going to enjoy watching you calculate, Mr Anderson
Smith numbers are numbers such that if you add up all of the digits in the number, that sum equals the sum of all of the digits ...

거의 5년 전

문제를 풀었습니다


I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...

거의 5년 전

문제를 풀었습니다


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

거의 5년 전

문제를 풀었습니다


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

거의 5년 전

문제를 풀었습니다


preventing a war!!
essume you are a student and your family paid a lot of money for your classes but unfortunately the online classes made you a ...

거의 5년 전

문제를 풀었습니다


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

거의 5년 전

문제를 풀었습니다


Function - Cylinder Surface Area
The goal

거의 5년 전

문제를 풀었습니다


Find the sum of the following series
A(n)=(n*(n-1)!)/(n-2)!

거의 5년 전

문제를 풀었습니다


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

거의 5년 전

문제를 풀었습니다


Highly divisible triangular number (inspired by Project Euler 12)
Triangular numbers can be calculated by the sum from 1 to n. For example, the first 10 triangular numbers are: 1, 3, 6, 10, ...

거의 5년 전

문제를 풀었습니다


Generate pi using logarithm
Generate pi using logarithm

거의 5년 전

문제를 풀었습니다


Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

거의 5년 전

문제를 풀었습니다


Brain Teaser Solver
Write an algorithm to solve this brain teaser: You have a square that is broken into four triangles, the area of three of tho...

거의 5년 전

문제를 풀었습니다


Write a function to generate AND operation

거의 5년 전

문제를 풀었습니다


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

대략 5년 전

문제를 풀었습니다


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

대략 5년 전

문제를 풀었습니다


Fractal: area and perimeter of Koch snowflake
Starting from an equilateral triangle with side 's', what is the area and perimeter of Koch snowflake at n'th recursive iteratio...

대략 5년 전

문제를 풀었습니다


Make a rainbow matrix (follow-up to checkerboard matrix)
Given an integer n, make an n-by-n matrix as shown below. The a(1,1) should be 0. As we move away from the top-left, the number ...

대략 5년 전

더 보기