Solved

Bouncy numbers

Inspired by Project Euler n°112. * * Working from left-to-right if no digit is exceeded by the digit to its left it is call...

1 year ago

Solved

Basic Operation with the middle number of odd matrix

# Take an odd matrix *like* 3-by-3 # Access the *middle element* of the matrix i.e in case of 3-by-3 matrix the index of the pa...

1 year ago

Solved

Place wastewater treatment processes in the correct order

There are many technologies for treating wastewater. For example, grit chambers are used to remove heavy solids, filtration is u...

1 year ago

Solved

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

1 year ago

Solved

Find the fastest reaction chain to reach a target compound

This problem is related to Problem <45470>. Let's denote a list of *N* compounds as 1, 2, ..., *N*. You are then given a list...

1 year ago

Solved

Maximize the production in a plant within equipment capacity

The goal of a certain manufacturing company is to maximize its production of goods per day. In the production flow, there is a s...

1 year ago

Solved

No of squares in a grid

given a m*n grid calculate the no of possible squares & rectangles on that grid. output: y=[no of rectangles , no of sqa...

1 year ago

Solved

Four digit number ABCD reversal

write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

1 year ago

Solved

Trace the path of a harmful chemical in an ecological network

An ecological network consists of the cycles of nature, such as the water cycle, the carbon cycle, the oxygen cycle, etc. Due to...

1 year ago

Solved

Ordered pairs of integers (I, J).

Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

1 year ago

Solved

Number of o rderd pairs of integers (I,J) that can be formed.

Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the condit...

1 year ago

Solved

Free Space Path Loss

*Satellite and Space Engineering - Problem #3* _This is part of a series of problems looking at topics in satellite and space...

1 year ago

Solved

Gain of a circular 'dish' antenna

*Satellite and Space Engineering - Problem #2* _This is part of a series of problems looking at topics in satellite and space...

1 year ago

Solved

Wavelength of an electomagnetic wave

*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

1 year ago

Solved

New Matrix with vector addition on diagonal

consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

1 year ago

Solved

Number generator

In this problem, a number will be given. starting with the first digit, keep on adding all subsequent digits till the state (...

1 year ago

Solved

Take a binary number as input,rearrange it in any manner such that its value is greater than the original one.output should be all the possible values in decimal.

a='001' output = [4,2]

1 year ago

Solved

An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?

area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

1 year ago

Solved

Takuzu row

Takuzu row is one row in a logic puzzle of a rectangular grid. The rules are as follows: (1) The row is filled with 1s and 0s...

1 year ago

Solved

Substring Extraction

In a given string, find the substring between Start_string and End_string. You will have to include or exclude the Start_str...

1 year ago

Solved

cross-section of 3D pyramid

Create 3d pyramid of ones and zeros...where pyramid-part is denoted by ones and outer-part is denoted by zeros..where base is sq...

1 year ago

Solved

Find the Pattern

Find the pattern between input and output. Write a function that gives the correct output for any input. *Hint: magic*

1 year ago

Solved

Luhn's Algorithm

Luhn's Algorithm is used as a checksum for credit card numbers or similar identifiers. It can detect single-digit changes and sw...

1 year ago

Solved

Construyendo matrices parte 2

Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

1 year ago

Solved

Raise each element to the power of its index in a matrix

In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274

1 year ago

Solved

Top layer of a 3D pyramid

create a 3D pyramid(x,y,z) of ones(1) and zeros(0)...where pyramid part is denoted by one....nd find the top layer(x,y) of the p...

1 year ago

Solved

Height of a 3D Pyramid

If a pyramid is made with one(1). What will be the height of the pyramid of square shaped base(n*n)? where input is n.

1 year ago