A résolu


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

plus de 5 ans il y a

A résolu


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

plus de 5 ans il y a

A résolu


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

plus de 5 ans il y a

A résolu


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

plus de 5 ans il y a

A résolu


lb to kilogram
convert lb to kilogram units, easy

plus de 5 ans il y a

A résolu


Divide pi
Divide pi by x!

plus de 5 ans il y a

A résolu


Ounces to Kilograms
convert ounces to kilograms, easy

plus de 5 ans il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus de 5 ans il y a

A résolu


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

plus de 5 ans il y a

A résolu


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus de 5 ans il y a

A résolu


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

plus de 5 ans il y a

A résolu


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

plus de 5 ans il y a

A résolu


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Multiply pi
Multiply pi with x!

plus de 5 ans il y a

A résolu


Hydrostatic Pressure
Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2...

plus de 5 ans il y a

A résolu


Degrees to Radian
Convert degrees to radians

plus de 5 ans il y a

A résolu


Radians to Degrees
Convert radians to degrees.

plus de 5 ans il y a

A résolu


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

plus de 5 ans il y a

A résolu


Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

plus de 5 ans il y a

A résolu


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

plus de 5 ans il y a

A résolu


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

plus de 5 ans il y a

A résolu


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

plus de 5 ans il y a

A résolu


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

plus de 5 ans il y a

A résolu


Add two numbers
Add two numbers (For beginners)

plus de 5 ans il y a

A résolu


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

plus de 5 ans il y a

A résolu


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

plus de 5 ans il y a

A résolu


determine amount cookies left
started with 3 cookies and you never ate any how many are left

plus de 5 ans il y a

A résolu


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

plus de 5 ans il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

plus de 5 ans il y a

Charger plus