janhardo

700 Reputation

12 Badges

11 years, 47 days

MaplePrimes Activity


These are replies submitted by janhardo

@Kitonum 

Thanks

There was a procedure in Maple what is taken for classification conics 2D 

@acer 

Thanks

Outdated yes, and programmed by students at that time
Can't be much for value for me then, for studying example programming?

Seems that 5 LAMP commands not working in Maple 
-Drawlines,Drawplanes, Backsolve,Matsolve, Inverse
Lamp book is detailled in basic linear algebra and its well done
Probabably there are some unique commands made specially for Lamp .

Take the first lesson:

You can also use the special command Drawlines (not working correct)  to plot the lines without first having to solve each equation for y: (Geometric Perspectives On Linear Equations chapter).
 

Or take The Drawplanes command (not working correct)(Geometric Perspectives On Linear Equations chapter) can also display the planes in another way that is sometimes easier to see: instead of planes it shows circles with intersectionline(s)

 All basic math

c1m1_v3.mws

@Carl Love 

Thanks!

I noticed already the linear algebra  has two versions in Maple,interesting.
Seems to be working now Lamp!

 

@Carl Love 

Thanks

A answer is : `Lamp environment loaded.`

and with(lamp); gives error

Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received Matrix(3, 13, {(1, 1) = 6, (1, 2) = 10, (1, 3) = 10, (1, 4) = 4, (1, 5) = 4, (1, 6) = 8, (1, 7) = 8, (1, 8) = 3, (1, 9) = 5, (1, 10) = 9, (1, 11) = 11, (1, 12) = 6, (1, 13) = 6, (2, 1) = 3, (2, 2) = 3, (2, 3) = 2, (2, 4) = 2, (2, 5) = 3, (2, 6) = 3, (2, 7) = 8, (2, 8) = 8, (2, 9) = 13, (2, 10) = 13, (2, 11) = 8, (2, 12) = 8, (2, 13) = 3, (3, 1) = 1, (3, 2) = 1, (3, 3) = 1, (3, 4) = 1, (3, 5) = 1, (3, 6) = 1, (3, 7) = 1, (3, 8) = 1, (3, 9) = 1, (3, 10) = 1, (3, 11) = 1, (3, 12) = 1, (3, 13) = 1})
Its a package for linear algebra what is bought for study purposes, but get never far with it
Now at the moment i am learning about  quadric surfaces and some linear algebra is needed

Also the programming of the lamp commands could be helpful for learning programming ?

 

@janhardo 

But i see that quadric surfaces are handled in some linear algebra books. 
The simplest equation for  surfaces are in standard positions.
Like with the conics in 2D, the surfaces can be rotated out of standard position too.

The example in Maple can be a good start to study this further.
Ok , what's a Hessian determinant content (3x 3)for a solid 3D compared with the Hessian for 2D?  

The surfaces are interesting, because they are solutions of a partial diff equation? 
This type of equation ( Pdiff) i never studied before,
Do have here a second hand book bought in a bundle when i started to study math : partial differential equations: analytical solution techniques by J.Kevorkian.
But i don't have enough needed base math knowledge when i read the preface.

 

Introduction to Partial
Differential Equations:
A Computational
Approach
Aslak Tveito
Ragnar Winther
Springer

-------------------------------

found some studymaterial..  

You are embarking on a journey in a jungle called Partial Differential Equations.
Like any other jungle, it is a wonderful place with interesting sights
all around, but there are also certain dangerous spots. On your journey,
you will need some guidelines and tools, which we will start developing in
this introductory chapter.

 

 

@vv 

Thanks!

Was not intented to ask something again about the math behind a possible procedure , although interesting
I do have some calculus books about two variables and old studymaterial, so no shortage about theory.

I see a 3 x3 Hessian determinant ..(for  x,y,z) , i know only a 2x2 hessiaan determinant for functions of two variables and never got lectures about 3d conics(solids).  

