-
Category : ADO-ODBC
Tags :
- Update : 2014-12-27
- Size : 128kb
- Downloaded :1次
- Author :光**
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
1. Achieve the dichotomy solve the equations. Equation f double SolveRoot (double (* pf) (double x), double a, double b, int n) here, pf points to a function f, f used to define the requirements for the solution of (x) = 0: write and use the following function , a and b are unknown solution x of the upper and lower bounds (i.e., a < = x < = b), n is the number of cycles. For example, if f (x) = x* x-2, then SolveRoot (f, 1,2,100) returns 1.414213562373095, i.e., the equation for x* x = Solution 2. Dichotomy principle is repeatedly divided into two equal sections to the interval, then the solution which contains half the place of the range, and so on, to get to meet the accuracy of the solution. It does this by checking f (a) and f (b) of the symbol to determine whether the interval Solutions. Run results: The first behavior: SolveRoot (f, 1,2,10) = 1.5 among several lines of the last acts: The exact SolveRoot = 1.414213562
Packet file list
(Preview for download)
4\6.cpp
.\c++_ch06_06.vcxproj
.\c++_ch06_06.vcxproj.filters
.\Debug\6.obj
.\.....\c++_ch06_06.lastbuildstate
.\.....\c++_ch06_06.log
.\.....\CL.read.1.tlog
.\.....\CL.write.1.tlog
.\.....\link-cvtres.read.1.tlog
.\.....\link-cvtres.write.1.tlog
.\.....\link-rc.read.1.tlog
.\.....\link-rc.write.1.tlog
.\.....\link.read.1.tlog
.\.....\link.write.1.tlog
.\.....\vc110.idb
.\.....\vc110.pdb
.\Debug
4
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information