Gelöst

Find the mass of a rod
Determine the mass (in grams) of a rod of length L cm if it is in equilibrium per the diagram. In the diagram L1, L2, L3 are di...

4 Monate vor

Gelöst

Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

4 Monate vor

Gelöst

Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

4 Monate vor

Gelöst

Mechanical Advantage of a Gear Train
Calculate the mechanical advantage of a gear train. The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...

4 Monate vor

Gelöst

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

4 Monate vor

Gelöst

How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

4 Monate vor

Gelöst

Implement a counter
Write a function that returns a function that counts the number of times it is invoked. Example: >> h = counter; >> h() ...

4 Monate vor

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

4 Monate vor

Gelöst

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

4 Monate vor

Gelöst

Area Conversion 1

4 Monate vor

Gelöst

Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

4 Monate vor

Gelöst

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

4 Monate vor

Gelöst

Mass Conversion 1

4 Monate vor

Gelöst

Energy Conversion 2

4 Monate vor

Gelöst

Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

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

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

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

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

4 Monate vor

Gelöst

Potential energy calculation

4 Monate vor

Gelöst

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

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

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

4 Monate vor

Gelöst

Laws of motion 6

4 Monate vor

Gelöst

Laws of motion 3

4 Monate vor

Gelöst