Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UDP Server Pin
Andy2027-Sep-07 4:48
Andy2027-Sep-07 4:48 
GeneralRe: UDP Server Pin
Mark Salsbery7-Sep-07 5:22
Mark Salsbery7-Sep-07 5:22 
GeneralRe: UDP Server Pin
Andy2027-Sep-07 9:13
Andy2027-Sep-07 9:13 
GeneralRe: UDP Server Pin
Moak8-Nov-07 12:37
Moak8-Nov-07 12:37 
Questionhow to establish usb communication in MFC? Pin
ashokbngr5-Sep-07 22:43
ashokbngr5-Sep-07 22:43 
AnswerRe: how to establish usb communication in MFC? Pin
Cedric Moonen5-Sep-07 23:16
Cedric Moonen5-Sep-07 23:16 
Questionnumerical methods Pin
mitsui585-Sep-07 22:00
mitsui585-Sep-07 22:00 
AnswerRe: numerical methods Pin
Russell'5-Sep-07 22:39
Russell'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
mitsui585-Sep-07 22:53 
GeneralRe: numerical methods Pin
Russell'5-Sep-07 23:13
Russell'5-Sep-07 23:13 
GeneralRe: numerical methods Pin
mitsui587-Sep-07 4:35
mitsui587-Sep-07 4:35 
AnswerRe: numerical methods Pin
David Crow6-Sep-07 3:28
David Crow6-Sep-07 3:28 
AnswerRe: numerical methods Pin
ollydbg239-Sep-07 1:05
ollydbg239-Sep-07 1:05 
QuestionHow can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:06
yaminisridaran5-Sep-07 20:06 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
chandu0045-Sep-07 20:26
chandu0045-Sep-07 20:26 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:30
yaminisridaran5-Sep-07 20:30 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
chandu0045-Sep-07 20:51
chandu0045-Sep-07 20:51 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
QuickDeveloper5-Sep-07 20:41
QuickDeveloper5-Sep-07 20:41 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:43
yaminisridaran5-Sep-07 20:43 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
Cedric Moonen5-Sep-07 20:50
Cedric Moonen5-Sep-07 20:50 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:56
yaminisridaran5-Sep-07 20:56 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
Cedric Moonen5-Sep-07 20:59
Cedric Moonen5-Sep-07 20:59 
QuestionUsing MFC to access the internet Pin
D_code_writer5-Sep-07 19:43
D_code_writer5-Sep-07 19:43 
AnswerRe: Using MFC to access the internet Pin
Hamid_RT5-Sep-07 20:20
Hamid_RT5-Sep-07 20:20 
GeneralRe: Using MFC to access the internet Pin
ThatsAlok6-Sep-07 5:19
ThatsAlok6-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.