<a href="https://colab.research.google.com/github/EienNoTameni/Proyek/blob/main/Integral_Calculator(Almost_Finished).ipynb" target="_parent"></a>


```python
import sympy as sym
```


```python
print('Indefinite and Definite Calculator')

print('1). Indefinite Calculator')

print('a). Basic Integral')

f = lambda x: input('Input your function : ' )

x = sym.symbols('x')

print('The result of the integration is : ', sym.integrate(f(x)))

print('-------------------------------------------------------------')

print('b). Intergal Beetween 2 function with Basic Operation')

f = lambda x: input('Input your 1st function : ' )
g = lambda x: input('Input your 2nd function : ' )

x = sym.symbols('x')

print('The result of the integration is : ', sym.integrate(f(x) + g(x)))

print('-------------------------------------------------------------')

print('2). Definite Calculator')

print('a). Basic Integral')

f = lambda x: input('Input your function : ' )
a = float(input('Input your lower bound : '))
b = float(input('Input your upper bound : '))

x = sym.symbols('x')

print('The result of the integration is : ', sym.integrate(f(x), (x, a, b)))

print('-------------------------------------------------------------')

print('b). Intergal Beetween 2 function with Basic Operation')

f = lambda x: input('Input your 1st function : ' )
g = lambda x: input('Input your 2nd function : ' )
a = float(input('Input your lower bound : '))
b = float(input('Input your upper bound : '))

x = sym.symbols('x')

print('The result of the integration is : ', sym.integrate(f(x) + g(x)), (x, a, b))

print('-------------------------------------------------------------')

LaunchButton = input('Type "RESTART" if you want restart your iteration, or type "NO" to stop : ')
  
if LaunchButton == 'RESTART':
  main()
elif LaunchButton == 'NO':
  print('Thank Your for choosing this calculator')

print('-------------------------------------------------------------')
```

    Indefinite and Definite Calculator
    1). Indefinite Calculator
    a). Basic Integral
    Input your function : x
    The result of the integration is :  x**2/2
    -------------------------------------------------------------
    b). Intergal Beetween 2 function with Basic Operation
    Input your 1st function : x
    Input your 2nd function : x
    The result of the integration is :  xx**2/2
    -------------------------------------------------------------
    2). Definite Calculator
    a). Basic Integral
    Input your lower bound : 0
    Input your upper bound : 2
    Input your function : x
    The result of the integration is :  2.00000000000000
    -------------------------------------------------------------
    b). Intergal Beetween 2 function with Basic Operation
    Input your lower bound : 0
    Input your upper bound : 3
    Input your 1st function : x
    Input your 2nd function : x
    The result of the integration is :  xx**2/2 (x, 0.0, 3.0)
    -------------------------------------------------------------
    Type "RESTART" if you want restart your iteration, or type "NO" to stop : NO
    Thank Your for choosing this calculator
    -------------------------------------------------------------


Note : Almost finished, but i don't know how to make sum operation on the integrate formulas

2af6365d1890204daeb9754eca3358407754c2fe
ipynb
Jupyter Notebook
Integral_Calculator(Almost_Finished).ipynb
EienNoTameni/Proyek
679795c1e2548171b83b449e9fba589ac850d5a2
Unlicense
Integral_Calculator(Almost_Finished).ipynb
EienNoTameni/Proyek
679795c1e2548171b83b449e9fba589ac850d5a2
Unlicense
Integral_Calculator(Almost_Finished).ipynb
EienNoTameni/Proyek
679795c1e2548171b83b449e9fba589ac850d5a2
Unlicense
Qwen/Qwen-72B
1. YES
2. YES