## Function Construction – The module takes too much time to deliver the results

I've written a function f with the module that has 6 inputs and outputs. But the module seems to be perfectly fine. I've built similar modules in the past to extract the charts. I used the same structure here, but could not do it properly. The function I use involves solving a transcendental equation P, and this P contains six inputs.

``````    ClearAll("Global`*");
W(1) = c(1)*Sin(b*x1) + c(2)*Cos(b*x1) + c(3)*Sinh(b*x1) +
c(4)*Cosh(b*x1);
W(2) = c(5)*Sin(b*(x1 - z(1))) + c(6)*Cos(b*(x1 - z(1))) +
c(7)*Sinh(b*(x1 - z(1))) + c(8)*Cosh(b*(x1 - z(1)));
W(3) = c(9)*Sin(b*(x1 - z(2))) + c(10)*Cos(b*(x1 - z(2))) +
c(11)*Sinh(b*(x1 - z(2))) + c(12)*Cosh(b*(x1 - z(2)));
w = Piecewise({{W(1), x1 <= z(1)}, {W(2), z(1) <= x1 <= z(2)}, {W(3),
x1 >= z(2)}});

boundary(i_, j_) :=
Module( {bc},
bc1 = {W(i) /. {x1 -> 0}, (D(W(i), {x1, 2})) /. {x1 -> 0},
W(j) /. {x1 -> L1}, ((D(W(j), {x1, 2})) /. {x1 -> L1})}; bc = bc1)

countinuity(i_, j_) :=
Module({eq},
eq1 = {((W(i) /. x1 -> z(i)) - (W(j) /.
x1 -> z(i))), (((D(W(i), {x1})) /.
x1 -> z(i)) - ((D(W(j), {x1})) /.
x1 -> z(i))), (((D(W(i), {x1, 2})) /.
x1 -> z(i)) - ((D(W(j), {x1, 2})) /.
x1 -> z(i))), (((D(W(i), {x1, 3})) /.
x1 -> z(i)) - ((D(W(j), {x1, 3})) /. x1 -> z(i))) + (K(i)*
W(i) /. x1 -> z(i))}; eq = eq1 )

e1 = boundary(1, 3);
e2 = countinuity(1, 2);
e3 = countinuity(2, 3);
comb = Tuples({0, 1*^12}, 3);
eq = Flatten({e1, e2, e3});
var = Table(c(i), {i, 1, Length(eq)});
R = Normal@CoefficientArrays(eq, var)((2));
R = R /. {K(1) -> K1, K(2) -> K2};
MatrixForm(R);
P = -b^10 (Sinh(
b L1) (16 b^3 ((K1 + K2) Cos(b L1) - K1 Cos(b (L1 - 2 z(1))) -
K2 Cos(b (L1 - 2 z(2)))) + 2 (32 b^6 - K1 K2) Sin(b L1) +
K1 K2 (4 Sin(b (L1 - 2 z(1))) -
2 I Sin(b (L1 - 2 (z(1) + I z(2)))) -
4 Sin(b (L1 - 2 z(2))) +
4 Sin(b (L1 + 2 z(1) - 2 z(2))) + (1 + 2 I) Sin(
b (L1 - 2 I z(2))) + (1 - 2 I) Sin(b (L1 + 2 I z(2))) +
2 I Sin(b (L1 - 2 z(1) + 2 I z(2))) +
4 Cosh(b z(
2)) ((1 - 2 Cosh(2 b z(1))) Cosh(b z(2)) Sin(b L1) +
8 Sin(b z(1)) Sin(b (L1 - z(2))) Sinh(b z(1)))) +
4 K1 (K2 Cos(b L1) - K2 Cos(b (L1 - 2 z(2))) +
4 b^3 Sin(b L1)) Sinh(2 b z(1)) +
4 K2 Sin(b L1) (4 b^3 + K1 Sinh(2 b z(1))) Sinh(2 b z(2))) -
Cosh(
b L1) (-K1 K2 (10 Cos(b L1) - 6 Cos(b (L1 - 2 z(1))) -
4 Cos(b (L1 - 2 z(2))) - (1 - 2 I) Cos(b (L1 - 2 I z(2))) +
Cos(b (L1 - 2 z(1) - 2 I z(2))) - (1 + 2 I) Cos(
b (L1 + 2 I z(2))) + Cos(b (L1 - 2 z(1) + 2 I z(2)))) +
4 K1 Cosh(b z(1))^2 (K2 Cos(b L1) - K2 Cos(b (L1 - 2 z(2))) +
4 b^3 Sin(b L1)) +
2 (2 b^3 (-2 (2 K1 + 3 K2) Sin(b L1) +
K2 (Sin(b (L1 - 2 I z(2))) + Sin(b (L1 + 2 I z(2))))) +
2 K2 Cosh(b z(2))^2 (K1 Cos(b L1) -
K1 Cos(b (L1 - 2 z(1))) + 4 b^3 Sin(b L1) +
K1 Sin(b L1) Sinh(2 b z(1))) +
K1 (2 (K2 Cos(b L1) - K2 Cos(b (L1 - 2 z(2))) +
4 b^3 Sin(b L1)) Sinh(b z(1))^2 +
16 K2 Sin(b z(1)) Sin(b (L1 - z(2))) Sinh(b z(1)) Sinh(
b z(2)) +
K2 Sin(b L1) ((-3 + Cosh(2 b z(2))) Sinh(2 b z(1)) -
2 Cosh(2 b z(1)) Sinh(2 b z(2)))))));

