C programs based on Numerical Computation

 you can get source codes in C based on numerical computation from

    http://zsoftwares.googlepages.com/CPrograms.html

  Many numerical computation source codes in C /C++ are given on above
website.
  I have mentioned some of them below. And you can see the complete
source code before
  downloading.

  - Creation of Polynomial ,addition, Evaluation etc..
  - Bisection Method, Secant Method, And False Position method.
  - Newton raphson method and Modified Newton Raphson.
  - Langranges Interpolation method.
  - Newton Gregory forward and backward method.
  - Euler's method and modified method.
  - Trapezoidal method and Simpson's 1/3 and 3/8 rule
  - Solution of linear simultaneous equation
  - Union and Intersection of Set.
  - Area of Circle and circumference of circle. etc

 http://zsoftwares.googlepages.com/CPrograms.html

0
georgerxz (16)
9/7/2007 5:20:25 AM
comp.lang.c 29890 articles. 34 followers. spinoza1111 (3247) is leader. Post Follow

2 Replies
151 Views

Similar Articles

[PageSpeed] 38
On Sep 7, 7:20 am, george...@gmail.com wrote:
>  you can get source codes in C based on numerical computation from
>
>    http://zsoftwares.googlepages.com/CPrograms.html
>
>   Many numerical computation source codes in C /C++ are given on above
> website.
>   I have mentioned some of them below. And you can see the complete
> source code before
>   downloading.
>
>   - Creation of Polynomial ,addition, Evaluation etc..
>   - Bisection Method, Secant Method, And False Position method.
>   - Newton raphson method and Modified Newton Raphson.
>   - Langranges Interpolation method.
>   - Newton Gregory forward and backward method.
>   - Euler's method and modified method.
>   - Trapezoidal method and Simpson's 1/3 and 3/8 rule
>   - Solution of linear simultaneous equation
>   - Union and Intersection of Set.
>   - Area of Circle and circumference of circle. etc
>
>  http://zsoftwares.googlepages.com/CPrograms.html

Are you aware of the fact that Numerical Recipes with source code in C
is available freely online ?

R




0
9/7/2007 6:04:43 AM
On Sep 6, 10:20 pm, george...@gmail.com wrote:
>  you can get source codes in C based on numerical computation from
>
>    http://zsoftwares.googlepages.com/CPrograms.html
>
>   Many numerical computation source codes in C /C++ are given on above
> website.
>   I have mentioned some of them below. And you can see the complete
> source code before
>   downloading.
>
>   - Creation of Polynomial ,addition, Evaluation etc..
>   - Bisection Method, Secant Method, And False Position method.
>   - Newton raphson method and Modified Newton Raphson.
>   - Langranges Interpolation method.
>   - Newton Gregory forward and backward method.
>   - Euler's method and modified method.
>   - Trapezoidal method and Simpson's 1/3 and 3/8 rule
>   - Solution of linear simultaneous equation
>   - Union and Intersection of Set.
>   - Area of Circle and circumference of circle. etc
>
>  http://zsoftwares.googlepages.com/CPrograms.html

Any relation to one Herbert Schildt?  Here's a quality clue:
C:\junk>grep "void main" *.c
  ADD_LONG.C (    165): void main()
      ADV1.C (      5): void main()
   Assign1.c (      7): void main()
   Assign2.c (     14): void main()
   Assign3.C (     15): void main()
   Assign4.c (     21): void main()
   Assign5.c (     20): void main()
   Assign6.c (     22): void main()
   Assign7.c (     15): void main()
   Assign8.c (     29):  void main()
   Assign9.c (     21): void main()
   ave_per.c (      4): void main()
  BFS_GRAP.C (    220): void main()
    BI_TRE.C (    154): void main()
   BIN_SER.C (    163): void main()
   BINTDEC.c (      4): void main()
    BT_BFS.C (    143): void main()
  COG_DATA.C (     54): void main()
    D_LINK.C (     38): void main()
     DL_OP.C (    119): void main()
    EDITOR.C (     31): void main()
     excha.c (      5): void main()
    FIBREC.C (      4): void main()
      FILE.C (     39): void main()
  INSE_DEL.C (     50): void main()
  LIN_SORT.C (     43): void main()
  LINK_REV.C (     45): void main()
      MERG.C (     87): void main()
 MUL_LISTS.C (    125): void main()
       NC1.C (     23): void main()
       NC2.C (     22): void main()
       NC3.C (     13): void main()
       NC4.C (     15): void main()
       Nc5.c (     25):  void main()
       Nc6.c (     24): void main()
       Nc7.c (     22): void main()
       Nc8.c (     13):  void main()
       Nc9.c (     14):  void main()
   POLY_OP.C (    185): void main()
     POLYX.C (     69): void main()
   prepost.C (    217): void main()
    Q_LINK.C (     61): void main()
     radia.c (      5): void main()
  S_LIN_OP.C (    105): void main()
 Shellsort.c (      6): void main()
  SORCRTNO.C (      4): void main()
     Spars.C (     61): void main()
  STA_LINK.C (     62): void main()
      STK1.C (     37): void main()
       STR.c (      5): void main()
  str_stdl.c (      5): void main()
      TEST.c (      4): void main()
    UNIINS.C (    118): void main()

