Resuelto


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

más de 5 años hace

Resuelto


Draw Letter 'L'

más de 5 años hace

Problema


Count the square-full divisors of a number

más de 5 años hace | 0 | 10 solvers

Resuelto


Number Puzzle - 108

más de 5 años hace

Resuelto


Number Puzzle - 107

más de 5 años hace

Resuelto


Number Puzzle - 106

más de 5 años hace

Resuelto


Number Puzzle - 105

más de 5 años hace

Resuelto


Sales Tax

más de 5 años hace

Resuelto


Determine value using Look-up table method
Given a set of 2 vectors x and y related in a certain way, you are supposed to find value of y (ydash) given a particular value ...

más de 5 años hace

Resuelto


Free Fall analytical solution (Chapra 2012 textbook Example 1.1)
Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

más de 5 años hace

Resuelto


Restricted Subtraction v1
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

más de 5 años hace

Resuelto


Extract part elements of matrix into one new matrix
Given a matrix that includes different nonzero and zero entries, extract the nonzero elements and form a new matrix. The new mat...

más de 5 años hace

Resuelto


Is this function available?
Sometimes it is difficult to remember which functions are not allowed on the Cody platform. Given a function as a string, return...

más de 5 años hace

Resuelto


Derivative function
Given a function handle f, generate a function that evaluates the derivative of f Examples: f = @sin; df = De...

más de 5 años hace

Resuelto


Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...

más de 5 años hace

Resuelto


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

más de 5 años hace

Resuelto


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

más de 5 años hace

Resuelto


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

más de 5 años hace

Resuelto


Square Patterns in a square matrix

más de 5 años hace

Resuelto


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

más de 5 años hace

Resuelto


Infinite precision division
Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

más de 5 años hace

Resuelto


Hexagonal numbers on a spiral matrix
Put hexagonal numbers in a ( m x m ) spiral matrix and return the sum of its diagonal elements. Formula of hexagonal numbers ...

más de 5 años hace

Problema


Compute a row of the Kimberling shuffle

más de 5 años hace | 1 | 14 solvers

Resuelto


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

más de 5 años hace

Resuelto


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

más de 5 años hace

Resuelto


How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

más de 5 años hace

Resuelto


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

más de 5 años hace

Resuelto


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

más de 5 años hace

Resuelto


Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6 '************' '***** *****' '**** ****' ...

más de 5 años hace

Cargar más