## Population balance equation

by: Maple
Could some one help me to plot this population balance equation ? see the attached file Download 4968_PBE.doc
View file details

## Help with plotting...

Hi. I'm currently running Maple 10 for my project. So far I have successfully plotted 2d graphs of Re(A) vs d and Im(A) vs d. Both Re(A) and Im(A) are dependent on d. Now what I want to do is to plot a 3d graph with Re(A) in the x-axis and Im(A) in the y-axis with an independent variable of d. I can't seem to figure out how to do this with the Interactive Plot Builder and I wish I could try solving the problem by posting in this forum. I just started using Maple so any tip would be very much appreciated.

## Avoiding evaluation with 2-D math

by: Maple
I've been asked: how do I include a mathematical expression in a plot caption without having it evaluate? An example is displaying 2(x+y) in the caption without having it appear as 2x+2y. The easiest way to do this is to create an atomic identifier from the expression in the input line. In the 2-D input line, you'll have plot(..., caption=2(x+y)). Select 2(x+y) and right-click to bring up the context menu. Then go to 2-D Math -> Convert To -> Atomic Identifier. This turns the expression into a single name. Note that it is no longer equivalent to the expression 2(x+y), even though it looks exactly like it.

Even though dsolve is great, I'm just curious as to how the "Add an initial condition" menu choice works in the Standard Mode. If I enter a simple equation like this: diff(y(x),x)=0; I would like to create the initial condition that y(0)=6. I right-click, add an initial condition and blue "reply" text comes up that looks like the IC I would enter for dsolve. However, I can't edit that IC, and it just generally does nothing. How would I go about this? Thanks, /Ivan

## Using a lowess filter...

I have some 2-dimensional data to which I would like to fit a curve. The data is not functional, i.e. there can be multiple values of y for a given x. The curve should be continuous, but otherwise I have little idea about what form it should take. Maple provides a really nice way to plot one such curve: Statistics[ScatterPlot] with the lowess option. But I do not want to just plot the curve. I would also like to do computations with the curve. For example, I would like to compute the sum of squared residuals. What is the best way to get the curve (as a procedure, say)?

## slightly strange strange plot behaviour

by: Maple

Does anyone else see the following strange behaviour in the Maple 11 plot engine?

I was acting in a Std GUI Worksheet, not a Document. (I use Maple for 64bit Linux, which may or may not matter.)

1) In this next plot below, a (superfluous?) solid triangle appears. It lies in a xz-parallel plane at y=-1, with vertices (0.0,0.0,0.0), (1.0,-1.0,0.4), and (1.0,-1.0,0.0).

plot3d(sqrt(1-y^2),x=1..2,y=-1..1,colour=red,filled=true,view=[-0..2,-1..1,0..1]);

## I can´t get any output; I just get the instruction...

I´ve just programed some procedures. Those procedures don´t have any syntax errors. But after the execution I don´t obtain any result, I get only the instruction to execute. Where´s the problem?

## Smoothing a curve...

I am trying to plot a graph of 3sin(3x) that is being displayed as choppy lines. How do I get it to display smoother? Thanks, glenn

## Rotate curves around axis to make a solid?...

Can anyone point me to a tutorial or something to show me how to take 2 curves and rotate them around an axis to form a 3D solid? thanks, glenn

## Defaulting Fonts...

I'm trying to set my default font and type set for my documents and worksheets but can't find where to do so. Using Mac OS and Maple 11. If I turn off bold for example and hit return it turns it back on. Even tried selecting entire document content and turning bold off but still when I hit enter it goes back to bold. What gives? thanks, glenn

## Working with 3D Plots (Product Balls)...

A colleague recently approached me with this problem: Given two sets S1 and S2 in R^3, define the "product ball" of S1 and S2 to be the set of all points in R^3 obtained as the componentwise product of a point in S1 and a point in S2. That is, PB(S1,S2) = { (a*x,b*y,c*z) : (a,b,c) in S1 and (x,y,z) in S2 }. Can Maple help me to visualize this set? For a concrete example, let S1 = { (x,y,z) : max( abs(z), abs(x)+abs(y) ) = 1 } and S2 = { (x,y,z) : max( abs(y), abs(x)+abs(z) ) = 1 } In this case it can be shown that PB(S1,S2) consists of the following eight parametric surfaces: (x,y,z) = ( s*t, 1-s, 1-t), s=0..1, t=0..1

## Obtaining all roots I.A.W. De Moivre's theorem...

Is there a command for obtaining "ALL" n roots of the nth root of a real or complex number in accordance with DeMoivre's theorem? For example there are three cube roots of unity, namely 1,-1/2+sqrt(3)/2*i, and -1/2-sqrt(3)/2*i

## separate subexpressions according to its variables... when i am using CodeGeneration for Matlab in this file, the Maple gives out this error of "Kernel connection has been lost". But when I tried other cased of CodeGeneration for Matlab, sometimes it is working well.