Skip to content

This repository is for a C++ program that finds a suitable equation & calculates the requested property of the triangle based off of known properties of the triangle. Designed to be as automated as possible.

Notifications You must be signed in to change notification settings

Kepler7894i/tcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcalc

This repository is for a C++ program that uses logic to find the best equation & calculate requested property of the triangle using it based off of known properties of the triangle. Designed to be as automated as possible.

This program is in stable currently as all known bugs fixed (report any as an issue) and all wanted functionality implemented (more may come later).

Downloads:

Windows x86 - Download tcalc-WINDOWSx86.exe
Windows x86-64 - Download tcalc-WINDOWSx86-64.exe
Linux x86 - Download tcalc-LINUXx86
Linux x86-64 - Download tcalc-LINUXx86-64

If you don't know what instruction set your computer used download the corresponding x86 file for your OS.

To run:

Windows: Double clicking on the .exe file
Linux: ./(downloaded file name)

To compile:

Download tcalc.cpp and then you can compile this given you OS and instruction set

Windows x86 - Use an IDE
Windows x86-64 - Use an IDE
Linux x86 - g++ -m32 tcalc.cpp -o tcalc-LINUXx86
Linux x86-64 - g++ -m64 tcalc.cpp -o tcalc-LINUXx86-64

Use:

When the program load's enter in any known value's for angle's or side's on the triangle as well the side or angle to be calculated. If it is possible based off of that information it will calculate the side or angle specified by working out the equation to use and then entering value's into the formula.
Versions of the code compiled for linux accept arguments, use -h when running the program to print out a help file.

Note - This program cannot calculate the value of a side or angle that is required to have the right information to calculate the requested side or angle.

About

This repository is for a C++ program that finds a suitable equation & calculates the requested property of the triangle based off of known properties of the triangle. Designed to be as automated as possible.

Topics

Resources

Stars

Watchers

Forks