Solved

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

ongeveer 5 jaar ago

Solved

Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

ongeveer 5 jaar ago

Solved

Nth root
Nth root of a number x

ongeveer 5 jaar ago

Solved

Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

ongeveer 5 jaar ago

Solved

Create tangent function out of sine function only
Please don't use cosine and tangent functions

ongeveer 5 jaar ago

Solved

Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets \$x per hour and a yearly bonus of \$2000? (Let, 50 wee...

ongeveer 5 jaar ago

Solved

Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

ongeveer 5 jaar ago

Solved

Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

ongeveer 5 jaar ago

Solved

Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

ongeveer 5 jaar ago

Solved

Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

ongeveer 5 jaar ago

Solved

Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

ongeveer 5 jaar ago

Solved

Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

ongeveer 5 jaar ago

Solved

kmph to mph converter
Convert the speed in miles/hour to km/hour.

ongeveer 5 jaar ago

Solved

Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

ongeveer 5 jaar ago

Solved

Test if a number is numeric or not
Test if a number is numeric or not

ongeveer 5 jaar ago

Solved

Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Divisible by 15
Write a function to determine if a number is divisible by 15. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

ongeveer 5 jaar ago

Solved

Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Divisible by 8
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

ongeveer 5 jaar ago

Solved

Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

ongeveer 5 jaar ago

Solved

Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

ongeveer 5 jaar ago

Solved

Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

ongeveer 5 jaar ago