6 years, 82 days

## @acer  sir, i am trying to design a...

sir, i am trying to design a GUI for an xpression shown in evaluate params math contianer of the worksheets below, i got hooked up trying to code the combo boxes and the plot3d and plot2d bottuns as well as their animations please i need u to take a look at the codes behind the bottuns,and assist with solutions on how to make these project a success. your suggestions will be of great importance. thanks.

NMR_Susceptibility_dependent_equation_GUI-modified1.mw

NMR_Susceptibility_dependent_equation_GUI-modified1.mws

## Coding embedded Component...

@rlopez this is the work sheet sir

Brief description of the GUI i intend having.

sir the value of the parameters [delta,gamma,alpha,G,C] are fixed but i might like to change them, the button [Evaluate at params] was intended to insert the value of the parameters [delta,gamma,alpha,G,C] into the mathematical expression and just simplify, the radio button [plot 3d] if clicked should enable the list box [plot 3d of] and
if [F against T,p] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and p.
if [F against T,k] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and k.
if [F against T,viscosity] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and viscosity.
if [F against T,tortousity] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and tortuosity.

The radio button [plot2d] if clicked should enable the list box [plot 2d of] and
if [F against p] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of p.
if [F against viscosity] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of viscosity.
if [F against tortousity] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of tortousity.
if [F against k] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of k.

The dials;
The dial T should vary the value of T for the two plots for a range of discrete value of T, should only be enabled for 2d plots i.e [F against k], [F against p], [F against viscosity], [F against tortousity]
The dial T[g] should vary the value of T[g] for the two plots for a range of discrete value of T[g].
The dial p should vary the value of p for the two plots for a range of discrete value of  [p], and should be disabled if a 3d plot of [F against T,p] and 2d plot of  [F against p] is to be plotted.
The dial k should vary the value of k for the two plots for a range of discrete value of [k], and should be disabled if a 3d plot of [F against T,k] and 2d plot of  [F against k] is to be plotted.

The button [plot 3d] is to display the 3d plot of any of plots selected in the 3d plot list.
The button [plot 2d] is to display the 2d plot of any of plots selected in the 2d plot list.
The button [animate3d] is to animate the 3d plot in the 3d plot section.
The button [animate2d] is to animate the 2d plot in the 2d plot section.

The button [Clear3d] is to Clear the 3d plot in the 3d plot section.

The button [Clear2d] is to Clear the 2d plot in the 2d plot section.

The value of T[g], T,k,p, viscosity,tortuosity are in a tabular  form for different type of underground minerals dont really know how to go about these will i be required to create a table for them on maple or import and make reference to them cause i will need them to plot my 3d and 2d plots, Brief description of the GUI i intend having.

sir the value of the parameters [delta,gamma,alpha,G,C] are fixed but i might like to change them, the button [Evaluate at params] was intended to insert the value of the parameters [delta,gamma,alpha,G,C] into the mathematical expression and just simplify, the radio button [plot 3d] if clicked should enable the list box [plot 3d of] and
if [F against T,p] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and p.
if [F against T,k] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and k.
if [F against T,viscosity] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and viscosity.
if [F against T,tortousity] is selected should plot a 3d graph of the simplified expression F against a set of discrete value of T and tortuosity.

The radio button [plot2d] if clicked should enable the list box [plot 2d of] and
if [F against p] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of p.
if [F against viscosity] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of viscosity.
if [F against tortousity] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of tortousity.
if [F against k] is selected should plot a 2d graph of the simplified expression F against a set of discrete value of k.

The dials;
The dial T should vary the value of T for the two plots for a range of discrete value of T, should only be enabled for 2d plots i.e [F against k], [F against p], [F against viscosity], [F against tortousity]
The dial T[g] should vary the value of T[g] for the two plots for a range of discrete value of T[g].
The dial p should vary the value of p for the two plots for a range of discrete value of  [p], and should be disabled if a 3d plot of [F against T,p] and 2d plot of  [F against p] is to be plotted.
The dial k should vary the value of k for the two plots for a range of discrete value of [k], and should be disabled if a 3d plot of [F against T,k] and 2d plot of  [F against k] is to be plotted.

The button [plot 3d] is to display the 3d plot of any of plots selected in the 3d plot list.
The button [plot 2d] is to display the 2d plot of any of plots selected in the 2d plot list.
The button [animate3d] is to animate the 3d plot in the 3d plot section.
The button [animate2d] is to animate the 2d plot in the 2d plot section.

The button [Clear3d] is to Clear the 3d plot in the 3d plot section.

The button [Clear2d] is to Clear the 2d plot in the 2d plot section.

sir these is how i intended to code the components and would have loved to have a detail knowledge on programming of these component and and other  maple applications, thanks for your anticipated support.

## yea...

@acer yea he said that would be very nice can u help me out with the procedure and guidlines on how to create one,pls i will be must greatfull if u can assist me.thanks for your antiicipated surppot

## how to build a maplet of an expresion...

@Carl Love hello sir , i really appreciate your awesome contribution to my project work ever since i started,i have a situation on ground which i require your assistance and guidance as part of my final year project my project supervisor has made it mandatory that is build a maple maplet of the equation:
nu:= -delta/2*sqrt(T-4*T[g]);
x:= -T[g]/T^2*gamma*G*delta*sqrt(alpha*k)/p;
F:= p^(1+delta*T/2)*(C*BesselJ(nu,x)+C*BesselY(nu,x));
with four knobs to vary the value of the parameters(T[g],T,k,p) and texts boxes to type in the value of the unvaried parameters(gamma,G,alpha,delta,C,C) and this maplet should show a 3d and 2d plot of the equation of which the various varying parameters can be varied to see effect on the plots.1.e 3d plots of (F against p and T[o]),(F against k and T[o]),(F against tortuosity and T[o]) and 2d plots of (F against p) and (F against k), (F against tortuosity).
i will really appreciate your effort in helping me out.

## @Carl Love  thank u very much i rea...

@Carl Love  thank u very much i really appreciate