Gelöst


Godfather or Goodfather
Recently, I watched the movie called the Godfather. In my opinoin, Vito Corleone is not just a godfather, he is also a good fat...

fast 5 Jahre vor

Gelöst


Easy Sequences 31: N-N's Sequence
We define the N-N's Sequence, as the series of all positive integers in ascending order and with repetition, wherein a appears ...

fast 5 Jahre vor

Gelöst


Easy Sequences 30: Nearly Pythagorean Triangles
A Nearly Pythagorean Triangle (abbreviated as "NPT'), is integer-sided triangle whose square of the longest side, which we will ...

fast 5 Jahre vor

Gelöst


Easy Sequences 28: Sum of Radicals of Integers
The radical of a positive integer is defined as the product of the distinct prime numbers dividing . For example, the distinct ...

fast 5 Jahre vor

Gelöst


Easy Sequences 27: Product of Radicals of Integers
The radical of a positive integer is defined as the product of the distinct prime numbers dividing . For example, the distinct ...

fast 5 Jahre vor

Gelöst


Easy Sequences 26: Prime-Integer Line Segments
At the first quadrant in the -plane, you are asked to construct a line segment with the following specifications: Select a prim...

fast 5 Jahre vor

Gelöst


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

fast 5 Jahre vor

Gelöst


Easy Sequences 25: Product of Series
The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

fast 5 Jahre vor

Gelöst


Easy Sequences 24: Number of Coprime Lattice Points
Given a number 'n', you were tasked to mark and count all coprime lattice points at the first quadrant bounded the the points (0...

fast 5 Jahre vor

Gelöst


Easy Sequences 23: Hat Guessing Game!
Consider the following Game Show: Hats, with numbers written on each, were placed on the heads of the participants. Participant...

fast 5 Jahre vor

Gelöst


A SUBSREF variant that accepts the 'end'-operator.
Unfortunately, Matlab's |subsref| function does not support the |end| -operator. The |end| -operator is a powerfull method to re...

fast 5 Jahre vor

Gelöst


Convert vector datasets to plot with imagesc instead of scatter
For large datasets this allows much faster plotting. An irregular 2D spatial sampling is provided in x and y vectors with a d...

fast 5 Jahre vor

Gelöst


Easy Sequences 20: Counting Prime-sided Rectangles
A prime-sided rectangle is a rectangle having sides represented by prime numbers. The figure below shows all the possible prime-...

fast 5 Jahre vor

Gelöst


Easy Sequences 21: Combinatorial Summations
Create the function S(n), defined by the following summation: The symbol is the combination f...

fast 5 Jahre vor

Gelöst


Multiply binary numbers
Write a function to multiply two binary numbers input as strings. For example, input values of ‘1011’ and ‘101’ should give ’110...

fast 5 Jahre vor

Gelöst


Thank!
. Thank all.

fast 5 Jahre vor

Gelöst


Easy Sequences 19: Length of Prime-sided Rectangle with Maximum Area
A prime-sided rectangle is a rectangle having sides represented by prime numbers. The figure below shows all the possible prime-...

fast 5 Jahre vor

Gelöst


The perimeter of a circle
Calculate the perimeter of a circle E.g If input r(radius) = 2 , the output( the perimeter of a circle) = 12.5664.

fast 5 Jahre vor

Gelöst


Easy Sequences 18: Set Bits of Triple Summations
The function S(n) is defined by the following triple summations: The double brackets mean that th...

fast 5 Jahre vor

Gelöst


Free points!
Products of all elements in x. eg. x = [1 2 3 4 5]; y = 120;

fast 5 Jahre vor

Gelöst


Easy Sequences 16: Volume of Embedded Octahedron
An octahedron (not regular) is formed by joining the centers of the faces of a rectangular parallelepiped (see below figure). ...

fast 5 Jahre vor

Gelöst


Easy Sequences 15: Pythagorean Area with maximum Hypotenuse
A pythagorean triangle is defined as a right triangle with all three sides having integer lengths. Examples of pythogorean trian...

fast 5 Jahre vor

Gelöst


Easy Sequences 13: Average Speed of Spaceship
A certain alien spaceship is capable of traveling at extremely high velocities and is able to change speed instantaneously. The ...

fast 5 Jahre vor

Gelöst


Number of bytes required to store a sparse matrix
The input is always a sparse matrix : x = sparse(100,1000,0.01); >>whos x shows that 8024 bytes ares required . The a...

fast 5 Jahre vor

Gelöst


Count the primes in Collatz sequences
Several Cody problems (21, 69, 42937, 44448, 44784, 52422) involve Collatz sequences. These start with a seed . If is odd, the ...

fast 5 Jahre vor

Gelöst


List the Moran numbers
The quotient of a Moran number and its digit sum is prime. For example, 117 and 481 are Moran numbers because 117/(1+1+7) is 13 ...

fast 5 Jahre vor

Gelöst


Convert a cell-array of values to MATLAB source code
The MATLAB interpreter loads your code and executes it using the Read-Evaluate-Print-Loop (see REPL). In this problem you will ...

fast 5 Jahre vor

Gelöst


Modify subscripts
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem starts <http://uk.mathworks....

fast 5 Jahre vor

Gelöst


List modest numbers up to n
After determining the nude numbers, or the numbers that openly display some of their divisors as their digits, one would think t...

fast 5 Jahre vor

Gelöst


Count the ways to draw non-intersecting chords between points on a circle
There are 9 ways to draw non-intersecting chords between four points on the perimeter of a circle (including no chords at all). ...

fast 5 Jahre vor

Mehr laden