解決済み


Mass Conversion 1

12ヶ月 前

解決済み


Energy Conversion 2

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

約1年 前

解決済み


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.

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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.

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

さらに読み込む