topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 7:02 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Simultaneous Equations Simulator .Yet More Features  (Read 6403 times)

justabeginner

  • Honorary Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 52
    • View Profile
    • Donate to Member
I've had this idea for a while, where one can draw a number of straight lines on a variable-sized grid (similar to Coordinator).
The coordinates for the endpoints and the equations for each line are listed dynamically (as shown in the diagram below).
Lastly, the intersections are also shown.

sim eqn plan.JPG

I have attached some VB6 code that works out the equation of a line from two points, and some more code that marks the intersection of 2 lines.

My problems so far are:

1.  How to create a variable snap to grid with cartesian coordinates (0,0) at the the bottom.
2.  How to change the origin position.
3.  How to list captions on the ends and in the middle of straight lines.

If someone could help me out, it would be well appreciated.


  :)
« Last Edit: August 17, 2008, 10:25 PM by justabeginner »

justabeginner

  • Honorary Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 52
    • View Profile
    • Donate to Member
Re: IDEA: Simultaneous Equations Simulator 1st Update
« Reply #1 on: August 03, 2008, 10:16 PM »
The first Update is here (as shown below):

Instructions

Click in 4 different places on the form.
Then hover over the black spots with your mouse.
When the mouse pointer changes to a crosshair, you can drag move each point to various positions.


I'm still trying to work out how to place a label half way along a line.

simeqn1c.jpg



I have also started another project to find equations from 2 points.

eqnfinder.jpg
« Last Edit: August 13, 2008, 08:33 PM by justabeginner »

justabeginner

  • Honorary Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 52
    • View Profile
    • Donate to Member
Re: IDEA: Simultaneous Equations Simulator (Going Strong)
« Reply #2 on: August 13, 2008, 08:36 PM »
Added a zoom function, equation of the line functionality.

Intersections to come soon.


simeqq.JPG



justabeginner

  • Honorary Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 52
    • View Profile
    • Donate to Member
Re: IDEA: Simultaneous Equations Simulator (Going Strong)
« Reply #3 on: August 17, 2008, 10:24 PM »
Updating once again. Added some more features.

cap.JPG


sundayz

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: Simultaneous Equations Simulator .Yet More Features
« Reply #4 on: October 03, 2008, 06:47 PM »
 :)

Looking good. Next update soon?