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 = ...

etwa 2 Jahre 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...

etwa 2 Jahre 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...

etwa 2 Jahre 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:*...

etwa 2 Jahre ago

Solved

Is My Wife Wrong?

etwa 2 Jahre 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 ...

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre 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...

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

Will there be a new leader?

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre 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...

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre 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...

etwa 2 Jahre 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];

etwa 2 Jahre 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 ...

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre ago

Solved

etwa 2 Jahre 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...

etwa 2 Jahre 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 ...

etwa 2 Jahre ago

Solved

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

etwa 2 Jahre 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".

etwa 2 Jahre ago