Einsteinium-253 decay
Radioactive Einsteinium-253 has a half-life of 1,768,608 seconds.
Given 1000mg of Einsteinium-253 at t=0 days, how
much is lef...
Count the Even Digits in a Number
Given a positive integer n, write a function that returns how many digits of n are even.
Even digits are: 0, 2, 4, 6, 8
5ヶ月 前
解決済み
Invert a 3D rotation matrix
Given a 3D rotation matrix, belonging to the matrix group SO(3), compute its inverse without using the functions inv() or pinv()...
5ヶ月 前
解決済み
Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.
5ヶ月 前
解決済み
Linearly Spaced Array
Create a linearly spaced array from 0 to x consisting of y elements.
Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...
Repeat string n times
You will be provided a string (s = 'string1_')
a starting point (num1 = 6) (always bigger than or equal to zero)
and n (n = 3)...
5ヶ月 前
解決済み
Return the Square of a Number
Write a function that takes a single numeric input x and returns its square.
That is, given x, your function should output x^2....
5ヶ月 前
解決済み
Square area to triangle area
Given the area, A, of a square with side length, c, if a right angle triangle has the same area A and the hypothenuse length 2c ...