f(z1_, z2_, l1_, k1_, k2_, beta_) :=
Module({m}, z(1) = z1; z(2) = z2 ; L1 = l1; K1 = k1; K2 = k2;
r = beta; s1 = P; s2 = NSolve(s1 == 0 && 0 < b < 30);
s3 = N(b /. s2);
s4 = s3((r)); {uu, ww, vv} =
SingularValueDecomposition(R /. b -> s4);
NN = Last(Transpose(vv));   sub1 = Flatten({var, b});
sub2 = Flatten({NN, s4});
m = w /. Table(sub1((i)) -> sub2((i)), {i, 1, Length(sub1)});
Return(m));
n = 2;
comb = Tuples({0, 1*^12}, 2);
g(i_, r_) :=
Module({s5}, spring = comb((i)); n1 = spring((1));
n2 = spring((2));  n3 = r; s5 = f(0.25, 0.75, 1, n1, n2, n3))
beammodes1 = Table(g(i, 1), {i, 1, 2^n})
beammodes2 = Table(g(i, 2), {i, 1, 2^n})
beammodes = Flatten({beammodes1, beammodes2});
Table(Plot(beammodes((i)), {x1, 0, L1}, PlotRange -> All), {i, 1,
Length(beammodes)})
``````

## Construction of iron fences, construction of sea warnings of dangerous subsidence of embankments and paths of Ho Guom Lake

On the morning of August 1, to instruct the People's Committee of the district People's Committees to return to the taboo (Hanoi) of the area's executive committee to repay the agreement and install a warning coat of arms and to ensure the safety of people While waiting for the development of the project, the District People's Committee handed over the management of the service area. The practice of applying warning brakes, putting up barriers in the places because the mind renounced to pulse, was finished crooked down to hurry up.
Fences in these areas because the weekly position, the distance around the ring, is about to decrease rapidly.
The Hoan Kiem District People's Committee said that the phrase "weird renovation" was still causing me to join the project of investing in the construction, renovation and beautification of the service's environment to repay the costs.

believe carefully – build iron fences, set up warning basins to run in danger of the dam, the line that restores the sword (photo 3).
It is expected that the loss of investment and the development of the construction sport will be completed in the precious IV-2019.

Believe in. # Dick – Build iron fences, set up warning signs to ward off dangerous areas, and find a way to find the sword (photo 4).
Trustworthy – Build iron fences, set up warning ponds to be worn on the edge of the shore, and lower the sword almost completely (photo 5).
now the walkway around the Sword of the Sword consists of the parts that do not fit together, tensing the reinforced concrete and rubbing shores.

