janhardo

695 Reputation

12 Badges

11 years, 40 days

MaplePrimes Activity


These are replies submitted by janhardo

@tomleslie 

Thanks,
Interesting programming.

I looked at the GIMPS (great internet Mersenneprime search)

If you do want to use the program GIMP : 

The Most importantly, you will need a lot of patience. Roughly speaking it will take about a month to run a single primality test – visit the benchmark page for a more accurate estimate on your computer.

Seems to be revolving about the Mersenne numbers formula: there are primes in the formula what gives a prime number and some do not .
What is a Mersenne number in the sieve programming ? :  Mn= 2^n-1 
M3 (mersenne number 3) is 7 ..is a prime
M11 = 2047 =23 . 89 is not prime

So if the procedure shows what are Mersenne numbers, then we can calculate how much time Maple  needs for finding the Mersenne primes ?
But easier is  probably to use the Mersenne formula directly?
Mersenne Prime Discovery - 2^82589933-1 is Prime!

Using this in the procedure of the sieve :

Lucas–Lehmer primality test - Wikipedia  ( Lucas–Lehmer test that applies only to Mersenne numbers )

Only 50 Mersenne prime  numbers are till now found yet and because i do want to know more as hobby of the Riemann hypothesis about the distribution of the prime numbers

@Mac Dude 

Thanks,

I am wondering why there no included answers for the exercises in the Maple programming guide..or do i miss something?
Yes, the question is how to start programming this sieve in Maple

There are some interesting answers to study .. 
Let me find the biggest prime in the world and there are enough of them. .:-)  

@Preben Alsholm 

When i open a old  .mws worksheet for Maple V-r4 in Maple 2020 some parts of text with  formulas ( for explaining a topic)
are disappeared)  

The worksheet is not complete anymore, like the original : reading a explanation between the maple input/output     
I do have maple v-r4 also installed and can make a comparison between the two version of the worksheet

You can only notice loss of information this if you use the two maple versions.

@Preben Alsholm 
The old files are .mws files for maple V-r4 they are older  
Got also old studymaerial what has become now useless if i not correct them into the newer .mw format 

@Preben Alsholm 

Thanks
It is not only output what is concerning, but it it is also missing text for clarification
This issue i had with old studymaterial what not can be used anymore in Maple 2020 by missing text.
The only solution for this is adding the text and formulaes by hand then to correct it.  

@Preben Alsholm 

Got here Maple V  Release 4 worksheets and there is a lot of missing text after saving this as .MW  file format 
Is there a way to convert this old worksheets R4  into the newer format ? 
Probably it is not possible i assume to convert it by Maple , so i must correct these worksheets by hand then ? 

 

@nm

Thanks!

I got today the book  Applied Partial Differential Equations with Fourier Series and Boundary Value Problems, 5th ed. Richard Haberman + solutiom manual
Elementary Differential Equations and Boundary Value Problems, 10th Edition. William E. Boyce,200e Richard C. DiPrima do i have also

One book left to get
Looks promising the book from author Richard Haberma, because it starts not too technical and is written for education

Problem with this studymaterial( or other new ) is to understands concepts, therefore i do have a lot of studymaterial assembled.
Also a book here: : from J.kevorkian  PDE analytical solutions en hopefully i can make modest start with it too : it starts with the diffusion equation with a heated rod like your book from Haberman also starts with.  

   

@nm 

You seems to me a expert with PDE's. 
Do you have recommendations how to study them by myself or is this mission impossble ? 

 

@janhardo 

pdsolve can be used too to show that g(y,z) = h(z)  if  g[y] = 0 (partial derative)
Seems to me one of the most complex command in Maple if i see what the outcome can be ?

A scalar potential exists. Call it f(x,y,z). Then diff(f,x)=A. To find f, integrate A with respect to x, holding y and z constant. 

f := int(A, x) + g(y, z);
              f := y z x + exp(x) cos(y) + g(y, z)


Now diff(f,y) should be B. Obtain that derivative and compare to B.