My question was not to  the point, but  must be about the classification of quadric surfaces.  
It seems that you give at the end of the worksheet a classification and as start a formula f , unfortanely don't know their connection

I do have still a lot of programming tasks for working on it.    

 

@Joe Riel 

Do you want use Maple on the same way as with Mathematica and Direktmath?
Like doing math by hand..interesting.

When i tried to rearrange the expression for a conic classification it become difficult , because its nowhere  documented on one place how this exactly in Maple can be done  
In another study book i got the advice don't bother about simplification, because Maple can handle big expressions, but that was for engineering  

 

@Joe Riel 

That object orientated programming is this possible in a Maple procedure to get his at a higher level of programming?

Object orientated programming should be a better way of programming than ..... 

@Joe Riel 

Thanks

I am curious  with my modest knowledge of programming procedures,  has this  something to do with object  inheritance.?

@Joe Riel 

Thanks

I don't know too  how a programming toolbox must be filled with the regular programming commands  ?
There is so much possible with programming in Maple and on different ways.
A toolbox was  for sale in the past  (Maple V), but as you noticed its not useful anymore 
 

Learning programming in Maple is starting with easy programming tasks to difficult tasks.
That's the challence for educators who want to learn people programming in Maple.   

 

@janhardo 
I want to add vertical lines to the cornerpoints of the (step)planes to the roster with  command spacecurve, but even for one manual input the vertical line plot is not to get ? 
Later on make it general..
 
 

@tomleslie 

Thanks.

I really think that there was such a toolbox focussed on programming in Maple back in 2000
Not focussed on Matlab.
Is there now a toolbox to get what supports programming?

On the other hand why it should not exists anymore, if there was such a toolbox in the past ?


 

@janhardo

 The domain roster is correct, but not all planes can be used as input

 

 

@janhardo 
Also got education(not extensively)  in matrix and determinants theory,although a long time back , so i can study the subject,but it is a lot to study. 

https://en.wikipedia.org/wiki/Matrix_representation_of_conic_sections

The Ax^2 + By^2 + Cx + Dy + E = 0 general formula is programmed for conics by inspecting the formula and rearrange it and look at the conics definitions.   
Don't know if this is intendend to do it on this way by the authors of the book to improve your programming /analyzing skills at that time 2002 ( further in the book the authors using matrix and determinants fo rprogramming)

So i could be still possible to program conics2 by inspecting the general formula  Ax^2 + Cy^2 + Bxy + Dx + Ey + F = 0  and rearrange it .. ? ( see my post ) 

@vv 

Thanks!

Looks interesting the programming and the result of course.
No background study material of this all, so there is nothing to learn for me from this as you mentioned earlier.

The original question was :

(2)  Write a conics2 procedure that will classify a quadratic equation of the form
             "Ax^2 + Cy^2 + Bxy + Dx + Ey + F = 0"


where there is a cross term. You might want to review the conic sections chapter in you calculus book.  This classification involves a rotation of axes and is considerably more complicated.

This means the programming of the book task: conics2 is not so advanced as your example

Maybe got the students for the programming course more background information than i had ?  
Its mission impossible for me

The nice thing on this procedure P is that it include also the conics from general formula
Ax^2 + By^2 + Cx + Dy + E = 0
It are parabolas, ellipses and hyperbolas in any orientation covered by  proc P and the degenerated cases

 I discovered in my programmed procedure conics : conics(1,2,3,4,5) gives "no graph"

that's wrong..no still correct!.
How could i ever doubt to this programming made by a professional    
P(1,0,2,3,4,5);
         2      2                      
        x  + 2 y  + 3 x + 4 y + 5 = 0, 

          Type = "This equation has no real solutions."  =. no graph


Is it that the rotation axes also must be plotted against the xoy system for the conics in the task ? 


 

First 56 57 58 59 60 61 62 Last Page 58 of 73