Resuelto


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...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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.

más de 3 años hace

Resuelto


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...

más de 3 años hace

Resuelto


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

más de 3 años hace

Problema


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...

más de 3 años hace | 1 | 8 solvers

Resuelto


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)

más de 3 años hace

Resuelto


multiply by 5
multiply x by 5

más de 3 años hace

Resuelto


multiply by 12
multiply x by 12

más de 3 años hace

Resuelto


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...

más de 3 años hace

Problema


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...

más de 3 años hace | 0 | 4 solvers

Problema


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...

más de 3 años hace | 2 | 24 solvers

Problema


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...

más de 3 años hace | 3 | 12 solvers

Resuelto


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...

más de 3 años hace

Problema


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 ...

más de 3 años hace | 1 | 9 solvers

Problema


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...

más de 3 años hace | 1 | 10 solvers

Resuelto


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

más de 3 años hace

Resuelto


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...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Sub-Diagonal Sum
Given a (m x n) matrix and a value r {1,-1}, change every element to the sum of the diagonal led by the element. r=1 > regular ...

más de 3 años hace

Problema


Compute infiltration and runoff under constant precipitation with the Green-Ampt method
Problem statement Write a function that computes infiltration, depression storage, and runoff using the Green-Ampt method. It s...

más de 3 años hace | 2 | 4 solvers

Resuelto


Armstrong Number
Write a function name armstrong_check that checks whether the given input is an Armstrong Number or not. It returns logical True...

más de 3 años hace

Resuelto


Zero finder
Write a function named 'zero_finder' that takes a matrix as input and returns the row index of the last zero for each for each c...

más de 3 años hace

Problema


Inscribe a circle in a triangle with a side of length equal to the circle’s circumference
A circle of radius is inscribed in a triangle with a side that has a length equal to the circle’s circumference. The center of ...

más de 3 años hace | 2 | 8 solvers

Resuelto


The Yellowstone Permutation
The Yellowstone Permutation is a sequence of positive integers, defined by the following rules: No term is repeated. Given n t...

más de 3 años hace

Resuelto


Scrabble Scores - 7
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

más de 3 años hace

Cargar más