Solved

complex number calculations

Posted on 2003-11-27
3
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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