Giter Club home page Giter Club logo

checking-quantified-statements-for-truth's Introduction

Checking-quentified-statements-for-truth

This was the final math project for discreet mathematics. The program is written in Javascript.

Overview of my program

The main idea with this program is to take a quantified statement and check if it is true for the domain given. In the program you can choose between four domains. I also have list of static statements that will be checked for truth. I also have a functionality to negate the expression so you can see the contradiction for the statement with the truth value for the negation. I have used a simple search algorithm that is basically a linear search that breaks when value is found. I also used functions to check if the elements in the domain was even or not.

How to use the program

Download the file, if you click twice on the file after you've downloaded it, it will open in your default browser. For the first dropdown menu you can chose a domain, when you chose a domain it will be printed out for you to see. The domain will also be used to check the truth value. When you have chosen a domain, you can choose a universal statement to check if the elements support the condition or not. After that you can chose to negate the expression or keep original. Every time you change any of the lists, the truth value will update so it supports the condition.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.