C:\junk>grep gets *.c
   Assign4.c (     48):                         gets(s1);
   Assign4.c (     58):                     gets(s1);
   Assign4.c (     68):                     gets(s1);
   Assign4.c (     78):                         gets(s1);
   Assign4.c (     88):                         gets(s1);
   Assign4.c (     98):                     gets(s1);
   Assign4.c (    101):                         gets(s2);
   Assign4.c (    111):                     gets(s1);
   Assign4.c (    114):                     gets(s2);
   Assign4.c (    127):                         gets(s1);
   Assign4.c (    130):                     gets(s2);
   Assign5.c (     58):                         gets(a);
   Assign5.c (     66):                         gets(a);
   Assign5.c (     74):                         gets(a);
   Assign5.c (     82):                         gets(a);
   Assign5.c (     90):                         gets(a);
   Assign5.c (     98):                         gets(a);
   Assign5.c (    101):                         gets(b);
   Assign5.c (    109):                         gets(a);
   Assign5.c (    112):                         gets(b);
   Assign5.c (    120):                         gets(a);
   Assign5.c (    123):                         gets(b);
   Assign5.c (    136):                         gets(a);
   Assign8.c (     79):                           gets(studname);
   Assign8.c (    104):                           gets(studname);
   Assign8.c (    151):  gets(e.name);
   ave_per.c (     15):           gets(s1);
  COG_DATA.C (     67):   gets(new->name);
  COG_DATA.C (     70):   gets(new->class);
  COG_DATA.C (     80):   gets(new->address);
  COG_DATA.C (     97):  gets(sname);
      FILE.C (     19):  gets(s.name);
      FILE.C (     76):           gets(name);
      FILE.C (     99):           gets(name);
       STR.c (     30):                    gets(a);
       STR.c (     36):                    gets(a);
  str_stdl.c (     31):                          gets(s1);
  str_stdl.c (     40):                          gets(s1);
  str_stdl.c (     48):                          gets(s1);
  str_stdl.c (     56):                          gets(s1);
  str_stdl.c (     64):                          gets(s1);
  str_stdl.c (     72):                          gets(s1);
  str_stdl.c (     75):                          gets(s2);
  str_stdl.c (     91):                          gets(s1);
  str_stdl.c (     94):                          gets(s2);
  str_stdl.c (    109):                          gets(s1);
  str_stdl.c (    112):                          gets(s2);

If you want some numerical C software, try this stuff:
http://www.moshier.net/

Or this stuff:
http://www.gnu.org/software/gsl/

Here are a few of the sensible math things I have found on the net:
 arprec
 arprec-2.1.100
 arprec-2.1.101
 arprec-2.1.103-windll
 arprec-2.1.99-win
 ATLAS
 benchfft-3.1
 benchmark
 bond
 cfft
 clippoly-pl11
 cln-1.1.13
 ComputationalGeometry
 crlibm-1.0beta1
 dist
 double_exponential_quadrature
 Fflas_Ffpack
 fftw-3.1.2
 fortran
 ggnfs
 gmp-4.2.1
 gmtl-0.4.12
 gnuplot
 gnuplot-4.2.0
 goblin.2.8b15
 GotoBLAS
 graphsource
 gsl-1.9
 igraph-0.3.3
 intde
 jacobi
 Lambert
 lapack-3.1.1
 linbox-1.1.2
 lp_solve_5.5
 man-eng-scilab-4.1
 Maxima-5.11.0
 miracl
 mpfi-1.3.4-RC3
 mpfr
 mpfr-2.2.1
 mpfrcpp-1.2.0
 mpfrpp
 nurbsR2006b
 octave
 ofeli
 ogata
 ooura
 opt
 optalg
 pari-2.4.0.alpha
 pdf
 qd
 qd-2.2.0
 qd-2.2.4-windll
 qd-2.2.5
 qd-win-2.1.19
 sba-1.2
 SciEng
 scilab-4.1
 scslib-1.4.1
 shaw
 specfun
 statlib
 stats
 stems
 SuiteSparse
 SuperLU_3.0
 symplectic
 tmp
 toms
 tvom
 ubasic
 ump-0.8.6
 units-1.4.17
 usr
 utils
 wallaroo-0.1
 WinNTL-5_4
 wxMaxima
 wxMaxima-0.7.1
 xblas_1.0
 xnumbers
 yacas-1.0.63

