Community Profile

# William

##### Last seen: Today
3 536 total contributions since 2012

View all

Contributions in
View by

Solved

Don't be Too Greedy!!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45450-don-t-be-too-greedy> For this time, ca...

environ 5 heures ago

Solved

Don't be Too Greedy!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45416-don-t-be-greedy> A list of assignments...

environ 5 heures ago

Solved

Create a matrix that counts up diagonally
Given a single input _N_, create a _N_ x _N_ matrix that counts from 1 : _N_ ², (along up-right diagonals, starting with 1 in th...

1 jour ago

Solved

Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

7 jours ago

Solved

Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

7 jours ago

Solved

Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

7 jours ago

Solved

5xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

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

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

7 jours ago

Solved

Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

8 jours ago

Solved

3xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

8 jours ago

Solved

4xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

8 jours ago

Solved

Sub-sequence - 03
Given three sequences, find the length of the longest common subsequence. It is similar to the previous problem -- <https...

8 jours ago

Solved

Integer complexity (Large numbers)
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/42831-integer-complexity Problem 42831>, this problem aims to ...

10 jours ago

Solved

AK Sorting according to given order
Conventional ascending order of one digit number is [ 0, 1, 2, ......9]. Now this order is changed and stored in vector a. For e...

11 jours ago

Solved

Momentum of an Object
P is momentum, m is mass, and v is velocity. Calculate the momentum for an object.

11 jours ago

Solved

Equilateral Triangle
The length of one side of the equilateral triangle is a. Calculate the area of ​​the equilateral triangle.

11 jours ago

Solved

Speed
x is distance, v is speed, and t is time. Calculate the speed for an object.

11 jours ago

Solved

Newton's Motion Law
F is force, m is mass, and a is acceleration. Calculate the force for an object.

11 jours ago

Solved

Matrix for beginners
Multiply x and y elemwise.

11 jours ago

Solved

Matrix problem for beginners
Make a matrix [0,0,0;1,1,1;2,2,2]. X=[0,1,2]

11 jours ago

Solved

Divide pi
Divide pi by x!

11 jours ago

Solved

Multiply pi
Multiply pi with x!

11 jours ago

Solved

List the households affected by leaks in water distribution
Consider the following water distribution network, where water is pumped uni-directionally from left to right: 8...

11 jours ago

Solved

Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

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

14 jours ago

Solved

Inscribed circle in a triangle
A circle of radius r is inscribed in a triangle. In the figure, AC=x and BC=y. values of x & y are given. Find the ar...

14 jours ago

Solved

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

16 jours ago

Solved

Square
X is a number, write a code, where Y should be the square of X.

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

17 jours ago