Solved

complex number calculations

Posted on 2003-11-27
3
195 Views
Last Modified: 2010-04-05
Hi I am doing some work in my university. I need some help with the problem given on the following website:

http://www.ee.ic.ac.uk/se1/consoleApps/week8/index.html

Please could you tell me how I could program such a problem using Delphi (pascal language) or give me some clues as to how I could go about the task.

Thank You
DEKESH PATEL
0
Comment
Question by:dekesh
3 Comments
 
LVL 1

Accepted Solution

by:
mpoots earned 60 total points
ID: 9837751
I am not very good in Math but I would make something like this:

procedure TForm1.Button1Click(Sender: TObject);
var
  j : Double;
begin
  j := -1;
  while True do
  begin
    j:= j + 0.00001;
    if ((1 - j) / 2) = 0.5 - (0.5 * j) then
    begin
      // You have found the value of J
      ShowMessage(FloatToStr(j));
    end;
  end;
end;

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now