Risolto


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

quasi 3 anni fa

Risolto


Linear Motion 2
During testing in the desert, a remotely operated vehicle travels D kilometers over rough terrain. The testing takes place over...

quasi 3 anni fa

Risolto


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


Energy Conversion 2

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

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

quasi 3 anni fa

Risolto


Potential energy calculation

quasi 3 anni fa

Risolto


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

quasi 3 anni 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...

quasi 3 anni fa

Risolto


Laws of motion 6

quasi 3 anni fa

Risolto


Laws of motion 3

quasi 3 anni fa

Risolto


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

quasi 3 anni fa

Risolto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

quasi 3 anni fa

Risolto


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

quasi 3 anni 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.

quasi 3 anni 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 ...

quasi 3 anni fa

Risolto


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

quasi 3 anni 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 ...

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 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;...

quasi 3 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

quasi 3 anni fa

Risolto


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

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

quasi 3 anni fa

Risolto


to the 2 all elements
to the 2 all elements

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Carica altro