Risolto


Get twenty-four
Inpur four integers in 1 to 10, you may use plus, minus, multiply and divid to get 24. Note that every integer should be used on...

oltre 4 anni fa

Risolto


RandomProblem32
Solve for the answer

oltre 4 anni fa

Risolto


RandomProblem33
Solve for the answer.

oltre 4 anni fa

Risolto


Random Problem12- Squaring a number
Square the number

oltre 4 anni fa

Risolto


RandomProblem13-Cube a number
Cube a number

oltre 4 anni fa

Risolto


Fill a rectangle with 1x1 and 2x2 tiles
A 3x2 rectangle can be filled with 1x1 and 2x2 tiles in three ways: The colors merely distinguish the sizes of the tiles. A 3...

oltre 4 anni fa

Risolto


Palindrome Problem 1
Continued Problem 50033: A palindrome is one-thirteenth of the sum of and , where and are also palindrome. Give an example o...

oltre 4 anni fa

Risolto


Multiply by 3
Multipy the thingy by 3

oltre 4 anni fa

Risolto


Square Rooting a Number
This MATLAB Cody exercise requires you to take a number x, square root it, and get y

oltre 4 anni fa

Risolto


prime consecutive sums
Create a number sequence of 1 to n, such that the sums of every two consecutive numbers are all primes. E.g. if n = 5, you may ...

oltre 4 anni fa

Risolto


N-th Digit of all Write-Down Numbers
Write-Down Numbers are: 123456789101112131415161718192021222324252627282930... What is the N'th digit (where N is represented a...

oltre 4 anni fa

Risolto


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

oltre 4 anni fa

Risolto


n-th digit of write-down all numbers
Write down number as 123456789101112131415161718192021222324252627282930... what's the n-th digit? input n and get the digit.

oltre 4 anni fa

Risolto


add one to x

oltre 4 anni fa

Risolto


Concatenate input positive integers to obtain a maximum.
Input some integers, you need to concatenate them to obtain a maximum integer. Neither use library function "perms" to list all ...

oltre 4 anni fa

Risolto


Solve the picross! (Hard)
Solve the picross! http://en.wikipedia.org/wiki/Nonogram The arguments (horz and vert) are cells containing the clues, e.g...

oltre 4 anni fa

Risolto


Return factorial of input n
example : input :n=4 output=24

oltre 4 anni fa

Risolto


Determine Poker Hand Winner
Determine the poker hand winner from two hands of cards (each hand will contain the same number of cards between five and thirte...

oltre 4 anni fa

Risolto


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

oltre 4 anni fa

Risolto


FIND SUM
Given x,y . Find Sum

oltre 4 anni fa

Risolto


Calculate the volume of the sphere
Given radius r, calculate the volume of the sphere . Round to 2nd decimal place ex : input : r = 4 output : V = 268.08...

oltre 4 anni fa

Risolto


Draw "T" inside a Zero Matrix
Given a x-by-x matrix filled with zeros (x> 2). Use 1 to draw a letter "T" into it! Like this: x = 5, y = 1 1 1 1 1 0 0 1 0 0...

oltre 4 anni fa

Risolto


Draw "C" in a zero matrix
Given a x-by-x matrix filled with zeros (x> 4). Use 1 to draw a letter C into it! Like this: x = 5, y = 1 1 1 1 1 1 0 0 0 0 ...

oltre 4 anni fa

Risolto


Create the Ulam spiral
Have you ever seen this wonderful spiral ? The Ulam Spiral is arranging prime numbers in a clockwise spiral starting in 0. Give...

oltre 4 anni fa

Risolto


Check if a matrix Diagonal is equal to its secondary diagonal
Your function should return True if the secondary diagonal is equal to diagonal, and False otherwise. Eg: M = [1 2 1 ...

oltre 4 anni fa

Risolto


Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.

oltre 4 anni fa

Risolto


Create a vector of equally spaced numbers
A starting element a and ending element b is provided. You need to devise a solution to create a vector that has equally spaced ...

oltre 4 anni fa

Risolto


Equally spaced vector
Create a vector consisting of equally spaced numbers. Provide arguements for your function 'equal_vectors(a,b,N)' where a is the...

oltre 4 anni fa

Risolto


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

oltre 4 anni fa

Carica altro