Solved


Air Density from Temperature and Pressure
The density of air can be estimated from the product of molar mass and molar density: Write a function that finds the densi...

9 months ago

Solved


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

9 months ago

Solved


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

9 months ago

Solved


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

9 months ago

Solved


Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

9 months ago

Solved


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

9 months ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

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

9 months ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

9 months 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];

9 months ago

Solved


How to multiply?
Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, and competing for the highly prestigious post of...

9 months ago

Solved


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

9 months ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

9 months ago

Solved


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

9 months ago

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

9 months ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

9 months ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

9 months ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

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

9 months ago

Solved


Energy Conversion 2

9 months ago

Solved


Energy Conversion 1

9 months ago

Solved


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

9 months ago

Solved


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

9 months ago

Solved


Temperature Conversion 2

9 months ago

Solved


Temperature Conversion 1

9 months ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

9 months ago

Solved


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

9 months ago

Solved


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

9 months ago

Solved


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

9 months ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

9 months ago

Load more