I understand that you want to be helpful.  I suggest reading K&R2.

0
dcorbit (2698)
9/8/2007 1:34:47 AM
Reply:
Similar Artilces:

US-TX-Austin: Desktop Support, Windows, MS Office Suite, Telecom exp.; C-P (45314657617)
US-TX-Austin: Desktop Support, Windows, MS Office Suite, Telecom exp.; C-P (45314657617) ======================================================================================== Position: Desktop Support Reference: SMC01617 Location: Austin TX Duration: C-P Skills: Windows MS Office Suite Telecom experience Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45314657617. ...

A little bash/perl programming help?
Okay, I admit it, I'm stumped. I'm trying to write a script to parse out text files into 80 charter line lengths with column numbering over each line and I just can't seem to get the logic straight in my head. The desired output would look (something) like: 123456789012345678901234567890123456789012345678901234567890 All work and no play makes jack a dull boy. All work and no 123456789012345678901234567 play makes jack a dull boy. Putting each 80 character section on a separate line with the column numbers over it. Anyone have anything that does something like this? I was tryi...

dicomwrite in C++
I have only been working with dicomwrite for a couple of weeks now as well as dicom images. What exactly does dicomwrite do when writing the image file? Is it simply taking your raw (pixel) data and attaching header information to it or is there a more in depth write function taking place? I have tried looking at the m-file, but cannot get a handle on what's going on. It appears to only be writing header info. I ask because I would like to be able to write dicom images using c++, following a similar manner as I have done in Matlab, and don't want to use the Matlab compiler. Can t...

Learning to program Linux/C (**newbie**)
This may be in an FAQ somewhere... I would like to learn C, specifically towards understanding the Linux source code. How could/should I start? Marco Marco Shaw <marco@znbnet.nb.ca> wrote: > This may be in an FAQ somewhere... I would like to learn C, specifically > towards understanding the Linux source code. > How could/should I start? Read a book on C? I used K&R when I wrote my first program in C (a postscript driver). It helps to have an AIM when learning a language - like being able to print out your papers :). Peter Marco Shaw wrote: &g...

Interface with C codes
What Ada spec should be for the following C prototype where BOOT_PARAMS is a struct and responding Ada type is type Boot_Parameter_Type is record Boot_Dev : Interfaces.C.Strings.Chars_Ptr; -- ... end record; pragma Convention (C, Boot_Parameter_Type); type Boot_Parameter_Type_Access is access Boot_Parameter_Type; pragma Convention (C, Boot_Parameter_Type_Access); typedef struct /* BOOT_PARAMS */ { char bootDev [20]; /* boot device code */ * ... * } BOOT_PARAMS; Note that I can not use Ada 2012 yet. char * bootStringToSt...

Do I still need to use a software firewall program with a router.
I have a Linksys wireless Access point router on my home system do I still or should I use a software firewall program also? KENNETH MAULTSBY wrote: > I have a Linksys wireless Access point router on my home system do I still > or should I use a software firewall program also? > > > > Probably. -- The e-mail address in our reply-to line is reversed in an attempt to minimize spam. Our true address is of the form che...@prodigy.net. On Sat, 08 May 2004 05:24:24 GMT, "KENNETH MAULTSBY" <kmaultsby@verizon.net> wrote: >I have...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45345614409)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45345614409) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

C++: Input pattern and find in text file
Hi, I was wondering if you could help me. I am writing a program in C++, and the problem is, i have very limited experience in this language. I would like my user to enter a specific pattern, and I want my program to search a text file for this pattern, and let the user know if this pattern exists or not. So far, i have figured out how to make my prgram read the text file, but i'm not sure how to take the information the user inserts and compare it with the data in the text file. It would be great if you could point me in the right direction, and give me a few tips on how i should go ...

