## magento2: Magent 2.3.X custom payment method check box missing terms and conditions

I am using a custom payment method when making payment in Magento, but the check boxes for terms and conditions are missing, even if I have enabled it from the backend. The Magento payment method shows the check box, but in the custom payment, it is not displayed.

In the default payment method, show

## differential equations – Numerical solution for ODE 1-D with Neumann conditions only

I tried to solve a simple ODE with only Neumann conditions like

But obviously this does not work.
I must add a useless Dirichlet condition to make it work

I have verified that the solution is correct, but how can I get it without
including the useless condition?

The code is

``````Sol = NDSolveValue({Piecewise({{1, x < 0}, {2.25, x > 0}}, 0)*u(x) +
Derivative(2)(u)(x) ==
NeumannValue(I*(2*E^(I*x) - u(x)), x == -4*Pi) +
NeumannValue((0. - 1.5*I)*u(x), x == 4*Pi),
DirichletCondition(1, False)}, u, {x, -4*Pi, 4*Pi})
ReImPlot(Sol(x), {x, -4*Pi, 4*Pi})
``````

## Independent conditions imposed by points on different planes

Leave $$H_1$$ Y $$H_2$$ be two planes in $$mathbb {P} ^ 3$$.Leave $$P$$ be a set of $$9$$ points such that there are not three in a line. Suppose $$H_1$$ contains 4 of them and $$H_2$$ contains remaining $$5$$ points. It is true that $$P$$ imposes independent conditions in the quadrics?

## conditional – Multiple conditions in the If function

I wrote a function that returns 1 if x ^ 2 + y ^ 2 <= 1:

``````f[x_, y_] := If[x^2 + y^2 <= 1, 1]
``````

Now I am trying to continue this function to take in multiple conditions as if x ^ 2 + y ^ 2> 1, | x | <= 1 and | and |<=1, the function should return 0. I would also like to expand this function to take in 'or' statements such as if |x|>1st or | and |> 1, etc.

## Solving equations – Iff is a disaster, can Mathematica get better * necessary * conditions?

Assume that the complete set of necessary and sufficient conditions that Mathematica identifies for a symbolic system of inequalities is a disaster.

Is there any way to ask Mathematica to change some sufficiency for greater readability and interpretability?

In other words, is there any way I can tell Mathematica: "I would be happy with the conditions that are only necessary if that allows you to find a simpler expression"?

I realize that a solution is simply to eliminate some of the inequalities in the system that would obviously generate a set of conditions that are still necessary for the entire system. What I am looking for are more automated solutions that intelligently search for all possible system relaxations and propose the necessary conditions that improve readability and interpretability.

## postgresql: database design suggestions for data currently as csv files that contain time series x location measurements for different conditions

I apologize if this is a fictitious question, because this is the first time I try to design a complex database.
I have performed an experiment to make measurements over time at different points along a power line. The data was recorded in several csv files. Each csv file contains data related to a given measurement for a range of time values ​​(rows) and a range of distance values ​​(columns). These measurements were made for different power lines under different test conditions. Each line category and test condition is recorded in the name of the csv file, as well as in the corresponding measurement type.
I don't need insertion efficiency because I will do it once, but I need to have an efficient way to make queries to see the data in different ways. I tried to migrate my data to TimeScaleDB, however, I am not sure if it is a good option. I read in the TimeScaleDB documentation that there are two ways to model time series data: wide table or narrow table, however, in my case, I think I need a combination of these two types, because I have many measurements with the same marks of time, but there will be many samples of them, corresponding to each location, test condition and type of power line.
Do you have any suggestions on how to model this data or what engine would be suitable in this case?

## programming: reduce table data to print only if certain conditions are met

suppose there is an ODE function `F` resolved by `NDSolve` and the solution of this function is in the range [-40: 34]. I just need where `F==0`or the value of `F` in the interval between [-1,1]. How can I achieve this using the table:

`Table[If[F <= 10^-2, Print@F, Return["Exit", Table]];, {x, 3.2, 3.5, 0.01}, {y, 3.2, 3.5,0.01}]`

