Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: make multiple mdi child windows scroll together Pin
Ryan Binns30-Sep-04 13:48
Ryan Binns30-Sep-04 13:48 
GeneralShow animation on the dialog Pin
ic@29-Sep-04 15:09
ic@29-Sep-04 15:09 
GeneralRe: Show animation on the dialog Pin
Christian Graus29-Sep-04 15:10
protectorChristian Graus29-Sep-04 15:10 
GeneralRe: Show animation on the dialog Pin
ThatsAlok29-Sep-04 18:37
ThatsAlok29-Sep-04 18:37 
GeneralRe: Show animation on the dialog Pin
Muhammad Azam29-Sep-04 19:06
Muhammad Azam29-Sep-04 19:06 
GeneralRe: Show animation on the dialog Pin
ic@30-Sep-04 11:19
ic@30-Sep-04 11:19 
GeneralNumerical Methods Program Pin
L_JIMENEZ29-Sep-04 15:07
L_JIMENEZ29-Sep-04 15:07 
GeneralRe: Numerical Methods Program Pin
styx1300129-Sep-04 16:21
styx1300129-Sep-04 16:21 
hi,
first you must know how to create a simple application and include graphics in it. I can't learn that, if u don't know buy a book like "C++ for the dummies" Wink | ;-)

I will assume that you have at least basics skills in developing apps and will just describe the method you must use to make your project ; especially i will not discuss implementation solutions you use, nor the old-fashioned question of object oriented versus linear

For the numerical :
first : write on paper both newton and secant mehod, analytical (ie on paper) write the expresion of both methods' algorithm in function of Xo and the function i name F. Dont developpe F, use it as a general function.

second : write a unit that can trace graphically any functions : trace the axis, check with usual functions you knox (log , cos...) then test your two asked functions, name them f1 and f2.
make your grid and your mesh depending of variables and use these to create a zomm(in and out) that you can use while the app is running.

third : in another unit write a method that give a solution for each algo(secant/newton) in function of Xo, F, the maximal error requested (MER) and the number of steps(N).
if N=0 say N = maxInt and if n=maxInt-1 exit with an error (maybe yours Wink | ;)
check it with the simplest functions whose roots are trivial

fourth : put everything together and answer what you are ssked.

critic the different methods, i guess that's where your professor want to lead you.

for personal purpose can u tell me where/major/university/level of your studies. just for curuiosity

free exchanging : france, maajored in physics, PhD in computer science applied to physics in paris

if you are a great C++ developper you can add some stuff :
- possibility using keyboard naturally to enter any usual function and compare each method for it, auto-mesh, auto-Xo and auto-grid
- add others root finding methods (polynoms solving, multiples roots, properties of F and its derivative...)
- point at problematic cases

good job and if you want details ask



PS : if you are very rich, being jobless, i could help you more and more....




styx
GeneralOverlap Live Video Pin
tlerner29-Sep-04 14:53
tlerner29-Sep-04 14:53 
GeneralRe: Overlap Live Video Pin
Ryan Binns29-Sep-04 18:18
Ryan Binns29-Sep-04 18:18 
QuestionHow to get access to USB 2.0 port Pin
OutlawTornNMT29-Sep-04 14:00
OutlawTornNMT29-Sep-04 14:00 
AnswerRe: How to get access to USB 2.0 port Pin
Steve Mayfield29-Sep-04 14:28
Steve Mayfield29-Sep-04 14:28 
GeneralReadDirectoryChangesW() "An unexpected network error occurred." Pin
BlackDice29-Sep-04 11:49
BlackDice29-Sep-04 11:49 
GeneralRe: ReadDirectoryChangesW() "An unexpected network error occurred." Pin
Neville Franks29-Sep-04 12:19
Neville Franks29-Sep-04 12:19 
GeneralRe: ReadDirectoryChangesW() "An unexpected network error occurred." Pin
BlackDice30-Sep-04 3:26
BlackDice30-Sep-04 3:26 
GeneralRe: ReadDirectoryChangesW() "An unexpected network error occurred." Pin
Neville Franks30-Sep-04 10:37
Neville Franks30-Sep-04 10:37 
GeneralRe: ReadDirectoryChangesW() "An unexpected network error occurred." Pin
Neville Franks30-Sep-04 10:37
Neville Franks30-Sep-04 10:37 
Generaledt1 problem in vc .net Pin
Michael Liu29-Sep-04 11:43
Michael Liu29-Sep-04 11:43 
GeneralDrawing chart/diagram Pin
rltsoft29-Sep-04 10:58
rltsoft29-Sep-04 10:58 
GeneralRe: Drawing chart/diagram Pin
Christian Graus29-Sep-04 12:31
protectorChristian Graus29-Sep-04 12:31 
GeneralRe: Drawing chart/diagram Pin
BAIJUMAX29-Sep-04 19:52
professionalBAIJUMAX29-Sep-04 19:52 
GeneralSmart Tag control Pin
ssanoj29-Sep-04 9:46
ssanoj29-Sep-04 9:46 
Generalphp upload to file from c program Pin
Spiritofamerica29-Sep-04 9:46
Spiritofamerica29-Sep-04 9:46 
GeneralUnable to insert records to Excel Table Pin
P.Satish29-Sep-04 9:27
P.Satish29-Sep-04 9:27 
GeneralFlash Programming in VC++ Pin
Azghar Hussain29-Sep-04 9:09
professionalAzghar Hussain29-Sep-04 9:09 

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.