Solved


Spherical Volume
Calculate the volume of a sphere.

10 months ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

10 months ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

10 months ago

Solved


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

10 months ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

10 months ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

10 months ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

10 months ago

Solved


Multiply pi
Multiply pi with x!

10 months ago

Solved


Mile to Kilometer
x is mile and y is km

10 months ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

10 months ago

Solved


cube of number
find cube of number

10 months ago

Solved


print 'Hello W0rld'

10 months ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

10 months ago

Solved


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

10 months ago

Solved


Create tangent function out of sin and cos
Please don't use tan(x) directly

10 months ago

Solved


easy problem
Find the last element of the array

10 months ago

Solved


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

10 months ago

Solved


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

10 months ago

Solved


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

10 months ago

Solved


Circle : Square

10 months ago

Solved


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

10 months ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

10 months ago

Solved


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

10 months ago

Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

10 months ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

10 months ago

Solved


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

10 months ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

10 months ago

Solved


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

10 months ago

Solved


Potential energy calculation

10 months ago

Solved


Kinetic energy calculation

10 months ago

Load more