janhardo

700 Reputation

12 Badges

11 years, 65 days

MaplePrimes Activity


These are replies submitted by janhardo

A_Maple_Package_on_Symbolic_Computation_of_Hirota_Bilinear_Form_for_Nonlinear_Equations  [link to copyrighted material edited by moderator. See Mapleprimes' Terms of Use, section Conduct, items h and i]

 

First look at the parametervalues for the function T3?
The function T3 seems to be definied for all parametervalues 

@salim-barzani 

 

restart:
with(plots):
with(plottools):
with(Finance):

# Define the function T3
T3 := (B[1]*(tanh(2*n^2*(delta^2 - w)*k*t/((k*n - 1)*(k*n + 1)) + x) - 1))^(1/(2*n))
    * exp((-k*x + w*t + delta*W(t) - delta^2*t)*I):

# Default parameters
params := {B[1] = 1, n = 2, delta = 1, w = 1, k = 3}:

# Substitute numerical values into T3
solnum := subs(params, T3):

# Define a Wiener process and extract its path data
Wiener := WienerProcess():
N := 100:  # Number of time steps
P := PathPlot(Wiener(t), t = 0 .. 10, timesteps = N, replications = 1):
W_points := plottools:-getdata(P)[1, -1]:
t_grid := convert(W_points[.., 1], list):
W_values := W_points[.., 2]:

# Define grids for x and t
x_grid := [seq(-2 .. 2, 4 / N)]:
t_values := evalf(t_grid):

# Separate T3 into time- and space-dependent parts
T, X := map(mul, [selectremove(has, [op(expand(solnum))], t)])[]:
ST := unapply(eval(T, W(t) = w), w)~(W_values):
SX := evalf(unapply(X, x)~(x_grid)):

# Combine into a matrix
STX := Matrix(N $ 2, (it, ix) -> ST[it] * SX[ix]):

# Parameter control logic
valid_input := proc(B1, n, delta, w, k)
    if B1 > 0 and n > 0 and delta > 0 and w > 0 and k > 0 then
        return true:
    else
        return false:
    end if:
end proc:

# Explore interactive plot
Explore(
    if valid_input(B1, n, delta, w, k) then
        matrixplot(Re~(STX), style = surface, axes = boxed,
            labels = ["x", "t", "Re(T3)"],
            size = [800, 600],  # Increase plot size,
            title = cat("Interactive Plot of Re(T3) for Parameters: ",
                        "B[1] = ", B1, ", n = ", n,
                        ", delta = ", delta, ", w = ", w, ", k = ", k))
    else
        TextPlot("Invalid Parameters: Ensure all parameters are > 0.")
    end if,
    parameters = [
        [B1 = 0.1 .. 2],
        [n = 1 .. 5],
        [delta = 0.1 .. 2],
        [w = 0.5 .. 2],
        [k = 1 .. 5]
    ],
    initialvalues = [B1 = 1, n = 2, delta = 1, w = 1, k = 3]
);

"maple.ini in users"

(1)


 

Download Exploreplot_van_T3_functie_en_Wiener_data_18-12-2024.mw

@salim-barzani 
For the moment, a start ?
delta_error_onderzoek_wiener_matrix_18-12-2024.mw

parameter Delta is changing and other parameter  stay constant:?

params := {B[1]=1,n=2,delta=1,w=1,k=3 };

A Explore plot is not possible as it seems ..?

@salim-barzani 
At this first start question , there is a branch button ?
Transform data in maple to Matlab or make analysis by Excel worksheet for making Plot? - MaplePrimes
Or adding this question to the existing  row from  the start question ?

What else can be more done ?

This question may well become a candidate for deletion, given that another question has also been asked before that also has the same code fragments if I am not mistaken. 
May or may not go for deletion, you don't know with the moderator just doing whatever.
Note : probably it is not going to be deleted if the moderator addresses the question ?

@Carl Love 

By the looks of it, the Mapleprimes forum software is ‘lagging behind’ the current modern forum software. 
A ridiculous thing in itself, Maplesoft, a renowned company that wants its users to get on well with their software, does not create the conditions for this learning process, but instead fills Maple users with outdated forum software to learn to use Maple better.

This gives a moderator the opportunity to simply delete misplaced questions by a Maple user that do relate to topic , at will.
Unfortunately, there is no consistent approach from the moderator who should start deleting these misplaced questions.
Sometimes questions may or may not be removed and this creates confusion among the questioners and those answering the question.

I would put in big red letters above the forum: post questions related to the same topic together.

There are several moderators on the mapleprimes forum, so I would say delete wrongly asked questions immediately. 
Also now the forum shows a question related to previous questions on the forum , but posted separately by a user: this is a wrong attitude
Now if you as moderator(s) are so keen to remove wrong questions , do it consistently , if not , find something else to bother someone.

Bring this question under another question : How define D-operator (bilinear hirota derivative) for PDEs?

@salim-barzani 

How-Find-Bilinear-Form-For-Of-BLequation
This new question you must add to the already existing question here 
Adding or branching..

This standalone new question will probably yes or no deleted ?
note:  this new question is not the same as last one recently removed , its looks on a earlier question
So: keep all question together, doubling or partly doubling doesn't matter , keep all question  together
if it falls onder the same topic

So bring your latest question here ....

@salim-barzani 
Lol .. keep related questions together anyway in a startquestion : following a row or as branch
You are sure you did the right procedure for adding a branch ?
A branch belongs by the question i think: i never used it 

This undermines the whole flow of investigation

@salim-barzani 
I understand, it is not consistent behaviour the moderator is showing, so is it yes or no ?
Had he moderator kept reminding you to do things differently with the question , you would have done the right thing I think.
The moderator also let it happen and didn't get on top of it to correct you and now just delete a question.
This does not deserve any beauty prize and the moderator could have put your wrong post under the existing question as an example and reminded you again of the correct procedure to ask questions.

This moderator falls short in didactic quality here

So add your deleted question /post  complete again here to this existing question row or as a branch of the existing question,then you fullfill to the rules

@salim-barzani 
yes, when it is the same topic closely related , its better to keep it here on the forum as a whole 
So , add again the complete ! deleted post  to the row of existing answers from How define D-operator (bilinear hirota derivative) for PDEs?
Or make a branche then from this new question 

First 19 20 21 22 23 24 25 Last Page 21 of 75