Community Profile

# Luke Ariola

69 total contributions since 2018

View details...

Contributions in
View by

Solved

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

environ un an ago

Solved

Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

environ un an ago

Solved

Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

environ un an ago

Solved

The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

environ un an ago

Solved

Is My Wife Wrong?

environ un an ago

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

environ un an ago

Solved

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

environ un an ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

environ un an ago

Solved

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

environ un an ago

Solved

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

environ un an 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...

environ un an ago

Solved

only input
Return the output without writing any code into the function.

environ un an ago

Solved

Rounding
Round 10.67 and make 'y' equal to that number.

environ un an ago

Solved

reverse string
input='rama' output='amar'

environ un an ago

Solved

Will there be a new leader?

environ un an ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

environ un an ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

environ un an ago

Solved

Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

environ un an ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

environ un an ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

environ un an ago

Solved

Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

environ un an ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

environ un an 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 ...

environ un an ago

Solved

Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

environ un an ago

Solved

How do you make seven even?
Take away the s.

environ un an ago

Solved

environ un an ago

Solved

Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

environ un an ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

environ un an ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

environ un an 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".

environ un an ago