trust # # tight – Build an iron fence, build a warning armor to endanger the edge of the palm, and walk around the sword (Figure 6).
However, it is very rich and the current part is flat, tight and flat. Rich in other songs, broken and lying on the floor, the line is in a short line from the bottom to the end.

believe in. # thick iron fences, build warning basins to be carried on the shallow shore so as not to lower the sword (Figure 7).
News – Build iron fences, set up warning signs to cover the patrols patrolling the path around the sword (Figure 8).
The total length of the school area was about 200 m, currently holds the board of the service of the sword a barrier before the storm of fate number 3 broke out on the continent.

trust # # jack – Build iron fences, build warning signs that are dangerous to scrubbers to restore the sword (Figure 9).
The installation of iron fence barriers to warn and ensure peace of mind for people and returning guests so as not to abuse the area of ​​the sword. However, this is just an emergency plan before many construction works are completed. Build, pulse, to overcome every situation thoroughly.

Messages picked up – building iron fences, warning signs of dangerous shocks in the shallow bench, waiting to serve the sword (image 10).
40cm high iron fence, is the opportunity to win the tower together.

Strong news – Build iron fences, set up warning signs to jeopardize the edge of the brush, and cut up the skewers (Figure 11).
Ms. Pham Bich Van (Bachball, Hanoi) said, "We need to retreat to serve our children, and 2 festivities are more likely to pay off today, and the authorities havetened to improve the sword's aid, which is more beautiful and safer 'The province is green – great – beautiful.'

News – Construction of iron fences, construction of sea warnings, warning of the danger of sinking the coast of the week, abandonment of Ho Guom Lake (Figure 12). Print printer 1
Rich in young people who play with the sword but leave the winding road behind, it's likely to be a dangerous gecko driving every diaper.
Trustworthy – Build iron fences, set a danger alert for the patrol in the patrol area and the way to hold the sword back (Figure 13).
The application was quite straightforward, so he tried to wash his hands.
Rely on confidence – Build iron fences and set alerts that indicate you fall into the scrubbed area, the streets of the sword (Figure 14).
Previously, like the opening of the trust. #, The flat system around the ring to invest the search for a long time in the renovation, so that the network can not appear anywhere before 2017, happens faster than the school in 2018 to ni. In particular, the number of people willing to die was monitored by the patrol, which endangered the people and visitors.

## [WTS] The most reliable hosting provider at affordable prices!

Legionsbox is the leading VPS and Dedicated Server Provider designed and built for those who need high performance, reliability, stability and server security all the time!

Virtual private Linux servers

With Legionsbox virtual server, RAM, memory and capacity are provided without congestion.

Each VPS comes with:

– Unreasonable bandwidth;
– Immediate installation (no downtime);
– Free panel ISPmanagerLite 4;
– 7 days refund guarantee;
– Payment options: Paypal, Bitcoin, WebMoney and major credit cards;
– High security (security level III).

Xen VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or CentOS with cPanel.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg, Russia, Moscow

XenVps0.5
CPU: 1хE5-2680
RAM: 0.5 GB
Storage: 15 GB
\$ 7 / month
ASSIGNMENT

XenVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

XenVps2
CPU: 2хE5-2680
RAM: 2 GB
Storage space: 50 GB
\$ 23.99 / month
ASSIGNMENT

Do you need a different configuration for XEN VPS? More options can be found here: https://legionbox.com/virtual-servers/

SSD VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or Windows.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg.

SSDVPS2
CPU: 1хE5-2680
RAM: 2 GB
Storage: 20 GB
9.95 USD / month
ASSIGNMENT

SSDVPS4
CPU: 2хE5-2680
RAM: 4 GB
Storage: 30 GB
19.95 USD / month
ASSIGNMENT

Do you need a different configuration for SSD VPS? More options can be found here: https://legionbox.com/virtual-servers/

With Legionbox you get Windows VPS from 11.99 USD / month >>>>

WinVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

WinVps4
CPU: 2хE5-2680
RAM: 4 GB
Hard disk space: 80 GB
44.99 USD / month
ASSIGNMENT

Find out more here Windows VPS

Do you need a dedicated server? Check here the best and fastest dedicated Windows and Linux servers!

