## How do I plot binned data in Maple?...

Asked by:

I have data that I've binned in list. I'd like to plot in as a histogram.

dataplot sort of does it but doesn't give the x-axis that I used but just the bins.

Yes, I know about Histogram from Statistics. To plot 1000000 values I have to enter them all into a list which seems crazy when all I want is a 100 bin histogram. Doing the binning is trivial, but I can't figure out how to plot it with a sensible x-axis (show range used to define the 'histogram')

## Nothing works after updating from Maple 2015 to 20...

Asked by:

Hello,

I am experiencing difficulties using my old Maple programs with the newer version. I tried changing the types of inputs and the typesetting level, but it just doesn't work. I would appreciate it if someone could help me overcome my ignorance.

Some simple input is attached with the output.

## Bin contents in a Histogram?...

Asked by:

How do I find the contents of a bin in a Maple histogram?

## Numerical Results from NLPSolve...

Asked by:

I'm using NLPSolve to minimize a complicated function. It works great, but the answers are not returned in numerical form which I need as they are then input for the next stage of my program.

How to I extract numbers?

S2 := NLPSolve(test, phi1 = 0 .. 2*Pi, phi2 = 1.0*Pi .. 2*Pi);
S2 := [-1.00000000011810774,

[phi1 = 0.773215730257661, phi2 = 5.98741001513872]]
==>The Result is a list and the solutions appear kind of string-like.

S2[2,1] returns 'phi=0.773...' not the number I need

## time dependent 2d plot...

Asked by:
 > restart:
 > ra:=2: b1:=1.41: na:=0.7: we:=0.5: eta[1]:=4*0.1: d:=0.5:   xi:=0.1: m:=na: ea:=0.5: pr:=21: gr:=0.1: R:=0.9323556933:
 > PDE1:=ra*(diff(f(x,t),t))=+b1*(1+ea*cos(t))+(1/(R^2))*((diff(f(x,t),x,x))+(1/x)*diff(f(x,t),x));   IBC:= {D[1](f)(0,t)=0,f(1,t)=0,f(x,0)=0};
 (1)
 >

Download pde.mw

for different time plot of f(x,t) in single plot with different color

## 1 dependent and 2 independent variables....

Asked by:

modifed_practice.mw

Impact of Shape-Dependent Hybrid Nanofluid on Transient Efficiency of a Fully W
et Porous Longitudinal Fin

dear sir please help me to solve the graph i given reference pdf also. i have implimented the code but getting error in ploting

Thank you

## how to input complex function in a complex differe...

Asked by:

restart;
alias(u = u(x, y, t), f = f(x, y, t));
u, f
u := (f+sqrt(R))*exp(I*R*t);
/     (1/2)\
\f + R     / exp(I R t)
pde1 := I*(diff(u, t))+diff(u, x, x)+2*lambda*u*abs(u)*abs(u)-gamma*(diff(u, x, t));
// d   \                /     (1/2)\             \
I ||--- f| exp(I R t) + I \f + R     / R exp(I R t)|
\\ dt  /                                         /

/ d  / d   \\
+ |--- |--- f|| exp(I R t)
\ dx \ dx  //

/     (1/2)\                           2
+ 2 lambda \f + R     / exp(I R t) (exp(-Im(R t)))

2
|     (1/2)|
|f + R     |

// d  / d   \\                / d   \             \
- gamma ||--- |--- f|| exp(I R t) + I |--- f| R exp(I R t)|
\\ dx \ dt  //                \ dx  /             /

## DTM method with Dsolve method comparision...

Asked by:

how to plot graphs for both methods and comparison of different method values for Diff(f(eta),eta, eta) at eta =0

 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 >
 (2)
 >
 >
 (3)
 >
 >
 (4)
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 (5)
 >
 (6)
 >
 (7)
 >
 (8)
 >
 (9)
 >
 >
 >

Download DTM_practice.mw

## How to substitute in argument of the exponential f...

Asked by:

Hi,

It might be really trivial, but I am struggling in the algebraic manipulation of the argument of the exponential function. As an example, I want to substitute

in the expression of

.

However, I am only able to do so by subs command and also by exactly copying the argument in the following manner.

The issue is I have expressions like this all over in the main problem, and I have to copy-paste such expressions for the substitution. So I am wondering if there is a more efficient way to tackle this problem.

Thanks in Advance,

Regards

## Questions on Visualization Methods...

Asked by:

I'm attempting to visualize temperature averages across a 2 dimentional space (e.g., a square plate) with fixed heat sources. The 3rd dimension (z axis) represents temperature.  I have created several visualizations but have questions about how these plots work.  The model is attached and the questions will make sense once you open the worksheet.

