문제를 풀었습니다


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

대략 5년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


Watt
Ampere x Volt = Watt

대략 5년 전

문제를 풀었습니다


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

대략 5년 전

문제를 풀었습니다


Percentage
There is x liter water and y gram => z is percentage of salt in water

대략 5년 전

문제를 풀었습니다


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

대략 5년 전

문제를 풀었습니다


Mile to Kilometer
x is mile and y is km

대략 5년 전

문제를 풀었습니다


Transpose of matrix
Transpose of matrix as per test cases

대략 5년 전

문제를 풀었습니다


Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

대략 5년 전

문제를 풀었습니다


Will there be a new leader?
Simply answer the title.

대략 5년 전

문제를 풀었습니다


Vector parallel to plane?
Given the coefficients of the equation which defines a plane as follows: ax+by+cz=d, return a boolean indicating whether the 2n...

대략 5년 전

문제를 풀었습니다


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

대략 5년 전

문제를 풀었습니다


Matrix Generation.
if input n =1, generate a matrix y = [1]

대략 5년 전

문제를 풀었습니다


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

대략 5년 전

문제를 풀었습니다


Convert number from given base to other base
Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

대략 5년 전

문제를 풀었습니다


Generate n equally spaced "intervals" between -x and x (★)
Given n and x, return a list of numbers (in ascending order) that divides the interval [-x x] into n equal-length intervals. ...

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Counting candies
In a classroom of |'n'| children, every even numbered child gets one big candy and every odd numbered child gets two small candi...

대략 5년 전

문제를 풀었습니다


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

대략 5년 전

문제를 풀었습니다


Find difference of two set as per example
Find difference of two set as per example Say x=[1:5] and y=[2:6] then, set_diff(x,y) should give output[1] and set_diff(y...

대략 5년 전

문제를 풀었습니다


Continued fractions
Find a <http://en.wikipedia.org/wiki/Continued_fraction continued fraction> approximation of x.

대략 5년 전

문제를 풀었습니다


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

대략 5년 전

문제를 풀었습니다


expand intervals vol.2
Similar to problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528>. This is a more general case, when bounds ...

대략 5년 전

문제를 풀었습니다


expand intervals
You're given a row vector of an even number of monotonically increasing integers. Each pair of consecutive integers is the lower...

대략 5년 전

문제를 풀었습니다


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

대략 5년 전

문제를 풀었습니다


Vector to 3-Column Matrix
Consider a vector *A* such as A = [1 2 3 3 4 5 6] Can you convert this vector to a three-column matrix like this: ...

대략 5년 전

문제를 풀었습니다


Vector raised to a power, element-wise (★)
Given a vector A and a number x, raise each element of the vector to the power of x. Thus, if A = [2 5 7 1] and x = 0.5, then ...

대략 5년 전

문제를 풀었습니다


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

대략 5년 전

문제를 풀었습니다


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

대략 5년 전

문제를 풀었습니다


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

대략 5년 전

더 보기