Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


calculate Compound Intrest
Calculate Compound Intrest for given data

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


factorial
calculate x!

alrededor de 2 años hace

Resuelto


kmph to mps
convert kilometer per hour to meter per second

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


10% Discount

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


Square root of number
Square root of given number.

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


Factorial

alrededor de 2 años hace

Resuelto


Find the second biggist number in a vector or a matrix

alrededor de 2 años hace

Resuelto


Half the length of the vector

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


Do you have the minimum age?

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Cargar más