Computational Physics EX 2: Science Tools

Due Jan 27

Py 200

Write a program that finds the solution of two simultaneous linear equations. y= A x + B
y= C x + D The use should input A, B, C, and D. Plot these equations and the show the intersection of the straight lines.

Topics

Introduction to Science Tools.
  1. SGraph
  2. Snumber
Basic Pascal Syntax
  1. Variable types (Integer, Single, Double, String, Char, Boolean)
  2. Equality (=) and Assignment ( :=)
  3. Statements
  4. Compound statements
  5. Functions
  6. Procedures
  7. If {statement} Then {statement} Else Statement
Learn how to download files from the WebPhysics Server.

Look at these sample mini-apps.

Goals

Turn in your first working Delphi program.