Gelöst


Voltage in a lamp
A lamp is measured to have a resistance of R ohms when it operates at a power of P Watts. What is the voltage (in volts) being a...

fast 3 Jahre vor

Gelöst


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

fast 3 Jahre vor

Gelöst


Kinetic energy calculation

fast 3 Jahre vor

Gelöst


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

fast 3 Jahre vor

Gelöst


Laws of motion 6

fast 3 Jahre vor

Gelöst


Laws of motion 5

fast 3 Jahre vor

Gelöst


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

fast 3 Jahre vor

Gelöst


Laws of motion 3

fast 3 Jahre vor

Gelöst


Laws of motion 2

fast 3 Jahre vor

Gelöst


Laws of motion 1

fast 3 Jahre vor

Gelöst


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

fast 3 Jahre vor

Gelöst


does it touch ?
given a sentence, tell how much it touches. input : string output : how much it touches touching : a bilabial phoneme d...

fast 3 Jahre vor

Gelöst


Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...

fast 3 Jahre vor

Gelöst


Make a "better" checkerboard matrix
This problem seeks to expand the task in Cody Problem 4 by allowing for the creation of checkerboard matrices that can be rectan...

fast 3 Jahre vor

Gelöst


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

fast 3 Jahre vor

Gelöst


sum of 2 numbers
solve the problem by adding 2 numbers together

fast 3 Jahre vor

Gelöst


Pascal's pyramid
In Pascal's triangle each number is the sum of the two nearest numbers in the line above: 1 1 1 ...

fast 3 Jahre vor

Gelöst


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

fast 3 Jahre vor

Gelöst


Find Logic 21

fast 3 Jahre vor

Gelöst


Calculate the sum of first x natural numbers
Calculate the sum of first x natural numbers for example if n=10 output =1+2+..+10=55

fast 3 Jahre vor

Gelöst


Convert row and column subscripts to linear indices
Convert 2D row and column subscripts to linear indices WITHOUT sub2ind Example: row = [1 2 3 1]; col = [2 2 2 3]; sz = [3 3]...

fast 3 Jahre vor

Gelöst


Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

fast 3 Jahre vor

Gelöst


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

fast 3 Jahre vor

Gelöst


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

fast 3 Jahre vor

Gelöst


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

fast 3 Jahre vor

Gelöst


2行2列の行列の行列式を求めてみよう
ある2行2列の行列の入力に対して、行列式を出力してください。 例えば、入力が(1,2; 3,4)のとき、出力は1*4-3*2で-2となります。

fast 3 Jahre vor

Gelöst


Find collatz series next number
For given x, if x is even, output is (x/2) if x is odd, output is (3x+1)

fast 3 Jahre vor

Gelöst


Check for armstrong number
Given a number, check if it is an armstrong number. Eg: n = 371 Output: 1 Eg: n = 75 Output: 0

fast 3 Jahre vor

Gelöst


findPositiveEvenNumbers
Write a MATLAB function findPositiveEvenNumbers that takes an array of integers as input and returns a new array containing only...

fast 3 Jahre vor

Gelöst


Find the volume of a cube
Given a cube with edge length x, calculated the volume of the cube.

fast 3 Jahre vor

Mehr laden