Resuelto


Wayfinding 1 - crossing
This is the first part of a series of assignments about wayfinding. The final goal is to be able to calculate the fastest route ...

casi 6 años hace

Resuelto


Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...

casi 6 años hace

Resuelto


Points on a Sphere
Given a sphere of radius R, determine how many points on the surface of that sphere have three integer coordinates. Do not outp...

casi 6 años hace

Resuelto


Points on a circle.
This problem is related to <url=http://www.mathworks.com/matlabcentral/cody/problems/1283-points-on-a-sphere>Problem 1283, Point...

casi 6 años hace

Resuelto


Dots in a Diamond
Return how many <http://en.wikipedia.org/wiki/Diamond_cubic Diamond Cubic> lattice grid points there are inside a 3D sphere of r...

casi 6 años hace

Resuelto


Find the sines of an isosceles triangle when given its area and height
Find the sines of an isosceles triangle when given its area and height. For example, when A=60 and h=5, the result is [0.3752...

casi 6 años hace

Resuelto


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

casi 6 años hace

Resuelto


Basic Addition

casi 6 años hace

Resuelto


Circle : Square

casi 6 años hace

Resuelto


Round to nearest integer

casi 6 años hace

Resuelto


Find Sine Function

casi 6 años hace

Resuelto


multiply by 7

casi 6 años hace

Resuelto


Find y if y is 4 times the value of x.

casi 6 años hace

Resuelto


Multiply by 14

casi 6 años hace

Resuelto


Determine if input is a perfect square

casi 6 años hace

Resuelto


2X MULTIPLIER

casi 6 años hace

Resuelto


Polygon in a unit circle

casi 6 años hace

Resuelto


Find the Sum of matrix A

casi 6 años hace

Resuelto


Find the area of a square

casi 6 años hace

Resuelto


number play

casi 6 años hace

Resuelto


Pell numbers
Find the nth pell number <https://en.wikipedia.org/wiki/Pell_number>

casi 6 años hace

Resuelto


Bell Triangle
Form the bell triangle upto nth bell number posotion; * if n=5 * y= [1 0 0 0 0; 1 2 0 0...

casi 6 años hace

Resuelto


Frugal number
check whether n is a frugal number * a frugal number is a natural number in a given number base that has more digits than the...

casi 6 años hace

Resuelto


Iccanobif numbers 1
There are a lot of problems in Cody that deal with Fibonacci numbers (1, 1, 2, 3, 5, 8, 13, 21 etc...) so let's turn things arou...

casi 6 años hace

Resuelto


Last non-zero digit
Given a number n, find the last non-zero digit of the factorial of that number. You need to take care of the large values of n....

casi 6 años hace

Resuelto


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

casi 6 años hace

Resuelto


Go to the head of the class!
You're given a matrix and a single number. If that number is in the matrix, reorder the matrix so that number is in the first r...

casi 6 años hace

Resuelto


Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

casi 6 años hace

Resuelto


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

casi 6 años hace

Cargar más