문제를 풀었습니다


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

거의 5년 전

문제를 풀었습니다


Acid and water
⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ Assume that there is a 100 liter tank. It is initially fi...

거의 5년 전

문제를 풀었습니다


Find the Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

거의 5년 전

문제를 풀었습니다


square a number twice with square root of 4/5
square a number twice with square root of 4/5

거의 5년 전

문제를 풀었습니다


Triangle???
Calculate the circumference of an equilateral triangle with x

거의 5년 전

문제를 풀었습니다


Perimeter of a square!
Calculate the circumference of the square whose side is n

거의 5년 전

문제를 풀었습니다


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

거의 5년 전

문제를 풀었습니다


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

거의 5년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

거의 5년 전

문제를 풀었습니다


easy problem
Find the last element of the array

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

거의 5년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

거의 5년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 5년 전

문제를 풀었습니다


Calculate the square root of a number
Input a Output b = srt(a)

거의 5년 전

문제를 풀었습니다


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

거의 5년 전

문제를 풀었습니다


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

거의 5년 전

문제를 풀었습니다


Digital Neighbourhood
Given a natural number reorder its digits to create another number, closest to the given one. Examples: * 123 gives 132, ...

거의 5년 전

문제를 풀었습니다


Square root of number
Square root of given number.

거의 5년 전

문제를 풀었습니다


Binary Neighbourhood
Given a natural number reorder its binary form to create another number, closest to the given one. Examples: * 1 gives 2, ...

거의 5년 전

문제를 풀었습니다


Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

거의 5년 전

문제를 풀었습니다


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

거의 5년 전

문제를 풀었습니다


Chào các bạn.
Cho 3 số. Tính tổng của chúng

거의 5년 전

문제를 풀었습니다


Rearrange the given matrix to have all its zeros climb up to the top of each column - using for loops.
Given a matrix x, *using loops only* return a matrix y, in which all the zeros have "climbed" up to the top. That is, any zeros ...

거의 5년 전

문제를 풀었습니다


Implement full adder circuit
Implement full adder circuit as given in <http://en.wikipedia.org/wiki/Adder_(electronics)> Inputs signals are a, b and ...

거의 5년 전

문제를 풀었습니다


Happy Free Wednesday!
Just submit your solution on any Wednesday. *Related Challenges:* # Happy Free Wednesday! # Happy Free 2019! # Happy Fr...

거의 5년 전

문제를 풀었습니다


mathematics , probability problem
How many different result can we have, rolling k dice?

거의 5년 전

더 보기