1 / 8

Exploring Heron's Formula: A Programming Lesson in Delphi

In this lesson, students will learn to apply mathematical models in programming using Delphi. The focus will be on demonstrating the relationship between mathematics and computer science, specifically through Heron's formula for calculating the area of a triangle. Students will create a new VCL project, design a user interface by placing components on their form, and implement functionality for buttons to calculate area, exit, and clear inputs. This engaging lesson consolidates previous knowledge while introducing practical coding skills.

errin
Download Presentation

Exploring Heron's Formula: A Programming Lesson in Delphi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The square of triangle …in Delphi of course

  2. Lesson objectives To use mathematical model in programming Show students the relation between math and computer science To consolidate knowledge from the previous lessons

  3. Create new VCL project

  4. Put the following components on your form

  5. Give names to your objects

  6. Heron’s formula Create a code now

  7. Calculate button code

  8. Exit button Clear button

More Related