Help with C++ compile error
Hi, We have a class that defines an exception: template <class A, class B, class C, class D > class X : public Y { ... class SomeException : public BaseException { ... } }; We need to catch the exception in another class: template <class Dispatcher> class Something : public YetAnotherClass { Dispatcher *fDispatcher; void HandleMessage(...) { try { ... } catch (Dispatcher::SomeException) // This line has the error { ... } } .... [some code omitted for brevity] This code compiles unde...

US-TX-Austin: Software Eng., 5yrs exp., C++ mastery on OOP, C, Assembly, debug; (45315332408)
US-TX-Austin: Software Eng., 5yrs exp., C++ mastery on OOP, C, Assembly, debug; (45315332408) ============================================================================================= Position: Software Eng. Reference: SMC01564 Location: Austin TX Duration: Perm Skills: BSCS or BSEE with a minimum of 5 years related experience. 3-5 years experience implementing development tools for embedded systems. Mastery of C++ with emphasis on object oriented programming concepts. Proficiency with...

US-TX-Austin: Sr. Circuit Design Eng., PhD., analog design, Clock recovery; C-P (45320557608)
US-TX-Austin: Sr. Circuit Design Eng., PhD., analog design, Clock recovery; C-P (45320557608) ============================================================================================= Position: Sr. Circuit Design Eng. Reference: SMC01502 Location: Austin TX Duration: C-P Skills: PhD Strong emphasis on analog design Experience in one or more of the following: Analog Circuit Design A/D Converters D/A Converter Switch-cap filters PLL�s Clock recovery circuits ...

Recession-like bar based on time period in Matlab
I am trying to create a shaded bar behind my line graph. It will be for economic data and will be used as a "credit freeze" time period indicator(gray bars up only). This is much like a recession bar, however it isn't when something goes below a certain level on the graph, it is specific dates. I am new to matlab, so was wondering if anyone could help a damsel in distress? Thanks! sc2 <shanacase3@gmail.com> wrote in message <c04811ae-e6c1-4574-b456-4b95f4f6e92b@y3g2000vbm.googlegroups.com>... > I am trying to create a shaded bar behind my line graph. ...

Compiling matlab to C, and calling from within C
I'd like to compile my matlab programs into C functions, and integrate them into a large C architecture. I've tried writing hello world, and doing mcc, then bringing the C file into VC++, and linking to the libraries, but when I try and call my function I get 'Not enough input arguments'. An example is below. The code is generated my mcc except for the main() method which I have added to make it run. The output is: test ERROR: Not enough input arguments. EXITING Press any key to continue Please help, this is driving me nuts, is there any good docmentation on how to i...

how c-move and c-store works ?
Hello, i'll tell you what i know firstly. then i'll ask my questions.. All the things that i understand from C-Move service class Client wants to get a file from server. It issues C-Move service to Server. This C-Move service holds informatioon . In its command set, Move Destination field will be AE of the server. Because server will start to perform C-Store Service. Server prepares a C-Move Rsp to Client and start a new association to client. Client become a SCP. To do that, client accept requests from its port 104.. Server start to send store-rq packets using this channe...

FAQ 3.16 How can I make my Perl program run faster?
This message is one of several periodic postings to comp.lang.perl.misc intended to make it easier for perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with Perl. -------------------------------------------------------------------- 3.16: How can I make my Perl program run faster? The best way to do this is to come up with a better algorithm. This can often make a dramatic difference. Jon Bentley's book *Programming Pearls* (that's not a misspelling!) has some good tips on optimization, ...

US-TX-Austin: SW Support Eng.,Spt custom SW applications, C++, SQL, SQL Server; (45329632411)
US-TX-Austin: SW Support Eng.,Spt custom SW applications, C++, SQL, SQL Server; (45329632411) ============================================================================================= Position: SW Support Eng. Reference: SMC01741 Location: Austin TX Duration: Perm Skills: Exp supporting custom software applications either to internal and / or external clients. Assist customers in resolving issues related to the installed application. Good understanding of C++ methodology / development in a windows e...

Transmitting strings via tcp from a windows c++ client to a Java server
Hi all, We have a C++ client which runs on Windows and that needs to transmit char* / wchar* strings to and from a Java server. The client should correctly handle both 'standard' languages & east Asian languages (i.e. using wchar). Now, I'm sure there is a best practice for doing so , I just haven't found it yet :-) My best bet would be always encoding the string in UTF-8 before sending it via the net, but I could be wrong. Your help will be highly appreciated. Thanks, Gilad On 19 Feb 2006 12:02:11 -0800, "qqq111" <GiladHa@gmail.com> wrot...

How to implement C++ class heritage properties in C using C struct?
hi,all, I have a C++ program need to convert to c language to be used in a emabedded system. the problem is that the original code was writtern in C++ language with Parent class and some child class. How can I invert these C++ code into pure c code by using struct in C language? Can somebody give me any ideas? thanks. For example, how to conver the following code into pure c code? class PARENT { public: virtual int Init(); virtual int Add(); virtual int Sub(); int Otherfunc(); private: int x; int y; int z; }; class CHILD1: public PARENT { public: int Init(); int Add(); int CH...

LEACH-C
Is there anyone can help me in LEACH-C matlab code? "Manar " <manarrawabdeh@hotmail.com> wrote in message <l81uce$909$1@newscl01ah.mathworks.com>... > Is there anyone can help me in LEACH-C matlab code? yes upload leach-c code matlab code please i need the code of leach-c can give me thanks ...

C++ Homework. Please help :-)
I've been acing my class up to this far however the teacher has given an homework assignment that I just cannot seem to come up with an algorithm to do this. I've put about 5 hours within the past day or say pondering an algorithm that conforms to these rules: 1) Cannot use function(s), array(s) 2) Must ONLY use loop structures (for, do...while) I have all the source setup BUT the algorithm. Anyways here is the source (the question in included). Also note that I am not asking for the answer; I just want a 'push' into find the correct answer. Thanks :-) //*****...

US-TX-Southlake: Architect/Developer, C++, OOAD, CORBA, SQL, NSK; C-P (45293057610)
US-TX-Southlake: Architect/Developer, C++, OOAD, CORBA, SQL, NSK; C-P (45293057610) =================================================================================== Position: Architect/Developer Reference: SMC01240 Location: Southlake TX Duration: C-P Skills: Must have experience developing truly fault-tolerant mission- critical business software that can run 24x7. Excellent c++, OOAD, CORBA and SQL knowledge is a must. Must also have extensive experience with system profiling of c++ applications, tuning efforts,...

Frayed A/C Adapter Cord- Legal to Sell?!
I received a refurbished laptop with a _frayed_ A/C Adapter cord wrapped in _scotch_ (not even electrical!) tape. Besides the issue of the blatant decepton (the only way it would not have been would have been if the item were listed as "as is", which it was _not_), does selling a product in such a hazardous condition violate any specific consumer safety laws? Where can I find out? Thank you very much for any info. (and thanks for the replies to my previous posts) --- 'Reply' field invalid. Please reply to group. Thank you. First, are you talking about the cord from the w...

HELP: need advanced search template -- I know nothing about programming.
I know nothing about programming but I am building a website (written with php) that allow people post some info. Is there a site I can get some templates or php scripts for an advanced search function? The Advanced Search function shall able to search any posted info by a postal code/zip code within certain kms and be able to search by map by clicking to US/Canada map to get to state, then to cities than to towns.... thanks much in advance. -- PLEASE NOTE: comp.infosystems.www.authoring.cgi is a SELF-MODERATED newsgroup. aa.net and boutell.com are NOT the originators of the articles and...

.P file for C/C++ Tutorial on ZX81
I have just written a short tutorial on vb81 to create the file at www.3day.co.uk/CTUT.P I hope to add to it and at some time, actually create a C/C++ compiler for the ZX81 have fun, the tutorial shows you how to do slightly more than print "Hello World" ;-) although, at the moment you will have to use a C/C++ compiler on your PC... messianic light <damianjohnbrown@yahoo.co.uk> did eloquently scribble: > I have just written a short tutorial on vb81 to create the file at > www.3day.co.uk/CTUT.P > I hope to add to it and at some time, actually create a C/C++ compiler &...

Better C/C++ Than C/C++?
I am looking for a good systems programming language that can be used instead of C/C++. My qualifications for the language are: * mature compiler(s) that produce native-code binaries (for Windows) * open source - preferable, but not 100% necessary Thanks, Kevin "Kevin Albrecht" <kevin@albrecht.net> writes: > I am looking for a good systems programming language > that can be used instead of C/C++. My qualifications > for the language are: > > * mature compiler(s) that produce native-code > binaries (for Windows) Ocaml, D, cyclone, Eiffel, Beta >...