Solved

factorial
There are really some cody problems related to factorial of n, e.g., 42667, 45184, 46054, and etc. It is interesting to ask why ...

13 jours ago

Solved

what is a one mile in km?
one mile = 1.61 km

13 jours ago

Solved

find the dot product of x*x
x = [2]

13 jours ago

Solved

find the hypotenuse of triangle
a = 1 b = 2 c = ?

13 jours ago

Solved

find y = a/b
a/b are numbers

13 jours ago

Solved

Find the minimum of the vector....
v = [ 1 2 3]

13 jours ago

Solved

what is the sum of 1,2,3,4,5,6

13 jours ago

Solved

2+2

15 jours ago

Solved

Convert grams of Carbon to Moles
Stoichiometry...fun!

15 jours ago

Solved

Use a timetable to analyze a train timetable (Part 1)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Th...

16 jours ago

Solved

Compute a determinant
Write a function to compute the determinant of an x matrix with diagonal entries equal to an integer and other entries equal ...

16 jours ago

Solved

Find the circumference of the circle
geometry

17 jours ago

Solved

Find the circumference of the circle
Geometry

17 jours ago

Solved

Find the area of the circle
geometry

17 jours ago

Solved

three digits
Input three digits no larger than 4，say 1,2 and 3, write the possible largest number composed（concatenation and power） only by t...

17 jours ago

Solved

That's not my hat!
There exists a highly secretive hat consortium. Members possess identical hats. The members are invited to a meeting. All of the...

18 jours ago

Solved

Define the higher order function - foldl
Given a binary function f, a starting value a, and a list (row vector) xs of values, the higher order function foldl folds the f...

18 jours ago

Solved

Random Problem14 - Multiply a vector by a scalar of 2
Multiply a vector by a scalar of 2

19 jours ago

Solved

Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...

19 jours ago

Solved

Determine whether the given number is palindrome or not.
A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the s...

19 jours ago

Solved

String Manipulator
Write a script that takes a string as an input and returns a cell array containing – I. the count of vowels. II. Find the ind...

22 jours ago

Solved

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...

24 jours ago

Solved

RandomProblem32

24 jours ago

Solved

RandomProblem33

24 jours ago

Solved

Random Problem12- Squaring a number
Square the number

24 jours ago

Solved

RandomProblem13-Cube a number
Cube a number

24 jours ago

Solved

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...

24 jours ago

Solved

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...

26 jours ago

Solved

Multiply by 3
Multipy the thingy by 3

26 jours ago

Solved

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

28 jours ago