Giter VIP home page Giter VIP logo

manipuladoralgebrico's Introduction

Algebric Manipulator

A simple algebric manipulator that sums, derivates or integrates polynomials.

Getting Started

Clone the project into a local folder:

git clone https://github.com/andreluis034/ManipuladorAlgebrico.git

Change into the created folder and build the project using: make

Prerequisites

To build the project you must have the following packaged installed:

  • GNU Compiler Collection
  • GNU Make

On Debian and Debian based distributions installing the build-essential package will suffice:

apt-get install build-essential

Installing

After cloning the repository and installing the prerequisites:

Build the project using make

make algebra.out

Since this is a small project it shouldn't take long to build it. After it has been built the project binary, algebra.out, will be in the project root folder.

Examples

When asked for a polynomial it should come from standard input with the following regular expression:

([\+\-]?([0-9]*[\.]?)[0-9]*[A-Za-z]*([\^][0-9]+)?)*

This expression does not take into account the spaces from input as these are ignored when reading the input.

Although multiple variables are supported in a "monomial" you should not repeat the same variable twice.

Here are some examples of valid inputs:

  • 5x^3254
  • 532xyz^3254 + 6xy^23 - .5
  • 5.65x^3254
  • .62548

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

manipuladoralgebrico's People

Contributors

andreluis034 avatar

Watchers

James Cloos avatar  avatar

Forkers

cristianamorais

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.