Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math
Message
From
19/03/2004 09:36:44
 
 
To
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Math
Miscellaneous
Thread ID:
00887884
Message ID:
00887884
Views:
58
Hello

Kindly if you please help me for this problem .vfp code or program
F(x)=(COS x -2x pwer3 -0.5) IN [0.1,1.1]
AND (ERROR percentage=.0003)=m.k
STEP 1 FOR i= 1 TO 5
STEP 2 p=(a+b)/2
STEP 3 IF F(b)*F(a) < 0 THEN
b=p
ELSE
	a=p
	? p
	STEP 4 IF i<=5 THEN
	IF {abcelute} (b-a) <= 0 THEN
		? p
		EXIT
	ELSE
		i=i+1
		GO TO STEP 2
	ELSE
		? out MESSAGE
END



Next
Reply
Map
View

Click here to load this message in the networking platform