Solved


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

1 year ago

Solved


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

1 year 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...

1 year ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

1 year ago

Solved


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

1 year ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

1 year ago

Solved


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

1 year ago

Solved


factorial_calc(n)
Write a MATLAB function called factorial_calc(n) that takes a positive integer n as input and calculates the factorial of n. The...

1 year ago

Solved


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

1 year ago

Solved


factorial
calculate x!

1 year ago

Solved


kmph to mps
convert kilometer per hour to meter per second

1 year ago

Solved


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

1 year ago

Solved


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

1 year ago

Solved


10% Discount

1 year ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

1 year ago

Solved


Interior angles
Find the sum of interior angles for polygon of x sides.

1 year ago

Solved


Square root of number
Square root of given number.

1 year ago

Solved


Replace Nan!
Replace Nan in the given vector(v) with 9999.

1 year ago

Solved


Compare two strings.
Compare two strings, whether they are equal or not.

1 year ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

1 year ago

Solved


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

1 year ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

1 year ago

Solved


Factorial

1 year ago

Solved


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

1 year ago

Solved


Do you have the minimum age?

1 year ago

Solved


Compound Interest : Compounding Periods
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

1 year ago

Solved


Compound Interest: Interest Rate
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

1 year ago

Load more