Community Profile

photo

Michael Taylor


Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

fast 6 Jahre vor

Gelöst


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

fast 6 Jahre 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...

fast 6 Jahre 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? <<http://upload.wikimedia.org/wikipe...

fast 6 Jahre vor

Gelöst


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

fast 6 Jahre vor

Gelöst


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

fast 6 Jahre vor

Gelöst


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

fast 6 Jahre vor

Gelöst


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

fast 6 Jahre vor

Gelöst


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

fast 6 Jahre vor

Gelöst


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

fast 6 Jahre vor

Gelöst


Rankine to Kelvin Converter
Given input R, degrees Rankine, convert into degrees Kelvin.

fast 6 Jahre vor

Gelöst


wipe out!
make all the elements in given x zero.

fast 6 Jahre vor

Gelöst


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

fast 6 Jahre vor

Gelöst


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

fast 6 Jahre vor

Gelöst


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

fast 6 Jahre vor

Gelöst


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

fast 6 Jahre vor

Gelöst


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

fast 6 Jahre vor

Gelöst


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

fast 6 Jahre vor

Gelöst


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

fast 6 Jahre vor

Gelöst


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

fast 6 Jahre vor

Gelöst


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

fast 6 Jahre vor

Gelöst


Adding Numbers
Add the input numbers to the original.

fast 6 Jahre vor

Gelöst


Read it !
read and return the following word. 'M M A TTTTTTTTTL A BBB ' 'MM MM A A T L ...

fast 6 Jahre vor

Gelöst


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

fast 6 Jahre vor

Gelöst


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

fast 6 Jahre vor

Gelöst


Box!
Given a box, find the volume of the cube. With each side = a.

fast 6 Jahre vor

Gelöst


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

fast 6 Jahre vor

Gelöst


Area of a circle
Find the value for area of the circle if diameter is given

fast 6 Jahre vor

Gelöst


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

fast 6 Jahre vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

fast 6 Jahre vor

Mehr laden