Risolto


Mass Conversion 1

circa un anno fa

Risolto


Energy Conversion 2

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

circa un anno fa

Risolto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

circa un anno fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

circa un anno fa

Risolto


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 to use d...

circa un anno fa

Risolto


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

circa un anno fa

Risolto


Find max
Find the maximum value of a given vector or matrix.

circa un anno fa

Risolto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

circa un anno fa

Risolto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

circa un anno fa

Risolto


Is my wife right?
Regardless of input, output the string 'yes'.

circa un anno fa

Risolto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

circa un anno fa

Risolto


Stress-Strain Properties - 7
The toughness of a material is technically defined as the plastic strain energy absorbed by the material (the plastic region in ...

circa un anno fa

Risolto


Stress-Strain Properties - 6
The total energy absorbed by a material up to failure in a tensile test is termed the absorbed strain energy. With respect to th...

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

circa un anno fa

Risolto


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

circa un anno fa

Risolto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

circa un anno fa

Risolto


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

circa un anno fa

Carica altro