Gelöst


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

10 Monate vor

Gelöst


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. Slightly harder than it seems like it should be. Exampl...

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Convert binary numbers array into array of decimal numbers.
Convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ; 11001011 ; 11001100 ;...

10 Monate vor

Gelöst


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

10 Monate vor

Gelöst


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

10 Monate vor

Gelöst


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.

10 Monate vor

Gelöst


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

10 Monate vor

Gelöst


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

10 Monate vor

Gelöst


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


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 Monate vor

Gelöst


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 Monate vor

Gelöst


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

10 Monate vor

Gelöst


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

10 Monate vor

Gelöst


Max of a Vector
Write a function to return the max of a vector

10 Monate vor

Gelöst


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

10 Monate vor

Gelöst


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

10 Monate vor

Gelöst


Binary Coder
Take an input number and print the binary value of this number.

10 Monate vor

Gelöst


Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Real

10 Monate vor

Gelöst


imaginary

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

10 Monate vor

Gelöst


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

10 Monate vor

Gelöst


Square root of a number
Write a code that will output the square root of x.

10 Monate vor

Gelöst


Log of a number
Write a script that will give the log of x as output.

10 Monate vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

10 Monate vor

Gelöst


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

10 Monate vor

Mehr laden