Gelöst


EZ5
EZ5

mehr als ein Jahr vor

Gelöst


EZ6

mehr als ein Jahr vor

Gelöst


EZ7
EZ

mehr als ein Jahr vor

Gelöst


EZ8
EZ

mehr als ein Jahr vor

Gelöst


EZ9
EZ

mehr als ein Jahr vor

Gelöst


EZ10
EZ

mehr als ein Jahr vor

Gelöst


Find out if the given number is a square of natural number.
For example , Input =4,output =1 Input=1,output=1 Input=0,output=0 Input=8,output=0

mehr als ein Jahr vor

Gelöst


Highly divisible triangular number (inspired by Project Euler 12)
Triangular numbers can be calculated by the sum from 1 to n. For example, the first 10 triangular numbers are: 1, 3, 6, 10, ...

mehr als ein Jahr vor

Gelöst


Find the nth nude number
The number 672 is a nude number because it openly displays three of its divisors: 6, 7, and 2. In other words, a nude number is ...

mehr als ein Jahr vor

Gelöst


Instructions Following
Complete the function follow(s) which, for a given string (containing only the letters 'f', 'b', 'l', 'r'), calculates the final...

mehr als ein Jahr vor

Gelöst


Wheatstone bridge
Determine if a set of resistors maintain Wheatstone bridge equilibrium

mehr als ein Jahr vor

Gelöst


Remove the diagonal of a square matrix
Some Cody problems ask solvers to remove columns (e.g., CP 7), and others ask solvers to remove rows (e.g., CP 44033). Write a...

mehr als ein Jahr vor

Gelöst


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

mehr als ein Jahr vor

Gelöst


Watt
Ampere x Volt = Watt

mehr als ein Jahr vor

Gelöst


iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- blank f...

mehr als ein Jahr vor

Gelöst


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

mehr als ein Jahr vor

Gelöst


house of cards
How many cards do one need to build a house of cards with n stages? Short explanation: /\ 2 cards for 1 stage ...

mehr als ein Jahr vor

Gelöst


balance vector
Given a non-empty vector x with integer elements. x shall be called balance vector if one can split the elements of x into two g...

mehr als ein Jahr vor

Gelöst


fractal circles
Create a fractal with circles using the same process as the Sierpinski triangle (https://en.wikipedia.org/wiki/Sierpinski_trian...

mehr als ein Jahr vor

Gelöst


Halder function
Find the halder function value of a number

mehr als ein Jahr vor

Gelöst


Reverse a string
Return a string with the characters in reverse order from a given input string Ex: my_str = "Ciao" function should output "...

mehr als ein Jahr vor

Gelöst


Palindrome Checker
Check to see if a given string is a palindrome (a word, phrase, or sequence that reads the same backward as forward). Output sh...

mehr als ein Jahr vor

Gelöst


Convert RGB to Grayscale
Convert a 3 element RGB array to its correspoding grayscale pixel (a scalar) *Hint: a formula exists!

mehr als ein Jahr vor

Gelöst


Generate a point cloud on an equilateral triangle 1
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

mehr als ein Jahr vor

Gelöst


Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...

mehr als ein Jahr vor

Gelöst


Diagonal Product of A Square Matrix
For a matrix A, calculate the product of its diagonal elements. * Assume all input matrices are square & corresponding element...

mehr als ein Jahr vor

Gelöst


Box
Give the volume of a box, x is equal to the body diagonal.

mehr als ein Jahr vor

Gelöst


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

mehr als ein Jahr vor

Gelöst


Approximate the cosine function
Without using MATLAB trigonometric functions, calculate the cosine of an argument x to a precision of 0.0001 Hint: You may wish...

mehr als ein Jahr vor

Gelöst


Pad zero between every adjacent values of the vector.
you are given a vector x. you have to make an output vector y with zeros padded between every adjacent values of x. e.g x: ...

mehr als ein Jahr vor

Mehr laden