Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

circa 2 anni fa

Risolto


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

circa 2 anni fa

Risolto


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

circa 2 anni 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 2 anni fa

Risolto


Draw a '0' in a one matrix!

circa 2 anni fa

Risolto


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

circa 2 anni fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

circa 2 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

circa 2 anni fa

Risolto


Find the max element of the array
Find the max element of the array

circa 2 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

circa 2 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

circa 2 anni fa

Risolto


to the 2 all elements
to the 2 all elements

circa 2 anni fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

circa 2 anni fa

Risolto


Double all elements in the array
Duplicate all elements in the array

circa 2 anni fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

circa 2 anni 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 ...

circa 2 anni 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...

circa 2 anni 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...

circa 2 anni 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...

circa 2 anni 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 2 anni 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 2 anni 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 2 anni 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 2 anni 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 2 anni fa

Risolto


Potential energy calculation

circa 2 anni fa

Risolto


Temperature Conversion 1

circa 2 anni fa

Risolto


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

circa 2 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

circa 2 anni 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 2 anni 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 2 anni fa

Carica altro