Community Profile

photo

Matthew Brown


Draper Laboratory

Actif depuis 2014

Statistiques

  • Quiz Master
  • Commenter
  • Speed Demon
  • Creator
  • Promoter
  • Solver

Afficher les badges

Content Feed

Afficher par

A résolu


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

presque 7 ans il y a

A résolu


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

presque 7 ans il y a

A résolu


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

presque 7 ans il y a

A résolu


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

presque 7 ans il y a

A résolu


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

presque 7 ans il y a

A résolu


raise 1/3
raise 1/3

presque 7 ans il y a

A résolu


what is the speed of the car if the car travelled 10m in 5 seconds
what is the speed of the car if the car travelled 10m in 5 seconds

presque 7 ans il y a

A résolu


what is the cosine of pi
what is the cosine of pi

presque 7 ans il y a

A résolu


what is sin of 0
what is sin of 0

presque 7 ans il y a

A résolu


Area of square
find the area of the square, whose length of diagonal is given as x.

presque 7 ans il y a

A résolu


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

presque 7 ans il y a

A résolu


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

presque 7 ans il y a

A résolu


Function definition: Volume of a pyramid
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight. The function returns pyramidVolum...

presque 9 ans il y a

A résolu


the function, the box of boxer briefs, being twice the amount being manufactured twice as much x
return y as the function multiplied by x twice

presque 9 ans il y a

A résolu


Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...

presque 9 ans il y a

A résolu


Function definition: Double down.
* Complete the DoubleDown function to return twice the initialValue.

presque 9 ans il y a

A résolu


Dare to solve this
Find square of any number

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


increase the number by 7
You need to increase any given digit by 7

presque 9 ans il y a

A résolu


Add 8 to given num
add 8 to given number

presque 9 ans il y a

A résolu


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

presque 9 ans il y a

A résolu


equate
equate y to x

presque 9 ans il y a

A résolu


trignometric function
calculate sinx ,if you are given with tanx

presque 9 ans il y a

A résolu


calculate accleration
Cal accleration for given time and distance

presque 9 ans il y a

A résolu


calculate hyponetuse
If x,y,z are 3 sides Z being largest

presque 9 ans il y a

Charger plus