ft / guile-e-series Goto Github PK
View Code? Open in Web Editor NEWScheme module that allows to work with E Series preferred values.
License: GNU Lesser General Public License v3.0
Scheme module that allows to work with E Series preferred values.
License: GNU Lesser General Public License v3.0
-------------------------------- E-Series Tools for GNU Guile -------------------------------- The E-Series are series of preferred numbers, commonly used to specify electro- nic parts; mostly resistors, inductors and capacitors. This library implements two kinds of lookups: a) Given a value, look up that value in all E-series and return the values surrounding the desired value; and b) Given an integer that identifies an E-Series and a desired value, return combinations of two parts, that approximate the desired value as closely as possible. For ease of use, the library impements the (e-series) module, that implements a set of frontends (‘resistor’, ‘inductor’ and ‘capacitor’), that can all be used in precisely the two ways described above. Examples: (capacitor #e910e-6) ---------+--------------------------+-------------+-------------------------- Series | Below (Error) | Exact | Above (Error) ---------+--------------------------+-------------+-------------------------- E3 | 470.000µF (-4.835E-1) | | 1.00000mF (+9.890E-2) E6 | 680.000µF (-2.527E-1) | | 1.00000mF (+9.890E-2) E12 | 820.000µF (-9.890E-2) | | 1.00000mF (+9.890E-2) E24 | 820.000µF (-9.890E-2) | 910.000µF | 1.00000mF (+9.890E-2) E48 | 909.000µF (-1.099E-3) | | 953.000µF (+4.725E-2) E96 | 909.000µF (-1.099E-3) | | 931.000µF (+2.308E-2) E192 | 909.000µF (-1.099E-3) | | 920.000µF (+1.099E-2) ---------+--------------------------+-------------+-------------------------- (capacitor 12 #e910e-6) ------------+-------------------------+-------------+-------------+----------- Desired | Actual (Error) | Part A | Part B | Circuit ------------+-------------------------+-------------+-------------+----------- 910.000µF | 909.091µF (-9.990E-4) | 1.00000mF | 10.0000mF | series 910.000µF | 917.647µF (+8.403E-3) | 1.20000mF | 3.90000mF | series 910.000µF | 902.000µF (-8.791E-3) | 820.000µF | 82.0000µF | parallel ------------+-------------------------+-------------+-------------+----------- To run the test-suite of the library, the following additional dependency is required: https://gitlab.com/ft/guile-tap
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.