M. Kaneko, T. Abe, M. Sekiguchi, Y. Tadokoro, S. Yamashita,

Slides:



Advertisements
Similar presentations

Advertisements

MATLAB and Scilab Comparison
12 VECTORS AND THE GEOMETRY OF SPACE.
Overview  About ETS: our students, our tools.  What’s New with TI-Npsire CAS?  Different Objects in the Same 2D Plot Window.  Why is Parametric 3D.
 Statistics package  Graphics package  Programming language  Can be used to share/reproduce analyses  Many new packages being created - can be downloaded.
Extraction of text data and hyperlink structure from scanned images of mathematical journals Ann Arbor, March 19, 2002 Masakazu Suzuki (Kyushu University)
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
17 VECTOR CALCULUS.
16 MULTIPLE INTEGRALS.
Development of Empirical Models From Process Data
1 Programming & Programming Languages Overview l Machine operations and machine language. l Example of machine language. l Different types of processor.
Notes, part 5. L’Hospital Another useful technique for computing limits is L'Hospital's rule: Basic version: If, then provided the latter exists. This.
Notes, part 4 Arclength, sequences, and improper integrals.
Circle Drawing algo..
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
Application of CAS to geodesy: a ‘live’ approach P. Zaletnyik 1, B. Paláncz 2, J.L. Awange 3, E.W. Grafarend 4 1,2 Budapest University of Technology and.
For AMS 200, 2009 Dept. of Applied Math & Statistics School of Engineering University of California Santa Cruz, CA A Very Short Introduction to LaTeX.
Introduction to Systems Analysis and Design Trisha Cummings.
Curve Modeling Bézier Curves
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Electric Field You have learned that two charges will exert a force on each other even though they are not actually touching each other. This force is.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Introduction to… About Tex & LaTeX What is TeX? What is LaTeX? Advantages - Disadvantages.
Fortran 1- Basics Chapters 1-2 in your Fortran book.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Applications Software. Applications software is designed to perform specific tasks. There are three main types of application software: Applications packages.
TIME 2012 Technology and its Integration in Mathematics Education 10 th Conference for CAS in Education & Research July 10-14, Tartu, Estonia.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
Intelligent Design Works presents. A Davis-Rutan Production.
Teorema Stokes. STOKES’ VS. GREEN’S THEOREM Stokes’ Theorem can be regarded as a higher-dimensional version of Green’s Theorem. – Green’s Theorem relates.
Matlab for Engineers About Matlab Chapter 1. Matlab for Engineers What’s in this Chapter? What is Matlab? Student Edition of Matlab How is Matlab used.
1 LaTeX For Dummies Mulugeta Gebregziabher Division of Biostatistics and Epidemiology MUSC April 4, 2011.
Testing and Debugging Version 1.0. All kinds of things can go wrong when you are developing a program. The compiler discovers syntax errors in your code.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Integrals  In Chapter 2, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.  In much the.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 2 Graphics Programming with C++ and the Dark GDK Library Starting.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Programming for Artists ART 315 Dr. J. R. Parker Art/Digital Media Lab Lec 10 Fall 2010.
Copyright © Cengage Learning. All rights reserved. 12 Limits and an Introduction to Calculus.
Introduction to AutoCAD Engineering Drawings
“Paper” output Root Graphics Workshop 16/07/2010.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
13 Functions of Several Variables
Advanced EM - Master in Physics We have now calculated all the intermediate derivatives which we need for calculating the fields E and B. We.
AUGUST 2. MATH 104 Calculus I Review of previous material…. …methods and applications of integration, differential equations ………..
SECTION 12.5 TRIPLE INTEGRALS.
Ma Communicating Mathematics Carl Eberhart and Paul Eakin Class 4 -- Getting Graphics.
Copyright © Cengage Learning. All rights reserved.
Chapter 5 More About LaTex. Packages A package, which takes the form of a file with a sty extension, can be used to alter formatting parameters, create.
In Chapters 6 and 8, we will see how to use the integral to solve problems concerning:  Volumes  Lengths of curves  Population predictions  Cardiac.
INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area. We also saw that it arises when we try to find the distance traveled.
5 INTEGRALS.
Observing the Current System Benefits Can see how the system actually works in practice Can ask people to explain what they are doing – to gain a clear.
Lecture 8: Measurement Errors 1. Objectives List some sources of measurement errors. Classify measurement errors into systematic and random errors. Study.
The inference and accuracy We learned how to estimate the probability that the percentage of some subjects in the sample would be in a given interval by.
TIME 2012 Technology and its Integration in Mathematics Education 10 th Conference for CAS in Education & Research July 10-14, Tartu, Estonia.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Complex Numbers and Equation Solving 1. Simple Equations 2. Compound Equations 3. Systems of Equations 4. Quadratic Equations 5. Determining Quadratic.
Obstacles in combining the use of various tools in solving mathematical problems – why is Copy/Paste often useless Matija Lokar Faculty of mathematics.
Copyright © Cengage Learning. All rights reserved.
ENGINEERING DRAWING LECTURE 4.
Modeling.
Distribution of the Sample Means
Modeling.
Modeling.
1 FUNCTIONS AND MODELS.
Graphics in TeX CONTENTS Sung-Ju Kang Department Of Physics
A Very Short Introduction to LaTeX
A9 Graphs of non-linear functions
Ann Arbor, March 19, 2002 Masakazu Suzuki (Kyushu University)
Presentation transcript:

