A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


calculate Compound Intrest
Calculate Compound Intrest for given data

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


factorial
calculate x!

environ 2 ans il y a

A résolu


kmph to mps
convert kilometer per hour to meter per second

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


10% Discount

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Square root of number
Square root of given number.

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Factorial

environ 2 ans il y a

A résolu


Half the length of the vector

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Do you have the minimum age?

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

Charger plus