Click here to Skip to main content
14,936,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UDP Server Pin
Andy2027-Sep-07 4:48
MemberAndy2027-Sep-07 4:48 
GeneralRe: UDP Server Pin
Mark Salsbery7-Sep-07 5:22
MemberMark Salsbery7-Sep-07 5:22 
GeneralRe: UDP Server Pin
Andy2027-Sep-07 9:13
MemberAndy2027-Sep-07 9:13 
GeneralRe: UDP Server Pin
Moak8-Nov-07 12:37
MemberMoak8-Nov-07 12:37 
Questionhow to establish usb communication in MFC? Pin
ashokbngr5-Sep-07 22:43
Memberashokbngr5-Sep-07 22:43 
AnswerRe: how to establish usb communication in MFC? Pin
Cedric Moonen5-Sep-07 23:16
MemberCedric Moonen5-Sep-07 23:16 
Questionnumerical methods Pin
mitsui585-Sep-07 22:00
Membermitsui585-Sep-07 22:00 
AnswerRe: numerical methods Pin
Russell'5-Sep-07 22:39
MemberRussell'5-Sep-07 22:39 
homework?

don't tell me that you don't find the way to implement the secant-method or bisection method!Big Grin | :-D

You have only to implement the algorithm:

ask for a function f(x) and for the borders x1 and x2.
check that sign(f(x1)) != sign(f(x2)) .
Then compute x3 inside the interval (x1, x2). This according on the algorithm, in bisection case x3=(x1+x2)/2,....in secant method it's only the point where the line from (x1,f(x1)) to (x2,f(x2)) intercept the x-axe.
then choose the new interval (or x1-x3 or x3-x2) according on where is the root.
Then start again on the new interval.
Do this 10000...000 times and stop it. Or stop when the interval is "too small".

That's it.
Smile | :)


Russell

GeneralRe: numerical methods Pin
mitsui585-Sep-07 22:53
Membermitsui585-Sep-07 22:53 
GeneralRe: numerical methods Pin
Russell'5-Sep-07 23:13
MemberRussell'5-Sep-07 23:13 
GeneralRe: numerical methods Pin
mitsui587-Sep-07 4:35
Membermitsui587-Sep-07 4:35 
AnswerRe: numerical methods Pin
David Crow6-Sep-07 3:28
MemberDavid Crow6-Sep-07 3:28 
AnswerRe: numerical methods Pin
ollydbg239-Sep-07 1:05
Memberollydbg239-Sep-07 1:05 
QuestionHow can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:06
Memberyaminisridaran5-Sep-07 20:06 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
chandu0045-Sep-07 20:26
Memberchandu0045-Sep-07 20:26 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:30
Memberyaminisridaran5-Sep-07 20:30 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
chandu0045-Sep-07 20:51
Memberchandu0045-Sep-07 20:51 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
QuickDeveloper5-Sep-07 20:41
MemberQuickDeveloper5-Sep-07 20:41 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:43
Memberyaminisridaran5-Sep-07 20:43 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
Cedric Moonen5-Sep-07 20:50
MemberCedric Moonen5-Sep-07 20:50 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:56
Memberyaminisridaran5-Sep-07 20:56 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
Cedric Moonen5-Sep-07 20:59
MemberCedric Moonen5-Sep-07 20:59 
QuestionUsing MFC to access the internet Pin
D_code_writer5-Sep-07 19:43
MemberD_code_writer5-Sep-07 19:43 
AnswerRe: Using MFC to access the internet Pin
Hamid_RT5-Sep-07 20:20
MemberHamid_RT5-Sep-07 20:20 
GeneralRe: Using MFC to access the internet Pin
ThatsAlok6-Sep-07 5:19
MemberThatsAlok6-Sep-07 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.