citoreh commited on
Commit
b6ac276
·
verified ·
1 Parent(s): 93216fe

Update READMEmd

Browse files
Files changed (1) hide show
  1. READMEmd +4 -94
READMEmd CHANGED
@@ -1,5 +1,4 @@
1
- -----
2
-
3
  title: Mathematical Equation Visualizer
4
  emoji: 📊
5
  colorFrom: blue
@@ -7,103 +6,14 @@ colorTo: purple
7
  sdk: gradio
8
  sdk_version: 4.0.0
9
  app_file: app.py
 
10
  license: mit
11
  short_description: Interactive mathematical equation visualizer with multiple plot types
12
  tags:
13
-
14
  - mathematics
15
  - visualization
16
  - plotting
17
  - equations
18
  - gradio
19
- python_version: 3.9
20
-
21
- -----
22
-
23
- # 📊 Mathematical Equation Visualizer
24
-
25
- An interactive web application for visualizing mathematical equations with multiple plot types and customization options.
26
-
27
- ## Features
28
-
29
- - **Multiple Plot Types:**
30
- - 2D Functions (y = f(x))
31
- - Parametric Equations (x = f(t), y = g(t))
32
- - Polar Equations (r = f(θ))
33
- - Implicit Equations (F(x,y) = 0)
34
- - 3D Surface Plots (z = f(x,y))
35
- - **Customization Options:**
36
- - Adjustable plot ranges
37
- - Color selection
38
- - Line styles
39
- - Grid toggle
40
- - Custom titles
41
- - Multiple color schemes for 3D plots
42
- - **Built-in Examples:**
43
- - Pre-loaded examples for each plot type
44
- - Easy-to-use example selector
45
-
46
- ## Supported Mathematical Functions
47
-
48
- - Trigonometric: `sin`, `cos`, `tan`
49
- - Exponential: `exp`, `log`
50
- - Power: `sqrt`, `**` (exponentiation)
51
- - Basic arithmetic: `+`, `-`, `*`, `/`
52
- - Other: `abs`
53
-
54
- ## Usage Examples
55
-
56
- ### 2D Functions
57
-
58
- - `sin(x)` - Sine wave
59
- - `x**2 + 2*x + 1` - Parabola
60
- - `exp(-x**2)` - Gaussian curve
61
-
62
- ### Parametric Equations
63
-
64
- - x: `cos(t)`, y: `sin(t)` - Circle
65
- - x: `t*cos(t)`, y: `t*sin(t)` - Spiral
66
-
67
- ### Polar Equations
68
-
69
- - `1 + cos(theta)` - Cardioid
70
- - `sin(4*theta)` - Four-petaled rose
71
-
72
- ### Implicit Equations
73
-
74
- - `x**2 + y**2 - 1` - Circle
75
- - `x**3 + y**3 - 3*x*y` - Folium of Descartes
76
-
77
- ### 3D Surfaces
78
-
79
- - `sin(sqrt(x**2 + y**2))` - Sinc function
80
- - `x**2 - y**2` - Hyperbolic paraboloid
81
-
82
- ## How to Use
83
-
84
- 1. Select a plot type from the dropdown menu
85
- 1. Enter your mathematical equation using the supported functions
86
- 1. Adjust the plot ranges as needed
87
- 1. Customize colors, line styles, and other visual options
88
- 1. Click “Generate Plot” or let it auto-generate as you type
89
- 1. Use the examples section to load pre-made equations
90
-
91
- ## Technical Details
92
-
93
- - Built with Gradio for the web interface
94
- - Uses Matplotlib for plotting
95
- - SymPy for mathematical expression parsing
96
- - NumPy for numerical computations
97
-
98
- ## Error Handling
99
-
100
- The application includes robust error handling for:
101
-
102
- - Invalid mathematical expressions
103
- - Division by zero
104
- - Complex number results (automatically converted to real)
105
- - Infinite values (clipped for display)
106
-
107
- -----
108
-
109
- **Note:** This application is designed for educational and visualization purposes. For complex mathematical analysis, consider using specialized mathematical software.
 
1
+ ---
 
2
  title: Mathematical Equation Visualizer
3
  emoji: 📊
4
  colorFrom: blue
 
6
  sdk: gradio
7
  sdk_version: 4.0.0
8
  app_file: app.py
9
+ pinned: false
10
  license: mit
11
  short_description: Interactive mathematical equation visualizer with multiple plot types
12
  tags:
 
13
  - mathematics
14
  - visualization
15
  - plotting
16
  - equations
17
  - gradio
18
+ python_version: 3.9
19
+ ---