Community Profile

photo

Dylan


Last seen: 4 månader ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Commenter
  • Promoter
  • CUP Challenge Master
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

View badges

Feeds

View by

Solved


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.

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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.

mer än ett år ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mer än ett år ago

Solved


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

mer än ett år ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

mer än ett år ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

mer än ett år ago

Solved


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

mer än ett år ago

Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

mer än ett år ago

Solved


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

mer än ett år ago

Solved


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

mer än ett år ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

mer än ett år ago

Solved


square root
Find the square root (y) of an input (x).

mer än ett år ago

Solved


prime test
find largest 2 digit prime number

mer än ett år ago

Solved


prime test 2
enter the only non prime,non composite number

mer än ett år ago

Solved


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

mer än ett år ago

Solved


Equal to their cube
Tell me three real numbers that are equal to their cubes?

mer än ett år ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

mer än ett år ago

Solved


kmph to mps
convert kilometer per hour to meter per second

mer än ett år ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

mer än ett år ago

Solved


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

mer än ett år ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

mer än ett år ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

mer än ett år ago

Solved


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

mer än ett år ago

Solved


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

mer än ett år ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

mer än ett år ago

Solved


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

mer än ett år ago

Load more