Using the code above gives me the entire negative region. So, I'm trying to capture the value of the function `F` when it approaches zero or zero, and prints it if the following condition is met: a] The `F` It has a value close to zero. Thanks in advance for your time, and I'm sorry if this is simple, I couldn't find a solution within this site.

## table – Automating a code to use the Map function, using it to plot with the ListLinePlot command and plotting with certain imposed conditions

I have a code that says like this:

``````ClearAll("Global`*")
tbl = Table({x, N(x^0.6), N(Sqrt(x)), N(x^0.2), N(x^(1/3))}, {x, 0, 2,
0.01});
const1 = 20;
const2 = 15;
modifiedr(v_, k_) := (k - v) const1/const2 ;
newrow({k_, r1_, r2_, r3_, r4_}) := {k, r1, modifiedr(r1, k), r2,
modifiedr(r2, k), r3, modifiedr(r3, k), r4, modifiedr(r4, k)};
newtbl = Map(newrow, tbl);
Flatten({"k",
Table(str = ToString(i); {"r" <> str, "modified_r" <> str}, {i, 1,
4})});
SetDirectory(NotebookDirectory());
Export("file" <> ToString(const1) <> ".dat",
``````

Here comes the first question:

1. You can see that there is a line in the code `{k,r1,modifiedr(r1,k),r2,modifiedr(r2,k),r3,modifiedr(r3,k),r4,modifiedr(r4,k)}`. This is fine when you only have 4 r (`r1,r2,r3,r4`) But when you have a big no. of r, let's say until 20 (`r1,r2,r3, …, r20`), this can become tedious. Is there any way to automate this procedure like what I have written in "headings"?

Now, I want to draw some graphs with the x-axis as the first column in "newtbl" and the second, fourth, sixth and eight columns in "newtbl" as the y-axis. For this, I first extracted data in xaxis, yaxis1, yaxis2, yaxis3, yaxis4. For this, I wrote the following code:

``````rowlength = Length(newtbl);
xaxis = Table(newtbl((i, 1)), {i, 1, rowlength});
yaxis1 = Table(newtbl((i, 2)), {i, 1, rowlength});
yaxis2 = Table(newtbl((i, 4)), {i, 1, rowlength});
yaxis3 = Table(newtbl((i, 6)), {i, 1, rowlength});
yaxis4 = Table(newtbl((i, 8)), {i, 1, rowlength});
ListLinePlot(
Transpose({xaxis, #}) & /@ {yaxis1, yaxis2, yaxis3, yaxis4},
AxesStyle -> Directive(GrayLevel(0), AbsoluteThickness(1.6)),
PlotLabel -> None, LabelStyle -> {16, GrayLevel(0)},
AxesLabel -> {"k(Rho)", "(Omega)"})
``````

I get the desired plot as shown;

The second question comes here:

1. Extracting and writing `xaxis,yaxis1` etc. It becomes tedious if I have a big no. of r. Is there any way to solve this problem?
I modified the code according to what was written here, that is
`ListLinePlot(Transpose(Table(Map({newtbl((i, 1)), #} &, Rest(newtbl((i)))), {i, Length(newtbl)})))` Y `ListLinePlot(Thread(Thread@{#, {##2}} & @@@ newtbl))`. But while I do it both ways, I get a plot, which shows an additional set of lines:

What am I doing wrong here and, first of all, what does the previous code mean?

The third question is this:

1. Now, I want to trace it with a certain imposed condition. e.g.:

to. plot r1 when modified_r1 has a value between 0.2 and 0.4

yes. plot r2 when modified_r2 has a value between 0.23 to 0.33

C. trace r3 when modified_r3 has a value between 0.34 to 0.45

re. plot r4 when modified_r4 has a value between 0.54 to 0.63

How can I do this?

## physics: how to establish the correct initial conditions while solving a set of differential equations?

I tried to solve a physical problem (IYPT No.7 Balls on a String) by referring to the example / DoublePendulum in the help document. However, an error was reported when the program is running. Where are the errors and how to solve them?

(I tried to use the lengths and angles of the strings as coordinates, and eliminate the tension λ (t) or z2 (t), but none worked).

Issue:

No. 7 balls on a rope

Put a rope through a ball with a hole so that the ball can move freely along the rope. Attach another ball to one end of the rope. When you move the free end periodically, you can observe complex movements of the two balls. Investigate the phenomenon.

Code:

``````Clear(x1, x2, y1, y2, z1, z2, (Lambda))
deqns = {
m1*x1''(t) ==
m1*(Omega)^2*x1(t) +
2*m1*(Omega)*y1'(t) + ((Lambda)(t)*((Delta) - x1(t)))/
l1(t) + ((Lambda)(t)*(x2(t) - x1(t)))/l2(t),
m1*y1''(t) ==
m1*(Omega)^2*y1(t) - 2*m1*(Omega)*x1'(t) - ((Lambda)(t)*y1(t))/
l1(t) + ((Lambda)(t)*(y2(t) - y1(t)))/l2(t),
m1*z1''(t) ==
m1*g - ((Lambda)(t)*z1(t))/
l1(t) + ((Lambda)(t)*(z2(t) - z1(t)))/l2(t),
m2*x2''(t) ==
m2*(Omega)^2*x2(t) +
2*m2*(Omega)*y2'(t) + ((Lambda)(t)*(x1(t) - x2(t)))/l2(t),
m2*y2''(t) ==
m2*(Omega)^2*y2(t) +
2*m2*(Omega)*x2'(t) + ((Lambda)(t)*(y1(t) - y2(t)))/l2(t),
m2*z2''(t) == m2*g + ((Lambda)(t)*(z1(t) - z2(t)))/l2(t)
};
aeqns = {l1(t) == Sqrt(y1(t)^2 + z1(t)^2 + ((Delta) - x1(t))^2),
l2(t) ==
Sqrt((x2(t) - x1(t))^2 + (y2(t) - y1(t))^2 + (z2(t) - z1(t))^2),
l == l1(t) + l2(t)};
ics = {
x1(0) == 1/4 l, y1(0) == 0, z1(0) == Sqrt(3)/4 l,
(*x1'(0)(Equal)0,y1'(0)(Equal)0,z1'(0)(Equal)0,*)
x2(0) == (1 - Sqrt(3))/4 l, y2(0) == 0, z2(0) == (Sqrt(3) + 1)/4 l
(*x2'(0)(Equal)0,y2'(0)(Equal)0,z2'(0)(Equal)0*)
};
params = {m1 -> 0.023, m2 -> 0.023, l -> 0.6,
g -> 9.81, (Omega) -> 20, (Delta) -> 0.05};
res = NDSolveValue({deqns, aeqns, ics} /. params, {x1, y1, x2, y2, z1,
z2, (Lambda)}, {t, 0, 15})
p1 = ParametricPlot({x1(t), y1(t)}, {t, 0, 15}, Mesh -> 300,
AxesLabel -> {x (unit : m), y (unit : m)})
(*Animate(Graphics({{PointSize(.025),{Red,Point({x1(t),y1(t)})},{Blue,
Point({x2(t),y2(t)})},Line({{0,0},{x1(t),y1(t)},{x2(t),y2(t)}})}/.
res,
{Gray,Line(Map(Function(Evaluate({x2(#),y2(#)}
/.res)),Range(0,t,0.025)))}},PlotRange(Rule){{-1,1},{-1,0}}, Axes
(Rule)True,Ticks(Rule)False,ImageSize(Rule)500),{t,0,10,.025},
SaveDefinitions(Rule)True)*)
``````

Reported Error:

``````NDSolve::icfail: Unable to find initial conditions that satisfy the residual function within specified tolerances. Try giving initial conditions for both values and derivatives of the functions.
``````

## google sheets: (left) Join several tables for the panel with various conditions / filters

Objective: interactive panel with data from different sheets but for the same campaigns.

I have more than 3 tables with social media data in them. I want to combine them by unique identification. In addition, panel users should be able to filter by (partial) ID and dates.

• source tables are divided by date> the master table has aggregated data but must be filterable by the dates entered by the user
• source tables are of different sizes and column names
• the data must be joined by a unique ID (= campaign name)
• optional: the master table must be able to filter with several keywords (for example, "abc" + "efg")
``````Start Date: JJJJ-MM-DD
End Date  : JJJJ-MM-DD
Campaign-Filter: *abc