Skip to content

kuseler/formula-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

formula-calculator

a simple input-based formula calculator

usage example:

an undamped resonant circuit has an L of 1 Henry and a C of 1 Farad.

  1. What is the frequency?
  2. What is the frequency when L=2?
  3. What is the frequency when C=2 and L=1?

using the program:

Enter Formula:

1/2*pi*sqrt(L*C)

Enter the values of the symbols, default: {}

L=1 C=1

1.5707963267948966

Enter the values of the symbols, default: {'L': '1', 'C': '1'}

L=2

2.221441469079183

Enter the values of the symbols, default: {'L': '2', 'C': '1'}

C=2 L=1

2.221441469079183

advanced example

Enter Formula:

1/2*pi*sqrt(L*C)

Enter the values of the symbols, default: {}

C=sqrt(4) L=1

2.221441469079183

About

a simple input-based formula calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages