473,320 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Integration of differential equations in PHP

Is there a package of functions to do numerical integration in PHP ?

Oct 23 '07 #1
3 2205
In article <11**********************@q3g2000prf.googlegroups. com>,
Zayde <ph*******@yahoo.comwrote:
>Is there a package of functions to do numerical integration in PHP ?
If a google search turns up nothing, there are such packages for
the C language which would be easy to translate to php. The
functions in _Numerical Recipes in C_ (available for free online at
http://www.nrbook.com/a/bookcpdf.php ) would work too.

-A
Oct 23 '07 #2

"Zayde" <ph*******@yahoo.comwrote in message
news:11**********************@q3g2000prf.googlegro ups.com...
Is there a package of functions to do numerical integration in PHP ?
"differential equations" has much more to the subject than simply doing an
integration. However, for evaluating an integral (now it is called an
"anti-derivative" for some strange reason, it is pretty easy to do a
Simpson's rule. You have all your points in an array and simply march
through it appropriately (1-4-2-4-2........-4-1) and multiply the product
properly. No big deal.

Shelly
Oct 23 '07 #3
Hi,

You can use the Numerical class by Richard Munroe:

http://www.phpclasses.org/browse/package/2812.html

You can also run scilab from the command line:

scilab -nw < /tmp/input

Where the file contains your scilab functions. scilab examples:

http://pauillac.inria.fr/cdrom/www/s...o-html001.html
On Oct 23, 3:05 pm, Zayde
<phdfro...@yahoo.comwrote:
Is there a package of functions to do numerical integration in PHP ?

Oct 27 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: smjmitchell | last post by:
Hi All, I need to display some equations on a form in VB (I will print the result in a text box beside the equation). The equations will in some cases be quite complicated and include...
1
by: tim groulx | last post by:
I have recently started receiving failures on a differential backup that previously succeeded. Nothing has changed with the structure of the db. Here is the message, any ideas are welcomed. Thanks....
1
by: Burt | last post by:
My company needs to move a 30 Gig SQL Server across the country as soon as possble on July 1. Turns out moving the full db across the network takes a few hours. I'd like to move a full copy of...
8
by: vj | last post by:
Hi all, I want to solve the two equations u*tan(u)=w and u^2 + w^2=V^2, where V is a known constant, and u and w are the two unknowns to be determined. Please can someone suggest me how to...
2
by: DaRok28 | last post by:
// Program Description: // This program solves quadratic equations to find their roots. This // program takes values of a, b, and c as input and outputs the root(s). // The user can repeat the...
0
by: umeshpotdar | last post by:
hi frdz how can i restore differential backup files by the query or any other way to do this. i am using sql server 2005 i tried to do this using foll query RESTORE DATABASE Uploading FROM...
4
by: sdufoo | last post by:
Hallo guys, I have to solve a system of Differential equations: http://picasaweb.google.de/sdufoo/EcuacionesDiferenciales02/photo#5228386949051570594 these are the equations of an induction...
1
by: cryogeneric | last post by:
Hello everybody, I'm not all that familiar with backing up and restoring databases on SQL 2005 and I have a question. First, let me give you a little insight into how we're setup and what we want...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.