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


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

2 years ago

Solved


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

2 years 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...

2 years ago

Solved


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

2 years ago

Solved


factorial
calculate x!

2 years ago

Solved


kmph to mps
convert kilometer per hour to meter per second

2 years 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

2 years ago

Solved


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

2 years ago

Solved


10% Discount

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


Square root of number
Square root of given number.

2 years ago

Solved


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

2 years ago

Solved


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

2 years 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

2 years 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).

2 years ago

Solved


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

2 years ago

Solved


Factorial

2 years ago

Solved


Half the length of the vector

2 years 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 ...

2 years ago

Solved


Do you have the minimum age?

2 years 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 :...

2 years 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 :...

2 years ago

Load more