Skip to content

Dinoman44/Random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Contents

  1. Intro
  2. quad_ec.py

Intro

This rep contains random programs (usually in python) that can be used for random things

quad_ec.py

This program is useful for finding the roots of a quadratic equation, and if possible its vertex. A quadratic equation is in the form:

ax^2 + bx + c = 0

The program takes the coefficients a,b and c as input, and uses the quadratic formula to calculate possible values of x:

x = (-b ± sqrt(b^2 - 4ac)) ÷ 2a

If it has real roots, the program can also calculate the vertex of the curve(its lowest or highest point)

About

Random programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages