Linearly Spaced Array
Create a linearly spaced array from 0 to x consisting of y elements.
5ヶ月 前
解決済み
CumulativeCumulative Count
This is a sequel to Problem #60994 - Cumulative Count.
Given a row vector of integers with repeating values - here not all re...
5ヶ月 前
解決済み
Mach Number Calculator
Create a solver which converts a speed in km/s to a Mach Number
Round to 2 decimal places
Requires:
Mach Number Formula (ea...
5ヶ月 前
解決済み
The Secret Code of Mars
NASA has intercepted a mysterious signal from Mars filled with random letters and numbers. Scientists believe each number in the...
5ヶ月 前
解決済み
Find the logic and return the nth number
given a sequence of numbers arranged in the following order:
A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,......
Write a function th...
5ヶ月 前
解決済み
No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...
5ヶ月 前
解決済み
The Five Infection (Boss Level)
Given a 3x3 matrix A, replace:
every value that is equal to five
every value that is directly adjacent to a five
with zero in...
5ヶ月 前
解決済み
Slicing a 4-pointed star polygon
Given the area, A, of a 4-pointed star polygon formed by the rectangle, with dimensions L×2L, and four triangles, with height h ...
A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.
5ヶ月 前
解決済み
Escape from Planet ....
Given a Planets mass M, and raduis r. Calculate the surface escape velocity and the escape velocity at height h.
and the diff...
5ヶ月 前
解決済み
Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...