Gelöst


Potential energy calculation

8 Tage vor

Gelöst


Kinetic energy calculation

8 Tage vor

Gelöst


Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...

8 Tage vor

Gelöst


Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).

8 Tage vor

Gelöst


Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.

8 Tage vor

Gelöst


High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...

8 Tage vor

Gelöst


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

8 Tage vor

Gelöst


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

8 Tage vor

Gelöst


Basic Physics IX
Calculate the Kinetic Energy (KE) by Weight (w) instead of Mass (m).

8 Tage vor

Gelöst


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

8 Tage vor

Gelöst


Basic Physics VII
Calculate the speed.

8 Tage vor

Gelöst


Basic Physics VI
Fing the Kinetic Energy (KE) by Distance (d) and Time (t) instead of Speed (v).

8 Tage vor

Gelöst


Basic Physics V
Calculate the Weight (w).

8 Tage vor

Gelöst


Basic Physics IV
Calculate the Work.

8 Tage vor

Gelöst


Basic Physics III
Calculate the Potential Energy (PE).

8 Tage vor

Gelöst


Basic Physics I
Calculate the energy by the famous formula of Albert Einstein.

8 Tage vor

Gelöst


NOT
If a not equal to zero, b = true, else, b = false.

8 Tage vor

Gelöst


OR
If a greater than zero or c less than 10, b = true, else, b = false.

8 Tage vor

Gelöst


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

8 Tage vor

Gelöst


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

8 Tage vor

Gelöst


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

8 Tage vor

Gelöst


If-Else
If a more than zero, b = true, else, b = false.

8 Tage vor

Gelöst


If
If a more than zero, then b = true.

8 Tage vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

8 Tage vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

8 Tage vor

Gelöst


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

8 Tage vor

Gelöst


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

8 Tage vor

Gelöst


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

8 Tage vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8 Tage vor

Gelöst


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...

9 Tage vor

Mehr laden