|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Fun Program for Math
Hi, My name is Garrett from Team 2472 and I am tring to create a program to calculate the Distance, Midpoint, Slope, and Equation of a line and then Graph the line. I have no idea how to do this and could use some help
Thanks! |
|
#2
|
|||||
|
|||||
|
Re: Fun Program for Math
What is the input to this program? A pair of points?
|
|
#3
|
||||
|
||||
|
Re: Fun Program for Math
Welcome to CD.
What is probably best is to search youtube for Labview tutorial. A quick search reveals http://www.youtube.com/watch?v=Em5R_RM8E08. Many tutorials that are not made directly for FIRST can still be helpful. Last edited by ATannahill : 07-12-2009 at 18:46. |
|
#4
|
||||
|
||||
|
Re: Fun Program for Math
Yes, the input is just the X1, X2, Y1,Y2 input.
|
|
#5
|
||||
|
||||
|
Re: Fun Program for Math
Do you understand the match behind the assignment yet? If not, then do some searches for exactly what you're asking for on google. You'll find the equations to perform exactly what you're asking for.
Assuming you know that, you're going to want to go to the "block diagram", create your mathematical constants, then use mathematical functions and wire the results to indicators for the answers. If you're looking for something more interactive, you're going to need controls, a true/false case, and a while loop - but I'd start with the basic math first. If you have any questions about any of those, I've used the exact terms you can use on google to do your searches. Also remember, as a rule, people on Chief Delphi will be more than willing to point you in the right direction, but they aren't going to tell you exactly how to do it or write any of the code. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| an idea for nats for a little bit of fun | Masterfork | Championship Event | 2 | 10-01-2008 01:24 |
| Gear Ratio Math for Cim Motor FP801-005 | KogaVanDragon | Motors | 2 | 14-01-2006 02:38 |
| A question for math and science people | FIRST JerseyKid | Math and Science | 9 | 05-05-2005 22:36 |
| Here's one for the math geeks :) | Raven_Writer | Chit-Chat | 11 | 25-02-2004 15:42 |