Have a question?
Feel free to open a ticket

https://legionbox.com/

,

## Construction Management

Commercial and Housing USA. Buy construction management and drive

Commercial construction management,
Construction of residential buildings,
Construction Management
Generation of real estate contacts,
Energy and Utilities Lead Generation Company

## [WTS] The best host is Legionbox.com! High availability and completely redundant network.

Legionsbox is the leading VPS and Dedicated Server Provider designed and built for those who need high performance, reliability, stability and server security all the time!

Virtual private Linux servers

With Legionsbox The virtual server, memory, memory, and capacity are made available to you without congestion.

Each VPS comes with:

– Unreasonable bandwidth;
– Immediate installation (no downtime);
– Free panel ISPmanagerLite 4;
– 7 days refund guarantee;
– Payment options: Paypal, Bitcoin, WebMoney and major credit cards;
– High security (security level III).

Xen VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or CentOS with cPanel.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg, Russia, Moscow

XenVps0.5
CPU: 1хE5-2680
RAM: 0.5 GB
Storage: 15 GB
\$ 7 / month
ASSIGNMENT

XenVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

XenVps2
CPU: 2хE5-2680
RAM: 2 GB
Storage space: 50 GB
\$ 23.99 / month
ASSIGNMENT

Do you need a different configuration for XEN VPS? More options can be found here: https://legionbox.com/virtual-servers/

SSD VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or Windows.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg.

SSDVPS2
CPU: 1хE5-2680
RAM: 2 GB
Storage: 20 GB
9.95 USD / month
ASSIGNMENT

SSDVPS4
CPU: 2хE5-2680
RAM: 4 GB
Storage: 30 GB
19.95 USD / month
ASSIGNMENT

Do you need a different configuration for SSD VPS? More options can be found here: https://legionbox.com/virtual-servers/

With Legionbox you get Windows VPS from 11.99 USD / month >>>>

WinVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

WinVps4
CPU: 2хE5-2680
RAM: 4 GB
Hard disk space: 80 GB
44.99 USD / month
ASSIGNMENT

Find out more here Windows VPS

Do you need a dedicated server? Check here the best and fastest dedicated Windows and Linux servers!

Have a question?
Feel free to open a ticket

https://legionbox.com/

,

## Graph theory – bipartite d regular expander explicit construction

I am looking for an explicit (and simple) construction of a d regular, two-dimensional graph that is an expander. I searched the internet and found no adequate answer.
The only explicit diagram I found (and understood) was the Margolis diagram, but as far as I can understand, this diagram is not a bipartite diagram (for example, (0,0) has a self-edge).

## [WTS] The most reliable hosting provider at affordable prices!

Legionsbox is the leading VPS and Dedicated Server Provider designed and built for those who need high performance, reliability, stability and server security all the time!

Virtual private Linux servers

With Legionsbox virtual server, RAM, memory and capacity are provided without congestion.

Each VPS comes with:

– Unreasonable bandwidth;
– Immediate installation (no downtime);
– Free panel ISPmanagerLite 4;
– 7 days refund guarantee;
– Payment options: Paypal, Bitcoin, WebMoney and major credit cards;
– High security (security level III).

Xen VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or CentOS with cPanel.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg, Russia, Moscow

XenVps0.5
CPU: 1хE5-2680
RAM: 0.5 GB
Storage: 15 GB
\$ 7 / month
ASSIGNMENT

XenVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

XenVps2
CPU: 2хE5-2680
RAM: 2 GB
Storage space: 50 GB
\$ 23.99 / month
ASSIGNMENT

Do you need a different configuration for XEN VPS? More options can be found here: https://legionbox.com/virtual-servers/

SSD VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or Windows.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg.

SSDVPS2
CPU: 1хE5-2680
RAM: 2 GB
Storage: 20 GB
9.95 USD / month
ASSIGNMENT

SSDVPS4
CPU: 2хE5-2680
RAM: 4 GB
Storage: 30 GB
19.95 USD / month
ASSIGNMENT

Do you need a different configuration for SSD VPS? More options can be found here: https://legionbox.com/virtual-servers/

