문제를 풀었습니다


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

거의 2년 전

문제를 풀었습니다


Power Numbers
Find the n-th power of m.

거의 2년 전

문제를 풀었습니다


Sum sum!!!
Sum the numbers from 1 to n

거의 2년 전

문제를 풀었습니다


Slope intercept application
Find y given slope (m), x, and y intercept (b).

거의 2년 전

문제를 풀었습니다


Number Power
Raise a number to itself.

거의 2년 전

문제를 풀었습니다


Circle : Square

거의 2년 전

문제를 풀었습니다


Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


divide by 5

거의 2년 전

문제를 풀었습니다


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

거의 2년 전

문제를 풀었습니다


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

거의 2년 전

문제를 풀었습니다


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

거의 2년 전

문제를 풀었습니다


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

거의 2년 전

문제를 풀었습니다


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

거의 2년 전

문제를 풀었습니다


Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...

거의 2년 전

문제를 풀었습니다


Find collatz series next number
For given x, if x is even, output is (x/2) if x is odd, output is (3x+1)

거의 2년 전

문제를 풀었습니다


Calculate the Voltage Through a Step-Up Transformer
Given a step-up transformer has a primary coil with A number loops, a secondary coil with B number loops, and a primary voltage ...

거의 2년 전

문제를 풀었습니다


Compound Interest: Interest Rate
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

거의 2년 전

문제를 풀었습니다


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

거의 2년 전

문제를 풀었습니다


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

거의 2년 전

문제를 풀었습니다


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

거의 2년 전

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

거의 2년 전

문제를 풀었습니다


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

거의 2년 전

문제를 풀었습니다


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

거의 2년 전

문제를 풀었습니다


Proper Factors
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...

거의 2년 전

문제를 풀었습니다


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

거의 2년 전

문제를 풀었습니다


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

거의 2년 전

문제를 풀었습니다


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

거의 2년 전

문제를 풀었습니다


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".

거의 2년 전

문제를 풀었습니다


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

거의 2년 전

더 보기