Solved


kmph to mps
convert kilometer per hour to meter per second

2 years ago

Solved


Temperature Conversion 2

2 years ago

Solved


Total energy

2 years ago

Solved


Kinetic energy calculation

2 years ago

Solved


Laws of motion 5

2 years ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

2 years ago

Solved


Laws of motion 2

2 years ago

Solved


Laws of motion 1

2 years ago

Solved


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

2 years ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

2 years ago

Solved


Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...

2 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2 years ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2 years ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

2 years ago

Solved


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

2 years ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

2 years ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

2 years ago

Solved


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

2 years ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

2 years ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

2 years ago

Solved


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

2 years ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

2 years ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

2 years ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

2 years ago

Solved


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

2 years ago

Solved


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

2 years ago

Load more