Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

13 Tage vor

Gelöst


Inner product of two vectors
Find the inner product of two vectors.

13 Tage vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

13 Tage vor

Gelöst


Return area of square
Side of square=input=a Area=output=b

13 Tage vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

13 Tage vor

Gelöst


Mass Conversion 1

13 Tage vor

Gelöst


Energy Conversion 2

13 Tage vor

Gelöst


Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.

14 Tage vor

Gelöst


High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...

14 Tage vor

Gelöst


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

14 Tage vor

Gelöst


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

14 Tage vor

Gelöst


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

14 Tage vor

Gelöst


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

14 Tage vor

Gelöst


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

14 Tage vor

Gelöst


Potential energy calculation

14 Tage vor

Gelöst


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

14 Tage vor

Gelöst


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

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

14 Tage vor

Gelöst


Laws of motion 6

14 Tage vor

Gelöst


Laws of motion 3

14 Tage vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

14 Tage vor

Gelöst


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

14 Tage vor

Gelöst


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

14 Tage vor

Gelöst


Basic Physics IV
Calculate the Mechanical Energy (ME).

14 Tage vor

Gelöst


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

14 Tage vor

Gelöst


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

14 Tage vor

Gelöst


NOT
If a not equal to zero, b = true, else, b = false.

14 Tage vor

Gelöst


OR
If a greater than zero or c less than 10, b = true, else, b = false.

14 Tage vor

Gelöst


If-Else
If a more than zero, b = true, else, b = false.

14 Tage vor

Gelöst


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

14 Tage vor

Mehr laden