Items tagged with pdf pdf Tagged Items Feed

Hello people in Mapleprimes,


I want to do calculations about an expected value.

For example,


that is, \int_a^b c d \Omega


where, \Omega is a distribution function of c. 


But, I don't know whether this equation can be put into worksheet.

Is there no way other than writing this as 

\int_a^b c g(c) dc, 

where g shows a probability density function.


Can I use Statistics[ExpectedValue] to calculate expected value with a general distribution function, not specified 

to normal distribution?


I hope you will give me some hints.


Best wishes.




According to kernelopts(version), I am using Maple 16.02, X86 64 LINUX, Nov 18 2012, Build ID 7888210 , having just updated

Maple 16.

I have a Maple worksheet with some graphs of 10^5 data points. When I export the worksheet to a pdf for inclusion in a LaTeX document (with pdfpages package, this recognizes page breaks), the file is around 100 Mb, much larger than I would like.

It seems that the file is large as a figure in the pdf is not just an image, the pdf seems to contain all of the information necessary to plot each data point individually.

Is there some way to encourage Maple 16 to treat figures as bitmaps (or something similarly much smaller than the original figures) upon exporting a worksheet to a pdf? I'll be happy for any suggestions.


1. This question was originally for Maple 16.00. Updating to 16.02a has not solved the problem.

2. I am suspicious that there is some bug in how Maple 16 exports figures made with "plot" to a pdf file.

When I try various methods of compressing the pdf that I've seen on the web, such as with pdftk 1.44, or ghostscript 8.70 or 9.07,  or pdf2ps followed by ps2pdf ,

error messages are returned. For example using pdftk:

pdftk input.pdf output.pdf


"Done. Input errors, so no output created"


When greek symbols are used in code edit region (by copying from worksheet 2d math mode), they used to get exported properly to PDF but the only issue was large code edit region used to get cut off. But now with this new 18.01 update, code edit region is not cut off but greek symbol inside code edit region are not appearing in PDF export instead just pink boxes. Has anyone else also encountered this issue and suggest a resolution.

Slides of the presentation at the VII Workshop Fast Computational and Applied Mathematics developed in graduate school at the National University of Trujillo. January 8, 2014.




L. Araujo C.

Hi, i am trying to export the following bifurcation diagram into a pdf.


Digits:=20: N:=10000: M:=100: x_max:=1: r_min:=0:
r_max:=4: for n from 0 to N do r:=r_min+n/N*(r_max-r_min):
x:=evalf(x_max*rand()/10^12):for m from 0 to M do x:=x*exp(r*(1 - x)): od:
X[n]:=x: od:


For some reason the graph is just blank, with just the axis when i export to pdf.

When I export my plot to PDF, adobe acrobat says: A drawing error occurred. Other programs see my PDF as corrupt. I would use a .eps file, but my plot has a semi-transparent component that doesnt show up very well as an eps. Any ideas?




THis is what I have so far.. is there anyone who can help me with this?

Let f(x) = 1/9*x^2, o<x<c

Find c so that f(x) is the pdf of a random variable X.

I have come up with this and was wondering if I could get some help. I cant get it to paste in, but I have

uploaded the file.. Please assist if you can.

Is it possible to insert a hyperlink to a pdf file ? I use links to other Maple worksheets and internet URLs, but cannot seem to find a way to create a link to a local pdf file. Thanks for any help.


Happy Holidays !

To plot the density function of the continuous uniform distribution on [-1,1], my initial attempt was: 

plot(Statistics:-PDF(Statistics:-RandomVariable(Uniform(-1,1)),x), x = -1.1 .. 1.1);

See plot below.

But I wanted something more like the wikipedia image (without the labels, naturally):

See plot below.

In words, I expected a horizontal line on the left of x=-1 and on the right of x=1 (at y=0), and I expected no vertical line at the x=-1 and x=1 points ...

Hi all,

This is really a quite general question.

I am not asking to change "interface(rtablesize=30)" or any other similar command.


I just wonder, sometimes, we want to see a symbolic matrix. And when the matrix gets really large in dimension, it does not display nicely on the whole screen.

Occasionally, with reasonably "small" matrix, we can still see it by "zoom out" to 50% view or even smaller view, to see the FULL matrix.

I've tried using Maple Help within the Maple software, but it is not very user friendly. Nothing seems to match up when I type the commands that it tells me, I always get an error. How do I find the moment generating function from a probability density function (pdf)?



Dear Maple Users

I have been testing Maple 16 for some time now, and I am overall very pleased with it. There is however one issue, which is really annoying. In previous version of Maple, images inserted into Maple and plots were printed much bigger than they looked like in the Worksheet. Then me and other users have requested to have the printed output look more like it does in the Worksheet on the computerscreen. Maple has adressed those user complaints in the new...

Hi everyone,


I want to create a Gaussian PDF so I need to calculate Determinant(sigma) with sigma the covariance matrix of a gaussian variable.

If we call this variable alpha (which is a 12 dimension vector and represents the noise in a discrete dynamical equation), then sigma_ij=ExpectedValue(alpha_i*alpha_j)-ExpectedValue(alpha_i)*ExpectedValue(alpha_j)

and this is zero most of the time! So the covariance matrix is singular and the determinant is zero. 

Want create my own geometric distribution with rather only natural values i.e. without zero:

But such form is luck to calculate even Mean value:

simplify(Mean(c)) fails. How to apply to get even Mean(F(c)) for complicated enough F?



I have four old Maple 10 Worksheets sitting around my harddrive. I'd like to view them again, but my Maple 10 license won't be activated again, they tell me to buy a new 13 or 14 one.

Does anyone still have a Maple 10 (or compatible) version and would convert four small worksheets into PDF for me?


1 2 Page 1 of 2