Feeds
已解决
Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)
1 year 前
已解决
Help the Patriots get to the Super Bowl
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...
1 year 前
已解决
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
1 year 前
已解决
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
1 year 前
已解决
Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...
1 year 前
已解决
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
1 year 前
已解决
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
1 year 前
已解决
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
1 year 前
已解决
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
1 year 前
已解决
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
1 year 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
1 year 前
已解决
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
1 year 前
已解决
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
1 year 前
已解决
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
1 year 前
已解决
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 ...
1 year 前
已解决
Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...
1 year 前
已解决
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
1 year 前
已解决
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
1 year 前


