Resuelto


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

más de 3 años hace

Resuelto


size

más de 3 años hace

Resuelto


find the height

más de 3 años hace

Resuelto


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

más de 3 años hace

Resuelto


Row sum

más de 3 años hace

Resuelto


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

más de 3 años hace

Resuelto


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

más de 3 años hace

Resuelto


Easy Sequences 13: Average Speed of Spaceship
A certain alien spaceship is capable of traveling at extremely high velocities and is able to change speed instantaneously. The ...

más de 3 años hace

Resuelto


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

más de 3 años hace

Resuelto


Calculate BMI
Given weight in kgs and height in metres, calculate body mass index

más de 3 años hace

Resuelto


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

más de 3 años hace

Resuelto


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

más de 3 años hace

Resuelto


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

más de 3 años hace

Resuelto


Sum sum!!!
Sum the numbers from 1 to n

más de 3 años hace

Resuelto


Diagonal Prod

más de 3 años hace

Resuelto


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

más de 3 años hace

Resuelto


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

más de 3 años hace

Resuelto


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

más de 3 años hace

Resuelto


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

más de 3 años hace

Resuelto


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

más de 3 años hace

Resuelto


Finding sum of even numbers in a vector.
Find the sum of all the even numbers present in the input vector x. Examples: Input x = [1 2 3 4] Output y is 6 Input...

más de 3 años hace

Resuelto


row removal
Consider a matrix and remove the first row of the matrix.

más de 3 años hace

Resuelto


Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

más de 3 años hace

Resuelto


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

más de 3 años hace

Resuelto


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

más de 3 años hace

Resuelto


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

más de 3 años hace

Resuelto


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

más de 3 años hace

Resuelto


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

más de 3 años hace

Resuelto


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

más de 3 años hace

Resuelto


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

más de 3 años hace

Cargar más