解決済み


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

10ヶ月 前

解決済み


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

10ヶ月 前

解決済み


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

10ヶ月 前

解決済み


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

10ヶ月 前

解決済み


Missing Number (arithmetic progression)
Given a list of integers forming an arithmetic progression (where the difference between consecutive elements is constant), your...

10ヶ月 前

解決済み


Instructions Following
Complete the function follow(s) which, for a given string (containing only the letters 'f', 'b', 'l', 'r'), calculates the final...

10ヶ月 前

解決済み


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

10ヶ月 前

解決済み


Find the Pattern 10

10ヶ月 前

解決済み


Find the Pattern 9

10ヶ月 前

解決済み


Find the Pattern 8

10ヶ月 前

解決済み


Find the Pattern 7

10ヶ月 前

解決済み


Find the Pattern 6

10ヶ月 前

解決済み


Find the Pattern 5

10ヶ月 前

解決済み


Find the Pattern 4

10ヶ月 前

解決済み


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

10ヶ月 前

解決済み


Make a rainbow matrix (follow-up to checkerboard matrix)
Given an integer n, make an n-by-n matrix as shown below. The a(1,1) should be 0. As we move away from the top-left, the number ...

10ヶ月 前

解決済み


Vandermonde Matrix
Create the Vandermonde Matrix of the given vector. The matrix consists of columns as powers of the vector, so the first column i...

10ヶ月 前

解決済み


Tent matrix
Create an n x n matrix that resembles one kind of tent. The variable n is provided to the function and will be an odd number. As...

10ヶ月 前

解決済み


create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

10ヶ月 前

解決済み


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

10ヶ月 前

解決済み


Form a square matrix from four square sub-matrices
Create a square matrix, y, from 4 square sub-matrices that will be constructed (x1, x2, x3, x4): y = [x1 x2; x3 x4]; ...

10ヶ月 前

解決済み


Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally. You function will return *true* for |[1,2,1]| or |[2,7,2;...

10ヶ月 前

解決済み


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

10ヶ月 前

解決済み


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

10ヶ月 前

解決済み


System of Linear Equations

10ヶ月 前

解決済み


Find the area between curves (P2)

10ヶ月 前

解決済み


Find the area between curves (P3)

10ヶ月 前

解決済み


Find the area between curves (P1)

10ヶ月 前

解決済み


Find the Pattern 3

10ヶ月 前

解決済み


Find the Pattern 2

10ヶ月 前

さらに読み込む