Statistics
0 Problems
90 Solutions
RANK
N/A
of 298 350
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20 571
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...
mer än 8 år ago
Solved
Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.
mer än 8 år ago
Solved
Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.
mer än 8 år ago
Solved
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
mer än 8 år 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
mer än 8 år ago
Solved
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
mer än 8 år ago
Solved
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
mer än 8 år ago
Solved
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
mer än 8 år ago
Solved
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
mer än 8 år 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];
mer än 8 år ago
Solved
Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14
mer än 8 år ago
Solved
Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...
mer än 8 år ago
Solved
give nth decimal place of pi
max 15th place after the decimal point is ok for now
mer än 8 år ago
Solved
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 ...
mer än 8 år ago
Solved
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!
mer än 8 år ago
Solved
Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.
mer än 8 år ago
Solved
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
mer än 8 år ago
Solved
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
mer än 8 år ago
Solved
Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...
mer än 8 år ago
Solved
Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.
mer än 8 år ago
Solved
grazing cows
Here is a fun problem I encountered in high school. Two cows are grazing in an enclosed square-shaped field of side length s ...
mer än 8 år ago
Solved
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
mer än 8 år ago
Solved
find the Area of a rectangle
length is x width is y what is the area of the rectangle?
mer än 8 år ago
Solved
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
mer än 8 år ago
Solved
Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.
mer än 8 år ago
Solved
Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.
mer än 8 år ago
Solved
Kaprekar numbers
Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...
mer än 8 år ago