문제를 풀었습니다


square it and then take the square root
square it and then take the square root

거의 9년 전

문제를 풀었습니다


divide by 9
divide by 9

거의 9년 전

문제를 풀었습니다


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

거의 9년 전

문제를 풀었습니다


add 5 and divide by 10
add 5 and divide by 10

거의 9년 전

문제를 풀었습니다


Number of primes
Count the number of primes less than 'n'.

거의 9년 전

문제를 풀었습니다


find the distance if the car is going at a speed of 20 m/s in 10 seconds
find the distance if the car is going at a speed of 20 m/s in 10 seconds

거의 9년 전

문제를 풀었습니다


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

거의 9년 전

문제를 풀었습니다


Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...

거의 9년 전

문제를 풀었습니다


what is the speed of the car if the car travelled 10m in 5 seconds
what is the speed of the car if the car travelled 10m in 5 seconds

거의 9년 전

문제를 풀었습니다


add 4
add 4

거의 9년 전

문제를 풀었습니다


what is the cosine of pi
what is the cosine of pi

거의 9년 전

문제를 풀었습니다


what is sin of 0
what is sin of 0

거의 9년 전

문제를 풀었습니다


what is sin of 0
what is sin of 0

거의 9년 전

문제를 풀었습니다


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

거의 9년 전

문제를 풀었습니다


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

거의 9년 전

문제를 풀었습니다


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.

거의 9년 전

문제를 풀었습니다


Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

거의 9년 전

문제를 풀었습니다


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.

거의 9년 전

문제를 풀었습니다


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

거의 9년 전

문제를 풀었습니다


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

거의 9년 전

문제를 풀었습니다


Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

거의 9년 전

문제를 풀었습니다


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

거의 9년 전

문제를 풀었습니다


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

거의 9년 전

문제를 풀었습니다


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

거의 9년 전

문제를 풀었습니다


Is matlab fun?
Returns 'yes' no matter the input.

거의 9년 전

문제를 풀었습니다


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

거의 9년 전

문제를 풀었습니다


Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

거의 9년 전

문제를 풀었습니다


Determine if a four bar mechanism is of Grashof type
A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...

대략 9년 전

문제를 풀었습니다


Can the given sides form a triangle?
Can the three given sides form a triangle?

대략 9년 전

문제를 풀었습니다


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

대략 9년 전

더 보기