diff(y*z*x + exp(x)*cos(y) + g(y, z), y) - B = 0;
                         d             
                        --- g(y, z) = 0
                         dy            



This says g(y,z) is independent of y, so g(y,z) = h(z), a function of z only. That makes f become

This result g(y,z) = h(z), could be done with pdsolve too
pdsolve(diff(y*z*x + exp(x)*cos(y) + g(y, z), y) = B);
                        g(y, z) = _F1(z)

 

@Preben Alsholm 

Thanks!

This illustrate your reasoning fine and also my geometrical idea of it, but it is more then a plane alone , because y can be any function.
That's what i ike with Maple to see directly a plot to support a idea
The plot shows that partiel directive of x =0. ( f[x]=0)   
For u = f(x,y,z) if one of the partial  directive =0 , you could plot this too then...no its beyond 3D
 

Its clear now with a function of 2 or 3 variables if one of the part directives = 0 in those functions , the remaining 2D or 3D functions are the ones with only those variables not mentioned as partial directive variable. (the same idea for integrating for the intergation constant )
This was the case with calculation made for a potential function for a vectorfield. 


 

h := proc (x, y) options operator, arrow; sin(y^2) end proc; plot3d(h(x, y), x = -3 .. 3, y = -3 .. 3)

 

``


 

Download een_part_afgeleide_is_0_voor_functie_van_twee_var.mw

@Preben Alsholm 
Thanks!
That's not that easy to follow your reasoning.
But is was thinking more on a geometrical explanation 
Suppose z =f(x,y)  and a partial derative to x and this derative = 0 
What kind of surface you get ? ..it must be a plane   parallel to the x-axis     

The part derative of y could be any number and if it is 0 then you can get a x-y plane or planes above or below  
Make this sense too ?
 

@Preben Alsholm 
Thanks!

You are right for Maple, it has already proven algorithms built in what represents a enormous amount of scientific knowledge. 
But with pdsolve it gives the result what i am looking for namely  h(z) !    

pdsolve(diff(g(y, z), y) = 0);
                        g(y, z) = _F1(z)

 The reasoning why pdsolve comes with this result h(z) , there must be some one?.i am curious what it is.

@vv 

Thanks 
Amazing procedure and if correct it shows de constants for integrating in 1 to 3 variables 
For one variable gives

F := exp(x);
f := IntWithConst(F, x);
                       f := exp(x) + _F()
But that is a number of course and for two and 3 variables it are functions as constants

The derive of a scalarfunction  out of a vectorfunction is for some points not clear 
But studying some vids makes it more clear !

See for ff : Scalar_Potential.mw

@janhardo 
Unfortanely could not follow complete the handling of the partial deratives  and integrating

In general integrating in 1,2 and 3 variables and their constants?
What says that one partial derative is zero in u=f(x,y,z) ?

Could this figure out in Maple symbolically ?..yes it can, but how
With pdsolve( two or more variables) and dsolve (one variable)

example

A := exp(x)*cos(y) + y*z

f := int(A, x) + g(y, z);
              f := y z x + exp(x) cos(y) + g(y, z)

The constant is here g(y,z) 

 


Now diff(f,y) should be B. Obtain that derivative and compare to B.

diff(y*z*x + exp(x)*cos(y) + g(y, z), y) - B = 0;
                         d             
                        --- g(y, z) = 0
                         dy            


This says g(y,z) is independent of y, so g(y,z) = h(z), a function of z only. That makes f become

ff := eval(f, g(y, z) = h(z));
               ff := y z x + exp(x) cos(y) + h(z)

 

@rlopez 

Thanks

Well, if you have reached all goals in life, then this person is a satisfied (enlighted) person i belief.
( maslow pyramid)

I noticed for your worksheet that it is maple 1d input in a 2D document and this is not how a regular student tackle his math
i think.
But i like the direct style, but for that is needed  a some more working knowledge of Maple commands     
 

First 47 48 49 50 51 52 53 Last Page 49 of 73