Community Profile # Deb Singdeo

Last seen: 6 jours ago Active since 2019

#### Statistics

All
• • • • #### Content Feed

View by

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 mois ago

Solved

calculate the length of matrix
input 1 array, calculate the length

environ un an ago

Solved

First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

environ un an ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ un an ago

Solved

Find the max element of the array
Find the max element of the array

environ un an ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

environ un an ago

Solved

Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

environ un an ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

environ un an ago

Solved

Problem for beginners
Suppose that x is a column vector, with at least a length of 6. Delete the 2., 6., and the second last row. Example: X=[1;2;3...

plus de 2 ans ago

Solved

Box
Give the volume of a box, x is equal to the body diagonal.

plus de 2 ans ago

Solved

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

plus de 2 ans ago

Solved

Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

plus de 2 ans ago

Solved

Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

plus de 2 ans ago

Solved

Square
X is a number, write a code, where Y should be the square of X.

plus de 2 ans ago

Solved

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

plus de 2 ans ago