CAS-aided Visualization in LaTeX documents for Mathematics Education ー Achievement of KETpic ー M. Kaneko, T. Abe, M. Sekiguchi, Y. Tadokoro, S. Yamashita, (Kisarazu National College of Tech.) & S. Takato (Toho Univ.)

Contents 1. What is KETpic ? 2. Simple demonstration of drawing pictures using KETpic 3. Other examples 4. Examples of space curves 5. Conclusion 6. Future works

What is KETpic?

KETpic is Macro Package for CAS (Maple, Mathematica etc.)

What can we do by using KETpic?

We can draw Fine Pictures in LaTeX documents We can draw Fine Pictures in LaTeX documents. (Fine = accurate & beautiful)

Usually many people use EPS. User’s document CAS EPS \includegraphics Compile User’s LaTeX text file Mathematical document The output (EPS) of CAS is inserted into the LaTeX text file by using command “includegraphics”.The above procedure fits in case of not only CAS but also various graphic softwares or Gnuplot. Also, the command of Maple and Mathematica which generates LaTeX file follows the above procedure.

BUT…

EPS is not satisfactory for us. The size of file is large. Graphics can not be corrected as we like. Mathematical expressions (e.g. legends, accessories, hatchings,...) are poor. What we want to do (drawing tangential line to a curve at a specified point, curves defined by implicit functions, etc. ) are not supported.

Solution So we have developed “KETpic”.

Though… Maple is NOT FREE KETpic for Maple has been accomplished (v1.7). This talk is concerned with this version mainly. Recently we have started transplanting KETpic to Mathematica. How to get KETpic? http://www.kisarazu.ac.jp/~masa/math/ (Of course FREE) Though… Maple is NOT FREE

Comparison with EPS KETpic User’s Tpic CAS document \input Compile User’s LaTeX Text file Mathematical document By using KETpic, graphical outputs of CAS are formatted to generate graphical codes (Tpic specials) and written on text files. We insert these files into LaTeX document by the command “input”.

It is a Fourier series approximation of the step function \pm 1 with period twice of pi.

A simple demonstration of drawing pictures by using KETpic An example from the convergence theorem of Fourier series.

Merit of KETpic (1) By using CAS, we can draw accurate curves easily in the LaTeX documents. The output of KETpic is just a text file, which is much smaller than EPS, JPEG, PDF etc. Therefore, it is easy to attach the output to E-mail.

Merit of KETpic (2) You can insert mathematical expressions at your favorite position in graphics, with the same quality as those in LaTeX text. You can use various accessories such as hatchings, tickmarks, legends, …, so that you can give students very expressive printed matter.

Other Examples Following examples are effective for math. education, and we actually use them in our classroom. chi^2 function 9-pointed circle polar coordinate asteroid tangential circles stability contour Japanese Mathematics (18C~19C) cycloid

Examples of space curves

This is the cross eyed view of the intersection of two cylinders.

These are the figures of regular icosahedron These are the figures of regular icosahedron. In the right figure, hidden line elimination of KETpic is used unlike the left. Skeletons like this are drawn automatically by using KETpic. You see the right figure is much more expressive than the left.

