A résolu


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

10 mois il y a

A résolu


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

10 mois il y a

A résolu


Coefficient of Static friction
The coefficient of static friction between two surfaces is u. What force must be used to move a W lb. crate on a horizontal sur...

10 mois il y a

A résolu


Coefficient of Sliding Friction
A weight of W1 N rests on a horizontal plane. The plane is gradually inclined until at an angle θ = Ao with the horizontal, the ...

10 mois il y a

A résolu


Coefficient of Kinetic friction
A robot exerts a F1 lb. force horizontally on a W lb. crate across a concrete floor at a constant speed. What is the coefficien...

10 mois il y a

A résolu


Calculate the acceleration of a crate
What is the acceleration of a crate if two robots apply F1 N and F2 N of force respectively and a frictional force of FR N acts ...

10 mois il y a

A résolu


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

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

10 mois il y a

A résolu


Potential energy calculation

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

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

10 mois il y a

A résolu


Laws of motion 6

10 mois il y a

A résolu


Laws of motion 3

10 mois il y a

A résolu


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

10 mois il y a

A résolu


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

10 mois il y a

A résolu


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

10 mois il y a

A résolu


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

10 mois il y a

A résolu


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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.

11 mois il y a

A résolu


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

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

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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

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

11 mois il y a

A résolu


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

11 mois 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]

11 mois il y a

Charger plus