Links:
view my trainer profile on TrainerExchange.com Listed on: Dmegs Web Directory

PHP video tutorials

phpmath.com
phpclasses.org
Canadian Mathematical Society
camel.math.ca

Algebra.com
Blogs:
rationalcode.com
Silverlight Playground

Technology:
silverlight.net
XNA Creators Club Online
php
asp.net


PHP Root finder!

by Administrator 6. March 2009 10:34

This cool PHP script takes an expression, f(x) and calculates all the roots between a start and end point. It also provides a nice graphical output which can be saved.

Here is  a sample output:

 

Click to try

You can try it yourself here. The code is downloadable from phpclasses.org.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Algorithms and Data Structures | Mathematics | PHP

2D parametric diagram in PHP

by Administrator 6. March 2009 10:30

This class takes x(t) and y(t) as a parametric equation and draws its diagram in jpeg format.

Here is a sample output:

Click to try

Try it yourself. You can download the code here.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

Algorithms and Data Structures | Mathematics | PHP

Drawing a function diagram using PHP

by Administrator 6. March 2009 10:12

Here I'm introducing an interesting PHP program.

You can pass an expression, f(x) and a range for your x variable and it draws the functions diagram for you. The generated diagram can be saved an a normal image.

Here you can see a sample diagram for f(x) = sin(x/10)

Try it yourself here. The code also can be downloaded from phpcclasses.org .

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Algorithms and Data Structures | PHP

Draw parametric 3D diagrams using PHP

by Administrator 6. March 2009 09:54

When I was a student at universoty, I used to do lots of scientific PHP programs just for fun. Here is the one I really like. After 7 years I still can spend time playing with it and graw really cool graphs.

This PHP application takes 3 parametric expressions for x, y and z dimentions and draws the 3D graph representing the expressions. You can also save the result as an ordinary image. This program is really useful for students who like mathematics and algebra. 

t, is the variable which changes within the range you provide so foreach specific t, we will get a x, y and z values which will form our cool 3D graph

Here is a sample output:

You can try it here. Just make sure you type the expressions in C++ (PHP) format. This code can be downloaded here.

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Algorithms and Data Structures | Mathematics | PHP

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

Reza Salehi
Microsoft Certified Professional

Microsoft Certified Trainer

Microsoft Certified Professional Developer

Microsoft certiied Technology Specialist (ASP.NET 2.0)

About Me

I started this blog to share my ideas, programs and interesting programming notes. Visitors who are interested in mathematics, physics and astronomy may find my blog interesting.

I live in Toronto, Canada and work as a Senior Software Developer and Microsoft Certified Trainer.

My online Microsoft web page is available  here.  Online business card.

RecentComments

Comment RSS