Solved


Create tangent function out of cosine only
Please don't use tangent and sine functions

meer dan 7 jaar ago

Solved


Create tangent function out of sine function only
Please don't use cosine and tangent functions

meer dan 7 jaar ago

Solved


Create sine function out of cosine
Please don't use sin(x) directly

meer dan 7 jaar ago

Solved


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

meer dan 7 jaar ago

Solved


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

meer dan 7 jaar ago

Solved


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

meer dan 7 jaar ago

Solved


Narcissistic problem
How many likes has this problem?

meer dan 7 jaar ago

Solved


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

meer dan 7 jaar ago

Solved


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

meer dan 7 jaar ago

Solved


Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

meer dan 7 jaar ago

Solved


Create cosine function out of sine
Please dont use cos(x) directly

meer dan 7 jaar ago

Solved


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

meer dan 7 jaar 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...

meer dan 7 jaar ago

Solved


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

meer dan 7 jaar ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

meer dan 7 jaar ago

Solved


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

meer dan 7 jaar ago

Solved


Return area of square
Side of square=input=a Area=output=b

meer dan 7 jaar ago

Solved


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

meer dan 7 jaar ago

Solved


kmph to mps
convert kilometer per hour to meter per second

meer dan 7 jaar ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

meer dan 7 jaar ago

Solved


only input
Return the output without writing any code into the function.

meer dan 7 jaar ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

meer dan 7 jaar ago

Solved


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

meer dan 7 jaar ago

Solved


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

meer dan 7 jaar ago

Solved


Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

meer dan 7 jaar ago

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

meer dan 7 jaar ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

meer dan 7 jaar ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

meer dan 7 jaar ago

Solved


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

meer dan 7 jaar 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];

meer dan 7 jaar ago

Load more