Community Profile # cokakola

Last seen: 8일 전 2016년부터 활동

#### Statistics

All
• • • • • • • • • • • • 배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

Open coded lock.
Guess the <hint://fliplr(anchortext) password> or break the <2314/solutions/new#test_suite_body lock>.

2달 전

문제를 풀었습니다

Modify subscripts
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem starts <http://uk.mathworks....

2달 전

문제를 풀었습니다

Modify subscripts - easier
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem focus on modifying subscript...

2달 전

문제를 풀었습니다

Jump Search - 02
Find the number of leaps you need to take to find the 'first occurrence' of an element in an array using the jump search algorit...

2달 전

문제를 풀었습니다

Calculate the Surface Area of an Ellipsoid

2달 전

문제를 풀었습니다

the fly, the train, the second train, and their Zeno's paradox
*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...

3달 전

문제를 풀었습니다

Solve an ODE: first-order linear equation
In the fall semester of [redacted], my professor for a course on ordinary differential equations said, “There are two groups of ...

3달 전

문제를 풀었습니다

A <http://en.wikipedia.org/wiki/Word_ladder word ladder> transforms one word to another by means of single-letter mutations. So ...

3달 전

문제를 풀었습니다

French Conundrum
The French army is trapped, sorrounded in backwards direction (South and West directions) by enemy traps and ambushes. You are n...

3달 전

문제를 풀었습니다

how to determine is a point is inside, on or outside a polygon?
design function determines whether the point is inside a contour, outside, or lies on an edge (or coincides with a vertex). It r...

3달 전

문제를 풀었습니다

Testing for randomness: uniform distribution of integers
On Cody several problems have been set up asking players to generate one or more 'random' numbers. Usually they are asking for ...

3달 전

문제를 풀었습니다

3달 전

문제를 풀었습니다

Easy Sequences 75: Easy as Pisano Pi
Pisano period , of an integer , is the period in which the sequence of Fibonacci numbers modulo repeats. For example it is not ...

3달 전

문제를 풀었습니다

Calculate the height of an object dropped from the sky
Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

3달 전

문제를 풀었습니다

The most decentralized RGB colors

3달 전

문제를 풀었습니다

Exhaust all possible logical vectors
Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

3달 전

문제를 풀었습니다

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

3달 전

문제를 풀었습니다

Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

3달 전

문제를 풀었습니다

Undocumented MATLAB tricks No. 2 - Tell the parfor index
Your function is called in multiple for-loops, and the loop indices are given to your function. One of these indices are from a ...

3달 전

문제를 풀었습니다

Undocumented MATLAB tricks No. 1 - Save a function-returned struct
Often we face the case when we want to save a function-returned struct to a mat file with each of its field as individual variab...

3달 전

문제를 풀었습니다

String to Binary Representation
Given a string, convert it using UTF-8 into a binary array where each character or byte is arraigned low to high. For example: ...

3달 전

문제를 풀었습니다

Binary Array to Hex Representation
Given a binary array of bytes (lsb to msb), convert it into a hexadecimal representation (msb to lsb). For example: Input: [1 ...

3달 전

문제를 풀었습니다

center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

3달 전

문제를 풀었습니다

jumping astronauts
The surface gravity on the moon is approximately 2 m/s^2. Thats why an funny astronauts feels as light as a feather and jumps fr...

3달 전

문제를 풀었습니다

Babylonian method
Calculate the square root of a given positive number a using the Babylonian method (https://en.wikipedia.org/wiki/Methods_of_co...

3달 전

문제를 풀었습니다

fractal circles
Create a fractal with circles using the same process as the Sierpinski triangle (https://en.wikipedia.org/wiki/Sierpinski_trian...

3달 전

문제를 풀었습니다

Volume of a truncated cube

3달 전

문제를 풀었습니다

The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
the remaining side may have many possible values.only assume integer ones for simplicity.

3달 전

문제를 풀었습니다

Inscribed circle in a triangle
A circle of radius r is inscribed in a triangle. In the figure, Ac=x and Bc=y. values of x & y are given. Find the ar...

3달 전