@@ -45,57 +45,57 @@ python src/main.py
45
45
- ** Function:** ` 5* x^3 + 2* x`
46
46
- ** Range:** ` 0` to ` 10`
47
47
- ** Expected Output:** Parabolic curve. < br>
48
- ! [Basic Function](screenshots/ex1.jpg )
48
+ ! [Basic Function](screenshots/ex1.JPG )
49
49
50
50
51
51
# ## Invalid Character in Function
52
52
- ** Function:** ` 5* x^3 + 2* x + ! `
53
53
- ** Range:** ` 0` to ` 10`
54
54
- ** Expected Output:** Error message: " Function contains invalid characters." < br>
55
- ! [Invalid Character](screenshots/ex2.jpg )
55
+ ! [Invalid Character](screenshots/ex2.JPG )
56
56
57
57
58
58
# ## Complex Formula Function
59
59
- ** Function:** ` 5* x^3 + 2* x -4/x + 7`
60
60
- ** Range:** ` -10` to ` 10`
61
61
- ** Expected Output:** Combined plot of Cubic and rational functions. < br>
62
- ! [Complex Formula](screenshots/ex3.jpg )
62
+ ! [Complex Formula](screenshots/ex3.JPG )
63
63
64
64
65
65
# ## Using Sqrt & log10 in Function
66
66
- ** Function:** ` 2* x^4 - log10(x) + sqrt(x)`
67
67
- ** Range:** ` 0` to ` 50`
68
68
- ** Expected Output:** Combined plot of square root, logarithm, and quadratic function. < br>
69
- ! [Complex Formula](screenshots/ex4.jpg )
69
+ ! [Complex Formula](screenshots/ex4.JPG )
70
70
71
71
72
72
# ## Negative Input to sqrt or log10
73
73
- ** Function:** ` 2* x^4 - log10(x) + sqrt(x)`
74
74
- ** Range:** ` -50` to ` 500`
75
75
- ** Expected Output:** Error message: " Min value must be non-negative for functions with log10 or sqrt." < br>
76
- ! [Negative Input](screenshots/ex5.jpg )
76
+ ! [Negative Input](screenshots/ex5.JPG )
77
77
78
78
79
79
# ## Wrong Input for Min and Max Values
80
80
- ** Function:** ` x`
81
81
- ** Range:** ` a` to ` 2`
82
82
- ** Expected Output:** Error message: " Min and Max values must be numbers." < br>
83
- ! [Wrong Input](screenshots/ex7.jpg )
83
+ ! [Wrong Input](screenshots/ex7.JPG )
84
84
85
85
86
86
87
87
# ## Using -inf and +inf for min and max values
88
88
- ** Function:** ` x`
89
89
- ** Range:** ` -inf` to ` inf`
90
90
- ** Expected Output:** Straight 45deg line from -inf to +inf < br>
91
- ! [-inf to inf range](screenshots/ex8.jpg )
91
+ ! [-inf to inf range](screenshots/ex8.JPG )
92
92
93
93
# ## Constant Function Formula
94
94
- ** Function:** ` 5`
95
95
- ** Range:** ` -10` to ` 10`
96
96
- ** Expected Output:** Straight horizontal line from -inf to +inf < br>
97
- ! [constant function](screenshots/ex9.jpg )
97
+ ! [constant function](screenshots/ex9.JPG )
98
98
99
99
100
100
# # automated tests. run some automated tests using `pytest`
101
- ! [tests passed](screenshots\e x10.jpg )
101
+ ! [tests passed](screenshots\e x10.JPG )
0 commit comments