Gelöst


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

fast 9 Jahre vor

Gelöst


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

fast 9 Jahre vor

Gelöst


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

fast 9 Jahre vor

Gelöst


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

fast 9 Jahre vor

Gelöst


what is the mass of a 50 N object
what is the mass of a 50 N object

fast 9 Jahre vor

Gelöst


convert the given mass in grams to kilo grams
convert the given mass in grams to kilo grams

fast 9 Jahre vor

Gelöst


convert 10 minutes to seconds
1 minute has 60 seconds

fast 9 Jahre vor

Gelöst


convert 60 seconds to one minute
1 minute and 60 seconds

fast 9 Jahre vor

Gelöst


output a 1
output a 1

fast 9 Jahre vor

Gelöst


make the number a multiple of 5
multiply by 5

fast 9 Jahre vor

Gelöst


make the number a negative even number
make the number a negative even number

fast 9 Jahre vor

Gelöst


add 7
+7

fast 9 Jahre vor

Gelöst


find the distance if the car is going at a speed of 20 m/s in 10 seconds
find the distance if the car is going at a speed of 20 m/s in 10 seconds

fast 9 Jahre vor

Gelöst


add 5 and divide by 10
add 5 and divide by 10

fast 9 Jahre vor

Gelöst


what is the speed of the car if the car travelled 10m in 5 seconds
what is the speed of the car if the car travelled 10m in 5 seconds

fast 9 Jahre vor

Gelöst


add 4
add 4

fast 9 Jahre vor

Gelöst


what is sin of 0
what is sin of 0

fast 9 Jahre vor

Gelöst


what is sin of 0
what is sin of 0

fast 9 Jahre vor

Gelöst


what is the weight of a 5 kg mass
what is the weight of a 5 kg mass

fast 9 Jahre vor

Gelöst


what is the cosine of pi
what is the cosine of pi

fast 9 Jahre vor

Gelöst


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

fast 9 Jahre vor

Gelöst


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

fast 9 Jahre vor

Gelöst


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

fast 9 Jahre vor

Gelöst


give nth decimal place of pi
max 15th place after the decimal point is ok for now

fast 9 Jahre vor

Gelöst


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

fast 9 Jahre vor

Gelöst


Even or Odd
Write a function witch can give us an answer if this a value given x is odd or even, if x is even return true and if x is odd re...

fast 9 Jahre vor

Problem


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

fast 9 Jahre vor | 2 | 107 Lösungsvorschläge

Gelöst


Sum the elements in either diagonal of a square matrix
Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal.

fast 9 Jahre vor

Gelöst


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

fast 9 Jahre vor

Gelöst


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

fast 9 Jahre vor

Mehr laden