Community Profile # thirusabaresaan p

Active since 2021

#### Statistics

All
• • • • • • • #### Content Feed

View by

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

2 Monate ago

Solved

Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

2 Monate ago

Solved

Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

2 Monate ago

Solved

Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

2 Monate ago

Solved

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

2 Monate ago

Solved

Product of elements in row
Product of matrix such that a=[3 3 1] b=9

2 Monate ago

Solved

y equals x divided by 2
function y = x/2

2 Monate ago

Solved

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

2 Monate ago

Solved

Multiply pi
Multiply pi with x!

2 Monate ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

2 Monate ago

Solved

Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

2 Monate ago

Solved

Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

2 Monate ago

Solved

Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

2 Monate ago

Solved

Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

2 Monate ago

Solved

Product of Array
Given an array of numbers. Get the product of the array.

2 Monate ago

Solved

2 Monate ago

Solved

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

2 Monate ago

Solved

find the value

2 Monate ago

Solved

2 Monate ago

Solved

Max of a Vector
Write a function to return the max of a vector

2 Monate ago

Solved

2 Monate ago

Solved

2 Monate ago

Solved

Volume of a sphere

2 Monate ago

Solved

Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

2 Monate ago

Solved

Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

2 Monate ago

Solved

area

2 Monate ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

2 Monate ago

Solved

metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

2 Monate ago

Solved

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

2 Monate ago

Solved

kmph to mps
convert kilometer per hour to meter per second

2 Monate ago