Community Profile

# Shrinivas Sureban

##### Last seen: 2 months ago
39 total contributions since 2020

View details...

Contributions in
View by

Solved

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

2 months ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

2 months ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

2 months ago

Solved

Return area of square
Side of square=input=a Area=output=b

2 months ago

Solved

find

2 months ago

Solved

find

2 months ago

Solved

find

2 months ago

Solved

find

2 months ago

Solved

find

2 months ago

Solved

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

2 months ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

2 months ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

2 months ago

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

2 months ago

Solved

Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

2 months ago

Solved

Reverse a matrix
Its simple. You have to reverse a given matrix.

2 months ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

2 months ago

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

2 months ago

Solved

find

2 months ago

Solved

find

2 months ago

Solved

What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

2 months ago

Solved

Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

2 months ago

Solved

2 months ago

Solved

sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

2 months ago

Solved

Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

2 months ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

2 months ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

2 months ago

Solved

Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

2 months ago

Solved

find

2 months ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

2 months ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 months ago