With Legionbox you get Windows VPS from 11.99 USD / month >>>>

WinVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

WinVps4
CPU: 2хE5-2680
RAM: 4 GB
Hard disk space: 80 GB
44.99 USD / month
ASSIGNMENT

Find out more here Windows VPS

Do you need a dedicated server? Check here the best and fastest dedicated Windows and Linux servers!

Have a question?
Feel free to open a ticket

https://legionbox.com/

,

## Builds – If the construction time is so long, how can the efficiency of the engineer be improved?

The project uses C ++ and the code takes about half an hour to build on a 32-core box. This time may be longer, e.g. 1 hour + on a local computer of a developer.

I notice that the efficiency in the creation is low. Sit down and watch, it's a waste of time.

A typical case is: Modify code, then if the build fails, create it again, re-create it, build it, test if it fails, modify it, and re-create it.

Since the code is full of templates, making changes in .H will take a long time.

If a developer wastes 2 hours a day in the build process, the cost would be too high.

How can you improve the efficiency of working on a project that the current code base needs to spend a lot of time creating?

## [WTS] The best host is Legionbox.com! High availability and completely redundant network.

Legionsbox is the leading VPS and Dedicated Server Provider designed and built for those who need high performance, reliability, stability and server security all the time!

Virtual private Linux servers

With Legionsbox virtual server, RAM, memory and capacity are provided without congestion.

Each VPS comes with:

– Unreasonable bandwidth;
– Immediate installation (no downtime);
– Free panel ISPmanagerLite 4;
– 7 days refund guarantee;
– Payment options: Paypal, Bitcoin, WebMoney and major credit cards;
– High security (security level III).

Xen VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or CentOS with cPanel.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg, Russia, Moscow

XenVps0.5
CPU: 1хE5-2680
RAM: 0.5 GB
Storage: 15 GB
\$ 7 / month
ASSIGNMENT

XenVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

XenVps2
CPU: 2хE5-2680
RAM: 2 GB
Storage space: 50 GB
\$ 23.99 / month
ASSIGNMENT

Do you need a different configuration for XEN VPS? More options can be found here: https://legionbox.com/virtual-servers/

SSD VPS (most popular plans)

Choose one of the following options: CentOS, Ubuntu, Debian, Fedora or Windows.
Available locations: USA, Los Angeles, Switzerland, Zurich, Germany, Nuremberg.

SSDVPS2
CPU: 1хE5-2680
RAM: 2 GB
Storage: 20 GB
9.95 USD / month
ASSIGNMENT

SSDVPS4
CPU: 2хE5-2680
RAM: 4 GB
Storage: 30 GB
19.95 USD / month
ASSIGNMENT

Do you need a different configuration for SSD VPS? More options can be found here: https://legionbox.com/virtual-servers/

With Legionbox you get Windows VPS from 11.99 USD / month >>>>

WinVps1
CPU: 2хE5-2680
RAM: 1 GB
Hard disk space: 25 GB
11.99 USD / month
ASSIGNMENT

WinVps4
CPU: 2хE5-2680
RAM: 4 GB
Hard disk space: 80 GB
44.99 USD / month
ASSIGNMENT

Find out more here Windows VPS

Do you need a dedicated server? Check here the best and fastest dedicated Windows and Linux servers!

Have a question?
Feel free to open a ticket

https://legionbox.com/

,

## Function construction – generating all connected graphs from a set of n-valued vertices?

I would like to have a function `generate connected[list_]` that for a given set of vertices with predefined valence (number of outgoing edges) all possible connected diagrams are generated.

For example, let's choose the following names for valence vertices `1` by `6`:

``````vertexNames = {x, u, y, z, q, w};
``````

which means a vertex of denomination `x` can only have one edge, `u` can only have 2 edges, `y` can only have three edges and so on

Then a set of vertices could be selected, e.g. as follows, so that is the output

``````set = flatten[{Array[x, 5], Y Z}]generate connected[set,vertexNames]
``````

`{x[1] x[2] x[3] x[4] x[5] , Y Z}`

Is there an efficient way to do this in Mathematica?