This is a picture used to educate spherical polar coordinate.

Mathematica version (1) Loading KETpic Get[StringJoin[“c:”,bksl[“ketpicmath.m”]]] Calculation of numerical data setwindow[{-2*Pi,2*Pi},{-2.3,2.3}]; f=(4/Pi)*Sum[Sin[(2*k-1)*x]/(2*k-1),{k=1,N}]; N=10; g=plotdata[{f,{x,XMIN,XMAX},PlotPoints->100}];

(3) Writing down the numerical data onto LaTeX file (“fig1.tex”) openfile[“e:\\Hungary/fig1.tex”]; openpicture["1cm“]: drwline[g]; closepicture[1]; closefile[];

This is a picture of chaos drawn with KETpic for Mathematica.

Mathematica Codes Putting 40000 points. Perhaps it is the delimitation of LaTeX and DVI.

Conclusion KETpic takes full advantage of CAS so that we can insert fine graphics into LaTeX document with reasonable efforts. KETpic has many merits which are effective for mathematics education. Especially it is useful when the outputs are used in math classroom as printed matter.

Future works Extension to other CAS’s Now on developing Mathematica version And other CAS’s, especially for free, such as Risa-Asir, Scilab, … Various and richer 3d-expression

KETpic is wide spread to the world. Please use KETpic! We hope KETpic is wide spread to the world.

Thank you for your attention. 感謝

Structure of user’s document Maple file (1) Loading KETpic > read `c:\\ketpicw.m`: Calculation of numerical data > setwindow(-2*Pi..2*Pi,-2.3..2.3): > f:=(4/Pi)*sum(sin((2*k-1)*x)/(2*k-1),k=1..N); > N:=10: > g:=plot(f,x=XMIN..XMAX,numpoints=100):

Writing down the numerical data onto LaTeX file (“fig1.tex”) > openfile(`e:\\Hungary/fig1.tex`): > openpicture("1cm"): > drwline(g): > closepicture(): > closefile():

LaTeX file (4) Generation of LaTeX file of graphic codes \begin{document} \input{fig1} \end{document} Then the output is the following picture:

This picture of cycloid can be drawn by using do-loop and the commands “rotate” and “translate” of Maple. We believe that the educational effect of this picture is not inferior to that of animation. Also this picture has the advantage that it can be used in the form of printed matter.

This picture of trochoid can be drawn by the same Maple program with only the coordinate of point substituted.

Inspiring students’ imagination While seeing these pictures, some student may put up a question “How will the picture become if ellipse rotate?” Then we can give them answer by using KETpic as in the next picture.

The roulette of the focus is called “Delauney curve”.

This is a trace of the circle which rotates twice around the given ellipse on the outer side of it.

In case of the rotation on the inner side of ellipse, the diameter of circle need to be small to a certain extent so that the rotation would not be interrupted.

This shows a delicate situation This shows a delicate situation. Whether safe or not safe is easily judged using the two diameters of ellipse and that of circle. Deduction of this safety condition is a good exercise for high school students.

This is a picture of 9-pointed circle This is a picture of 9-pointed circle. The dotted circle is drawn by automatic calculation of Maple.

This is a picture of circles which are tangent to each other and the two lines. To draw it, do-loop of Maple is used. Also hatching is done very easily.

This figure shows an example of the graph of function given by polar coordinate. Here do-loop of Maple is effectively used.

Closed chain circle The sum of the inverse for radii of dotted circles are the same as that of dashed circles.

This is the case that bold circles are put side by side This is the case that bold circles are put side by side. Then touching circle is turned upside down. This picture seems quite different from the previous one, but essentially the same.

These curves are graphs of chi^2 functions with various values of deviation.

These are graphs of functions obtained by integration of the above chi^2 functions. Without using CAS, it would be impossible to draw graphics like this.

Z=((x+1)^2+y^2)^(-1/2)+((x-1)^2+y^2)^(-1/2) This is contours of the Coulomb potential with two electric charges at (\pm 1,0). To draw this picture, “contourplot” is used.

The width and direction of hatchings are easily handled.

This figure is used to explain the stability of dynamical systems in economics classroom. You see that various kind of lines (real line, dotted line, dashed line,…) and arrowhead are very expressive