Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
約2ヶ月 前
解決済み
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
What day is it?
Tell me what day is it. Return the full name of the day of the week as a string.
e.g. It's June 12th 2014, so your function s...
約2ヶ月 前
解決済み
Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.
約2ヶ月 前
解決済み
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false.
Example...
Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...