## Prime numbers in e...

I'm trying to find the largest prime number in consecutive digits of e but maple seems to have problems with large integers. Does anyone know a way to make this work better? for i from 0 to 100 do a := floor(e*10^i); #e is the natural base e if isprime(a) then print(a); end if end do it finds the first 3, then gives the error: Error, cannot determine if this expression is true or false: isprime(floor(100000000*exp(1))) I believe it is due to precision of integer values.

## Fibonacci Sequence...

PROBLEM: Construct and display the first 10 elements of the Fibonacci sequence F_n, defined such that F_1 = F_2 = 1, and F_n = F_(n-1) + F_(n-2) for n > 2. This is how I approached this: Any suggestions or criticisms about my approach would be greatly appreciated. Thanks. >

## Student Vs student...

I noticed that commands work when I use with(student) and fail to work when I use caps as in with(Student) Am i entering the wrong syntax? Maple help says Student supercedes student package.

## Student Package...

I enter the following and I get the "unable to load module 'rightbox'" message. Student[Calculus1][rightbox](sin(x),x=0..Pi,20) Please let me know how to fix this

## Plotting a stepwise function...

I would like to know if it is possible, how to plot a function that is stepwise, something like: for x< -1, y=2-x; for -1<= x <= 1, y=x; for x>1, y=2x+1;
Is it possible to do this all on one plot? I'm extremely new to Maple, so I apologize if the answer is quite obvious! Thanks!

## Another Loop and Conditional Execution Exercise...

PROBLEM: Do not use the functions nextprime, prevprime, or ithprime in this exercise. Use some kind of do-loop or nested do-loops and conditional statements to compute and display an expression sequence, assigned to the variable P, consisting of the 10 smallest positive prime numbers. This is what I came up with. I reached the value of the counter "n", (for lack of a better name) by trial and error, and that just happened to give me the correct number (10) of primes in the sequence P. >

## implicitplots...

can you animate implicitplots? if so, how?

## Find limit function for Picard Approximations...

Hello, I need to find a limit function of recurent progression: y0 = a; yn = a + int(x * y(n-1), x) for n=infinity. Thank you very much for any solution P HK

## Drawing straight lines in Sketch...

Is it possible to use Sketch and draw a straight line? I want to use document mode to retype my class notes so I want to include graphs and illustartions. I am taking PHY-2048 where we are studing vectors, dot product, cross product etc.

## Converting Maple to Fortran...

Hi! I have a Maple worksheet comprising of TEXT + MATH, mainly for loops and if statements, using matrices. Can someone please let me know how I can turn this sheet into Fortran code (very detailed instructions necessary!) Thanks for your help! :)

## Primitive Element in GF(2^32)...

I need to generate pimitive polynomials of degree 17 over GF(2^32) for use in an LFSR working over 32-bit words. Does anyone know how it can be done?

## Maple 9 Remembering Function assignments?...

I'm trying to solve a partial differential equation with two boundary conditions below.  The general solution contains arbitrary functions of the non-differentiated variable.  These functions are solved for and assigned but do not appear in the final solution return.  Can anybody help me with this?

> restart;

> l:=lambda;