Hello,
I'm glad becuse you are smile
I want to tel frind in this groupe I'm ...not...very well in english languge
I make mastake ... every body make mastak's
any way
Kindly if you please help me for this problem .vfp code or program
3
F(x)=(cos x -2x -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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only