A résolu


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus de 3 ans il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Temperature Conversion 1

plus de 3 ans il y a

A résolu


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

plus de 3 ans il y a

A résolu


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Multiply pi
Multiply pi with x!

plus de 3 ans il y a

A résolu


raise 1/3
Raise a number to 1/3 power.

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


add 5
add 5 to x in order to equal y

plus de 3 ans il y a

A résolu


force y to equal 1
no matter what x is, y should be 1

plus de 3 ans il y a

A résolu


multiply by zero
multiply x by zero, the answer should be zero

plus de 3 ans il y a

A résolu


subtract 1
subtract 1 from x

plus de 3 ans il y a

A résolu


multiply by 5
multiply x by 5

plus de 3 ans il y a

A résolu


multiply by 12
multiply x by 12

plus de 3 ans il y a

A résolu


add 6
add 6

plus de 3 ans il y a

A résolu


add 10
add 10 to x to equal y

plus de 3 ans il y a

A résolu


Calculate the volume of the football

plus de 3 ans il y a

A résolu


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

plus de 3 ans il y a

A résolu


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

plus de 3 ans il y a

A résolu


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

plus de 3 ans il y a

A résolu


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

plus de 3 ans il y a

A résolu


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

plus de 3 ans il y a

A résolu


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

plus de 3 ans il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

plus de 3 ans il y a

A résolu


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

plus de 3 ans il y a

A résolu


Find max
Find the maximum value of a given vector or matrix.

plus de 3 ans il y a

Charger plus