Gelöst


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

12 Tage vor

Gelöst


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

12 Tage vor

Gelöst


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

12 Tage vor

Gelöst


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

12 Tage vor

Gelöst


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

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

12 Tage vor

Gelöst


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

12 Tage vor

Gelöst


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

12 Tage vor

Gelöst


Potential energy calculation

12 Tage vor

Gelöst


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

12 Tage vor

Gelöst


Laws of motion 6

12 Tage vor

Gelöst


Laws of motion 3

12 Tage vor

Gelöst


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

12 Tage vor

Gelöst


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

12 Tage vor

Gelöst


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

12 Tage vor

Gelöst


Column Vector
The third problem in Linear Algebra group. Create a column vector like this:

12 Tage vor

Gelöst


Scalar
The First problem in Linear Algebra group. Make scalar contains the value:

12 Tage vor

Gelöst


Matrix
The fourth problem in Linear Algebra group. Create a matrix like this: 14 7 26 7 8 6 3 0 30

12 Tage vor

Gelöst


Row Vector
The second problem in Linear Algebra group. Create this vector in MATLAB: [7 8 26]

12 Tage vor

Gelöst


Basic Algebra III
Get the Cube Root of the number n.

12 Tage vor

Gelöst


Circle Perimeter
Get the perimeter of the Circle by PI.

12 Tage vor

Gelöst


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

12 Tage vor

Gelöst


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

12 Tage vor

Gelöst


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

12 Tage vor

Gelöst


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

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

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

12 Tage vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12 Tage vor