1. Using the "colorscheme" option on a couple of matrixplots, I get the error "[Length of output exceeds limit of 1000000]" and the plot doesn't show.  However using the "display()" command on those same plots does render the plot.  Is there a way around this error (i.e., rendering the plot directly) or should I just suppress the error using a colon at the end of the plot statement and rely on display() to show the plot?
2. I've created a heat map as one of the visualizations.  Is there a way to access the color values at each of the "cells" of the heat map? I would like to use these colors elsewhere in the model but I'm not sure if there is a way to access the color values.
3. Using a 3D point plot as one of the visualization options, I use the colorschemes with options "xgradient", "ygradient", and "zgradient".  For some reason, "xgradient" and "ygradient" work as expected but "zgradient" looks the same as "ygradient".  How do I get the color transition to change along the z axis rather than only x and y axes?

Thank you for your help on these questions.

temperature_profile_(experimental)(v01).mw

## How can I remove this error? "Error, missing opera...

Asked by:

Hi,
Apparently I have a problem but I can't find it. Please advise what is the source of the error?
Please see the attached worksheet.
1.mw

## error in Pde plot ...

Asked by:
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 > plotC := plots:-display(seq(Ans[k]:-plot(Bj[j], xi = 1, eta = 0 .. 10, color = colour[k]), k = 1 .. nops(lambdaVals)), linestyle = "solid", thickness = 2 );
 >

Download error_in_plot.mw

Help me to rectify the error

What is the mistake?

in this worksheet

## linearize the complex conjugate function partial d...

Asked by:

restart;
alias(u = u(x, z, t), f = f(x, z, t));
u, f
u := (f+sqrt(R))*exp(I*R*x);
/     (1/2)\
\f + R     / exp(I R x)
pde1 := I*(diff(u, z))+diff(u, x, x)+diff(u, t, t)+u*abs(u)*abs(u)-(u*abs(u)*abs(u))*abs(u)*abs(u);
/ d   \              / d  / d   \\
I |--- f| exp(I R x) + |--- |--- f|| exp(I R x)
\ dz  /              \ dx \ dx  //

/ d   \                /     (1/2)\  2
+ 2 I |--- f| R exp(I R x) - \f + R     / R  exp(I R x)
\ dx  /

/ d  / d   \\
+ |--- |--- f|| exp(I R x)
\ dt \ dt  //

2
/     (1/2)\                           2 |     (1/2)|
+ \f + R     / exp(I R x) (exp(-Im(R x)))  |f + R     |

4
/     (1/2)\                           4 |     (1/2)|
- \f + R     / exp(I R x) (exp(-Im(R x)))  |f + R     |

simplify(%);
/ d   \              / d  / d   \\
I |--- f| exp(I R x) + |--- |--- f|| exp(I R x)
\ dz  /              \ dx \ dx  //

/ d   \                 2
+ 2 I |--- f| R exp(I R x) - R  exp(I R x) f
\ dx  /

(5/2)              / d  / d   \\
- R      exp(I R x) + |--- |--- f|| exp(I R x)
\ dt \ dt  //

2
|     (1/2)|
+ exp(I R x - 2 Im(R x)) |f + R     |  f

2
|     (1/2)|   (1/2)
+ exp(I R x - 2 Im(R x)) |f + R     |  R

4
|     (1/2)|
- exp(I R x - 4 Im(R x)) |f + R     |  f

4
|     (1/2)|   (1/2)
- exp(I R x - 4 Im(R x)) |f + R     |  R
collect(%, exp(I*R*x));
/  (5/2)       / d   \      2       / d   \   / d  / d   \\
|-R      + 2 I |--- f| R - R  f + I |--- f| + |--- |--- f||
\              \ dx  /              \ dz  /   \ dx \ dx  //

/ d  / d   \\\
+ |--- |--- f||| exp(I R x)
\ dt \ dt  ///

2
|     (1/2)|
+ exp(I R x - 2 Im(R x)) |f + R     |  f

2
|     (1/2)|   (1/2)
+ exp(I R x - 2 Im(R x)) |f + R     |  R

4
|     (1/2)|
- exp(I R x - 4 Im(R x)) |f + R     |  f

4
|     (1/2)|   (1/2)
- exp(I R x - 4 Im(R x)) |f + R     |  R

## Using units with the maximize() function forces lo...

Asked by:

I see that using units with the maximize() function causes the connection to the kernel to be lost and then Maple (v2018) must be restarted for things to work properly.  This is obviously not desired behavior - is there any known workaround for this issue? (other than forgoing the use of units?).  Attached is a simple worksheet that illustrates this problem.  It has one part without units that works properly and one part with units that causes the error:  Units_Lose_Kernel.mw

## Bifurcation Diagram from my system of equations...

Asked by:

Please help with the bifurcation diagram for the system and parameter values below

 >

 (1)
 >
 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

 (8)

 (9)

 (10)
 >
 >
 (11)
 >
 >
 >
 (12)
 >
 (13)
 >
 (14)
 >
 (15)
 >
 (16)
 >
 (17)
 >
 (18)
 >
 (19)
 >
 (20)
 >
 (21)
 >
 (22)
 >
 (23)
 >
 (24)
 >
 (25)
 >
 (26)
 >
 (27)
 >
 (28)
 >
 (29)
 >
 (30)
 >
 (31)
 >
 (32)

Download Bifurcation_Equation.mw

 1 2 3 4 5 6 7 Last Page 3 of 61
﻿