A résolu


Billiards
Considering there are 15 pool balls, (b), in the game of pool, and given a radius, (r). What is the volume, (V), of a rack in th...

environ 11 ans il y a

A résolu


Drying sweater?
* A sweater is revolving in a slow low power dryer and losing moisture at any moment at the constant rate 100% of its current mo...

environ 11 ans il y a

A résolu


Cycling — Normalized Power
In cycling, a power meter is an indispensable tool to record power output (in Watts) and measure fitness gains and performance m...

environ 11 ans il y a

A résolu


Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...

environ 11 ans il y a

A résolu


Narcissistic problem
How many likes has this problem?

environ 11 ans il y a

A résolu


Apply a function array to an array of numbers
It is required to apply a cell array of functions to a numerical array, where the functions accept only scalar inputs. Exampl...

environ 11 ans il y a

A résolu


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

environ 11 ans il y a

A résolu


Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

environ 11 ans il y a

A résolu


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match ( <http://en.wikipedia.org/wik...

environ 11 ans il y a

A résolu


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

environ 11 ans il y a

A résolu


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

environ 11 ans il y a

A résolu


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

environ 11 ans il y a

A résolu


Sum Even Numbers
Given a number x, make the summation of all the even until x. For instance, x = 7, so y = 2+4+6 = 12 * x = [3] * y = 2 * ...

environ 11 ans il y a

A résolu


Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

environ 11 ans il y a

A résolu


Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

environ 11 ans il y a

A résolu


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

environ 11 ans il y a

A résolu


speech compression
sir how to reconstruct the original signal from compressed signal by using speech file please give me some suggestions

environ 11 ans il y a

A résolu


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

environ 11 ans il y a

A résolu


Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...

environ 11 ans il y a

A résolu


Grandpa's telescope
Two grandkids Dorothy and Benjamin are sharing a telescope made by their grandpa, who used an old lens of spectacles as the obje...

environ 11 ans il y a

A résolu


Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small fu...

environ 11 ans il y a

A résolu


Function call in expression: Reduced pricing.
Write a single statement that assigns cartTotal with the discounted cost of items 1 and 2. Function DiscountedPrice will return ...

environ 11 ans il y a

A résolu


Multi-line comments
* Fix the syntax errors.

environ 11 ans il y a

A résolu


Comments
* Fix the syntax errors.

environ 11 ans il y a

A résolu


Logic variables
* Assign isAvailable with true.

environ 11 ans il y a

A résolu


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

environ 11 ans il y a

A résolu


Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

environ 11 ans il y a

A résolu


Declaring a character
* Assign middleInitial with the character T.

environ 11 ans il y a

A résolu


Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

Charger plus