A résolu


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

7 jours il y a

A résolu


Convert radians to degrees
Given input in radians, output to degrees

7 jours il y a

A résolu


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

7 jours il y a

A résolu


radius of a spherical planet
You just measured its surface area, that is the input.

7 jours il y a

A résolu


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

7 jours il y a

A résolu


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

7 jours il y a

A résolu


Potential energy calculation

7 jours il y a

A résolu


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

7 jours il y a

A résolu


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

7 jours il y a

A résolu


Laws of motion 6

7 jours il y a

A résolu


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

7 jours il y a

A résolu


Area Conversion 1

7 jours il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

7 jours il y a

A résolu


Laws of motion 3

7 jours il y a

A résolu


Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the shorter leg.
Further to the problem 43236, find the length of shorter leg P.S No built-in functions allowed

7 jours il y a

A résolu


Calculate Inner Product
Given two input matrices, x and y, check if their inner dimensions match. If they match, create an output variable z which cont...

7 jours il y a

A résolu


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

7 jours il y a

A résolu


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as y = A.ⅇ^(-λt)*cos(2πft) where A, λ, and f are scalars and t is a vector. ...

7 jours il y a

A résolu


Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

7 jours il y a

A résolu


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

7 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

8 jours il y a

Charger plus