문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

9년 초과 전

문제를 풀었습니다


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

9년 초과 전

문제를 풀었습니다


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

9년 초과 전

문제를 풀었습니다


Concatenate two strings
Its very easy. Just concatenate two strings.

9년 초과 전

문제를 풀었습니다


Display positive elements of matrix.
Display positive elements of matrix.

9년 초과 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

9년 초과 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

9년 초과 전

문제를 풀었습니다


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

9년 초과 전

문제를 풀었습니다


Solve the system of equations.
_Ax=b_ * _A_ - square coefficient matrix * _b_ - right side column vector Find vecor _x_.

9년 초과 전

문제를 풀었습니다


Solve the following system of equations.
x-2y+3z=7 2x+y+z=4 -3x+2y-2z=-10

9년 초과 전

문제를 풀었습니다


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

9년 초과 전

문제를 풀었습니다


Find the Sum of the Series:
<<https://psv4.vk.me/c810428/u48725350/docs/03e9821af0aa/for.jpg?extra=iyw_6UQfL0GhDJ2NtppzhQFjAvaCe79tBk0IIpSRcn5jRJvUgdAe4u7KP...

9년 초과 전

문제를 풀었습니다


Find Adjacency Matrix
Graph is undirected. (s,t) in node pairs. Please, return full storage version of the matrix.(use _full(A)_ ) Input: s...

9년 초과 전

문제를 풀었습니다


What do you get if you multiply six by nine?
The Hitchhiker's Guide to the Galaxy based task.

9년 초과 전

문제를 풀었습니다


surface of a spherical planet
you just discovered its circumference, that is the input.

9년 초과 전

문제를 풀었습니다


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

9년 초과 전

문제를 풀었습니다


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

9년 초과 전

문제를 풀었습니다


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

9년 초과 전

문제를 풀었습니다


Solve t^(a*x^2+b*x+c)=s
Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

9년 초과 전

문제를 풀었습니다


My cat likes strings!!
Create a string of specified length or more. It's that simple!

9년 초과 전

문제를 풀었습니다


prime test
find largest 2 digit prime number

9년 초과 전

문제를 풀었습니다


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

9년 초과 전

문제를 풀었습니다


Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...

9년 초과 전

문제를 풀었습니다


Nth root.
* Assign outValues with the nth root of the inValues, the root is specified by rootValue

9년 초과 전

문제를 풀었습니다


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

9년 초과 전

문제를 풀었습니다


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

9년 초과 전

더 보기