Professional Interests: Acoustics
Top 1% contributor
1 year ago
2 years ago
A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
3 years ago
Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice.
The Soroban is the name of the modern Japanese abacus. Information on reading a Soroban can be found <http://we...
Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...
Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...
This is a multi-dimensional variant of the normal multiplication table used to teach elementary students multi...
find largest 2 digit prime number
23 days ago
The row array movieBoxOffice stores the amount of money a movie makes (in millions of $) for the 7 days of a week, starting with...
Assign treeHeight with the tree height given the shadow length and angle of elevation.
Simple geometry can compute the heigh...
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10
* Delete the last element of row array printQueue.
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?;
x = [1 : 0.5 : 6];
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n.
If n = 3
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound
Given a football by the Patriots, return it to them with 2 psi less air in it.
(The original psi is passed as a number to the...
The task is to multiply two numbers. But do it in the most peculiar possible way.
Given two input vectors, return the element-by-element product.
A = [1 2 3]
B = [7 3 1]
The answer should be...
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...
What is the sum of the following sequence:
Σ(2k-1)^3 for k=1...n
for different n?
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight. The function returns pyramidVolum...
Row array userGuess contains a sequence of user guesses. Create a logical indexing array correctGuess with true in each location...
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue.
Ex: If lowValue is 1 and ...
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...
Given a box with a length a, width b, and height c. Solve the volume of the box.
Square a number
x is a vector of undetermined length
You are to replace every 3rd element with the number 4, example:
x = [11 23 34 43 2 3...
Join the conversation