문제를 풀었습니다


Easy Sequences 109: Summation of a Trigonometric Function Derivative
A trigonometric function, , is defined as follows: where: ; and ...

거의 3년 전

문제를 풀었습니다


Find longest run
Write a function longest_run that takes as input an array of 0's and 1's and outputs the length and index of the longest consecu...

거의 3년 전

문제를 풀었습니다


German tank problem
The German tank problem is a well-known statistical problem that attempts to estimate the maximum of a discrete distribution fro...

거의 3년 전

문제를 풀었습니다


Does the coin touch the line?
If we throw a coin that has a diameter of d, its center will land in a grid n x m. What is the probability that the coin land...

거의 3년 전

문제를 풀었습니다


Eliminate Outliers Using Interquartile Range
Given a vector with your "data" find the outliers and remove them. To determine whether data contains an outlier: # Identi...

거의 3년 전

문제를 풀었습니다


Sum of infinite series.

거의 3년 전

문제


Determine the minimum number of swaps to sort a vector
Cody Problem 1401 asks us to sort a vector with the bubble sort algorithm and count the number of swaps needed. For example, to ...

거의 3년 전 | 2 | 솔버 수: 4

문제를 풀었습니다


swap sign sum & multiply castles
* It is an easy problem, if you know the answer. * Given a square matrix of NxN ordinary numbers. * Initially place N identi...

거의 3년 전

문제를 풀었습니다


007: Chinese Barrack Invasion
*MISSION:* Successfully invade a military barrack located in China. *WARNING:* There is a row of _n_ security switches protec...

거의 3년 전

문제를 풀었습니다


Check if a directory is on the current MATLAB search path
Given a directory name as a string, return true if the directory is on the current MATLAB search path, and false otherwise.

거의 3년 전

문제를 풀었습니다


Six Steps to PCA - Step 1: Centre and Standardize
*Introduction* Principal Component Analysis (PCA) is a classic among the many methods of multivariate data analysis. Invented...

거의 3년 전

문제를 풀었습니다


Calculate BMI
Given weight in kgs and height in metres, calculate body mass index

거의 3년 전

문제


Compute flow in a partially full pipe
Problem statement When does the maximum flow occur in a pipe? Intuition might suggest that it occurs when the pipe is flowing f...

거의 3년 전 | 1 | 솔버 수: 5

문제를 풀었습니다


raise x to the nth power
use basic math operators and a variable to solve the problem for a given variable n. (make sure "n" is the variable you use)

거의 3년 전

문제를 풀었습니다


multiply by 5
multiply x by 5

거의 3년 전

문제를 풀었습니다


multiply by 12
multiply x by 12

거의 3년 전

문제를 풀었습니다


Find gradient of a numeric data which has same size as the existing vector.
**** Refer matlab documentation about finding gradient **** Convert the entire gradient vector to least integer form. (Probably...

거의 3년 전

문제


Route a hydrograph through a river section with the Muskingum method
Problem statement Write a function that routes a hydrograph through a river section using the Muskingum method. The input to t...

거의 3년 전 | 0 | 솔버 수: 2

문제


Identify de Polignac numbers
The numbers 125 and 329 can be written as the sum of a prime and a power of 2. For example, , and . The numbers 127 and 331, whi...

거의 3년 전 | 2 | 솔버 수: 22

문제


Solve an ODE: draining tank
Write a function to compute the time to drain a cylindrical tank of diameter from an initial level to a level . The outflow oc...

거의 3년 전 | 3 | 솔버 수: 9

문제를 풀었습니다


Convert vector of strings to lower triangular matrix
Given a non-empty vector vec of strings, please put its elements into the lower triangular half of a square matrix M column-wise...

거의 3년 전

문제


List numbers such that every sum of consecutive positive integers ending in those numbers is composite
The sequence in question in this problem involves numbers such that all sums of consecutive positive integers ending with are ...

대략 3년 전 | 1 | 솔버 수: 7

문제


List the two-bit primes
Each year at Christmas, my father-in-law and his partner send me the Puzzle Mania section from the New York Times. This year’s e...

대략 3년 전 | 1 | 솔버 수: 9

문제를 풀었습니다


Blood test?
Assuming: the genetic makeup (genotype) of a child is coded as a pair with two components, combining half genotype of one parent...

대략 3년 전

문제를 풀었습니다


Sub-sequence - 02
Given two sequences, find the length of the longest common subsequence. a=[1,1,1,1,1,2,3,1,4] b=[2,3,0,0,9,5,4,1] longe...

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

더 보기