문제를 풀었습니다


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

2개월 전

문제를 풀었습니다


Find the remainder - 01
Given an array of integers, find the remainder when the product of all the elements is divided by N

2개월 전

문제를 풀었습니다


Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...

2개월 전

문제를 풀었습니다


Palindromic Primes
A Palindromic Prime is a prime number that is also a palindromic number. (Wiki, OEIS) If given a monotonic series (increment...

2개월 전

문제를 풀었습니다


Finding area of a triangle.
Find the area of an equalateral triangle with sides of 3 inches,

2개월 전

문제를 풀었습니다


A Binary Search
One way to locate a target value in a sorted array, is to use a binary search algorithm. Here, you test if the midpoint in the a...

2개월 전

문제를 풀었습니다


Sum of all the divisors of n

2개월 전

문제를 풀었습니다


Plot Line Specifications
Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...

2개월 전

문제를 풀었습니다


Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....

2개월 전

문제를 풀었습니다


King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

3개월 전

문제를 풀었습니다


The Case of the Missing Prototype – Restore the Correct Frame Order from the Corrupted Security Camera Footage
You’ve finally recovered the security camera footage from the Innovation Lab,but the system malfunctioned and stored frames in t...

3개월 전

문제를 풀었습니다


Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...

3개월 전

문제를 풀었습니다


Compute Airspeed from Mach Number
Write a MATLAB function that converts a Mach number to airspeed given the speed of sound aa in m/s: V=M⋅a V = airspeed (m/s) M...

3개월 전

문제를 풀었습니다


Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air: ​ where: D is drag force (N) ρ is air de...

3개월 전

문제를 풀었습니다


Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ​ ρ = fluid density (kg/m³) V = veloc...

3개월 전

문제를 풀었습니다


Determine if given number is perfect
A number is perfect if it is equal to the sum of its factors, excluding itself. Example The number 6 is perfect since its fact...

3개월 전

문제를 풀었습니다


Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...

3개월 전

문제를 풀었습니다


Find the logic and return the nth number
given a sequence of numbers arranged in the following order: A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,...... Write a function th...

3개월 전

문제를 풀었습니다


find the nth number (plus)
this problem is the harder version of Problem 61014. The numbers 2 and 7 are called lucky numbers, an integer containing only t...

3개월 전

문제를 풀었습니다


Find nth number
The numbers 2 and 7 are called lucky numbers, an integer containing only the digits 2 and 7 is also called lucky number. The pro...

3개월 전

문제를 풀었습니다


find the nth fibonacci number
The Fibonacci sequence is defined as follows: give n, find the nth fibonacci number

3개월 전

문제를 풀었습니다


Mesh the tetrahedron
Problem statement An tetrahedron is a regular polyhedron with 4 vertices and 4 triangular faces. It is also one of the five w...

3개월 전

문제를 풀었습니다


Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...

3개월 전

문제를 풀었습니다


Mesh the dodecahedron
Problem statement An dodecahedron is a regular polyhedron with 20 vertices and 12 pentagonal faces. It is also one of the fiv...

3개월 전

Discussion


Extract the Digits of a Number
Extracting the digits of a number will be useful to solve many Cody problems. Instead of iteratively dividing by 10 and taking ...

3개월 전 | 0

문제를 풀었습니다


Mesh the octahedron
Problem statement An octahedron is a regular polyhedron with 6 vertices and 8 triangular faces. It is also one of the five we...

3개월 전

문제를 풀었습니다


Mesh the icosahedron
Problem statement An icosahedron is a regular polyhedron with 12 vertices and 20 triangular faces. It is also one of the five...

3개월 전

문제를 풀었습니다


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. A triangulated mesh T (stands for triangles he...

3개월 전

문제를 풀었습니다


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

3개월 전

문제를 풀었습니다


Count the Even Digits in a Number
Given a positive integer n, write a function that returns how many digits of n are even. Even digits are: 0, 2, 4, 6, 8

3개월 전

더 보기