Risolto


Digito das Dezenas
Dado um número inteiro n, retorne qual o digito referente ao digito das dezenas n = 250; digito = DigitoDezena(n); digito = 5...

oltre un anno fa

Risolto


CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

oltre un anno fa

Risolto


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

oltre un anno fa

Risolto


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

oltre un anno fa

Risolto


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

oltre un anno fa

Risolto


Slope intercept application
Find y given slope (m), x, and y intercept (b).

oltre un anno fa

Risolto


Squares inside a square!

oltre un anno fa

Risolto


Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

oltre un anno fa

Risolto


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

oltre un anno fa

Risolto


Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

oltre un anno fa

Risolto


Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

oltre un anno fa

Risolto


Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

oltre un anno fa

Risolto


Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

oltre un anno fa

Risolto


Three...is a magic number.
Yes it is... It's a magic number... To help you get rid of that earworm, here's a new Cody problem. You are given a squar...

oltre un anno fa

Risolto


remove single elements
Given a vector of integers, remove the elements that have appeared only once. The output elements should be in exact order as th...

oltre un anno fa

Risolto


How unique?
Sometimes, when we check unique entries of vector we would like to know how many times each value occurs. Given vector of num...

oltre un anno fa

Risolto


Largest territory
Determine whose territory is largest. If there are multiple numbers tied for the largest territory, return the smallest number. ...

oltre un anno fa

Risolto


Index of a Rational number
The set of real numbers are infinite. They are so many that real numbers can't even be enumerated. However, unlike real numbers ...

oltre un anno fa

Risolto


Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

oltre un anno fa

Risolto


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

oltre un anno fa

Risolto


Calculate supply voltage and total current
Three resistors are connected in series and each has a resistance in ohms. Resistor R2 has a voltage drop of ΔV2volts Find the ...

oltre un anno fa

Risolto


Resistance in a circuit
Two resistors with values of 6.0 ohms and 12 ohms are connected in parallel. This combination is connected in series with a 4 o...

oltre un anno fa

Risolto


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...

oltre un anno fa

Risolto


Resistance of a robot
What is the resistance of an industrial robot that draws P watts of power when connected to a power supply delivering V volts? R...

oltre un anno fa

Risolto


Basic Mathematics 8
A robot is extending its arm and attempting to reach a game piece that is X” away and Yg ” off the ground. The base of the arm i...

oltre un anno fa

Risolto


Basic Mathematics 2
If a 4’ x 8’ sheet of ½” plywood weighs W lbs and you cut an L” x L” robot base from this material, approximately how much weigh...

oltre un anno fa

Risolto


Basic Mathematics 1
If a robot is traveling on a north heading at v1 inches per second and has the ability to only make N degree changes in directio...

oltre un anno fa

Risolto


Linear Motion 7
A robot has a maximum rate of acceleration of a m/s2. If the robot starts from rest and reaches a velocity of v2 m/s. How far ha...

oltre un anno fa

Risolto


Linear Motion 5
A robot moving down an incline for 3 seconds undergoes a uniform acceleration of a ft/s2. If the robot has an initial velocity o...

oltre un anno fa

Risolto


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

oltre un anno fa

Carica altro