Archiv der Kategorie Uncategorized

Visualizing the Newton Algorithm in the Plane

Continuing my last blog entry, let us try the Newton Algorithm with two variables. First we define the function f(x,y). We use an example where we know the zeros exactly. \(f(x,y) = (x+iy)^3-1.\) The zeros are the three roots of … Weiterlesen

21. September 2015 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Experiences with Scilab – 3

Let us try differential equations. We want to solve the following problem. \(y“ = -g + k |y’|^a, \quad y(0)=h.\) This simulates a falling body with friction. We want to know, when the body hits the ground. After reformulating the … Weiterlesen

31. Dezember 2014 von mga010
Kategorien: English, Euler, Uncategorized | Schreibe einen Kommentar

Review of a Course at the Iversity

I recently followed a course about „Monte-Carlo methods in finance“ on Iversity done by Alberto Suaréz. I did that to learn about online courses in general and specifically at Iversity, to learn about the Black-Scholes model in finance and the fair … Weiterlesen

22. April 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Simulating Jumps in EMT

I promised to show how distributions with discrete jumps can be simulated. The easiest way is to use a fine granularity dt of time. If we assume that n events occur during a time length 1, then we get the … Weiterlesen

06. April 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

EMT – Version 2014-03-03

This version features some changes in the plot routines. First of all, there is now an easy way to use GnuPlot. I posted an example in the previous announcement. Here is another one. >&plot3d(atan(-x^2+y^3/4),[x,-4,4],[y,-4,4],[grid,50,50],[gnuplot_pm3d,true]): Here is the same plot in … Weiterlesen

03. März 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Log Normal Distribution

Someone asked me how to generate and compare log-normal distributed data. Here is a short program. >data=exp(normal(1000)); … >d=0.2; {x,y}=histo(data,v=0:d:10); … >plot2d(x,y/1000/d,>bar,fillcolor=lightgray); … >plot2d(„qnormal(ln(x))/x“,epsilon,10,color=red,thickness=3,>add): The simulated data can easily be generated by taking the exponential of normal distributed data. The … Weiterlesen

24. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-02-19

I extended the function color() so that it accepts vectors of colors. These vectors are used by line plots or marker plots with matrices. Each row of the matrix is plotted with a different color. >x=linspace(0,1,200); y=x^(1:10)‘; plot2d(x,y,color=1:10): The trick … Weiterlesen

19. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-02-18

One user pointed me to the old fashioned style in vectorfield() and vectorfield2(). I changed that. It is now possible to directly use some options just as in plot2d(), or to return the data only and later plot with plot2d(). … Weiterlesen

18. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox for Linux

As some of you know EMT will run in Linux under Wine. The graphics is now on par with Windows, since I use my own smoothing routine. But the status bar is missing, there is not 64bit version, the configuration … Weiterlesen

13. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-02-10

In the new version I have improved the anti-aliasing of images, and apply it to the images in the graphics window too. Computers are now fast enough to support this. Here is an example. The old version used the Windows … Weiterlesen

10. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

← Ältere Artikel

Neuere Artikel →