mathai 2.2.3__tar.gz → 2.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mathai-2.2.3/mathai.egg-info → mathai-2.2.4}/PKG-INFO +73 -1
- mathai-2.2.3/PKG-INFO → mathai-2.2.4/README.md +1310 -1254
- mathai-2.2.4/mathai/graphics.py +68 -0
- mathai-2.2.3/README.md → mathai-2.2.4/mathai.egg-info/PKG-INFO +1326 -1238
- {mathai-2.2.3 → mathai-2.2.4}/setup.py +1 -1
- mathai-2.2.3/mathai/graphics.py +0 -55
- {mathai-2.2.3 → mathai-2.2.4}/mathai/__init__.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/apart.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/base.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/decision.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/diff.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/electronic.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/expand.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/factor.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/differentiation.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/integration.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/integration_trig.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/is_integrate_subs.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/lambda_compress.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/lambda_expand.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/lambda_reduce.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/limit_infinity.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/matrix_vectorization_calculus.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/power_rule.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/quadratic.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/statistics_1.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/statistics_2.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/test.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula/trigonometry_misc.marshal +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula_compiler.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula_data.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/formula_interpretor.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/fraction.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/integrate.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/inverse.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/lambda_calculus.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/limit.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/linear.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/logic.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/matrix.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/ml.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/mlscalar.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/ode.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/parser.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/pde.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/printeq.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/qm.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/simplify.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/statistics.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/test.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/tool.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/trig.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai/univariate_inequality.py +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai.egg-info/SOURCES.txt +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai.egg-info/dependency_links.txt +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai.egg-info/requires.txt +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/mathai.egg-info/top_level.txt +0 -0
- {mathai-2.2.3 → mathai-2.2.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mathai
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: Mathematics solving Ai tailored to NCERT
|
|
5
5
|
Home-page: https://github.com/infinity390/mathai
|
|
6
6
|
Requires-Python: >=3.7
|
|
@@ -455,7 +455,19 @@ done
|
|
|
455
455
|
from mathai import *
|
|
456
456
|
# (z,y) is dash, a'b' is front view
|
|
457
457
|
# (z,-x) is no dash, ab is top view
|
|
458
|
+
|
|
459
|
+
# A line AB 60 mm long has its end A 20 mm above HP and 30 mm infront of VP. The line is inclined at 40 degrees to HP and is parallel to VP. Draw the projection
|
|
458
460
|
solve_graphics_string("30 20 0 None None None None None None 0 40*pi/180 None None 60")
|
|
461
|
+
print()
|
|
462
|
+
|
|
463
|
+
# Engineering Graphics for DEGREE P.I. Varghese
|
|
464
|
+
solve_graphics_string("20 25 0 None None None None None None 30*pi/180 0 60 None None") # 11.14
|
|
465
|
+
print()
|
|
466
|
+
solve_graphics_string("15 25 0 None None None None None None 30*pi/180 0 50 None None") # 11.15
|
|
467
|
+
print()
|
|
468
|
+
solve_graphics_string("0 -25 0 None None None None None None None 0 55 None 75") # 11.17
|
|
469
|
+
print()
|
|
470
|
+
solve_graphics_string("25 50 0 -30 None None None None None None 0 50 None 80") # 11.19
|
|
459
471
|
```
|
|
460
472
|
|
|
461
473
|
#### Output
|
|
@@ -474,6 +486,66 @@ inclination_with_HP : (2*pi)/9
|
|
|
474
486
|
front_view_length : 60
|
|
475
487
|
top_view_length : 60*abs(cos(((2*pi)/9)))
|
|
476
488
|
line_length : 60
|
|
489
|
+
|
|
490
|
+
Ax : 20
|
|
491
|
+
Ay : 25
|
|
492
|
+
Az : 0
|
|
493
|
+
Bx : 20+(60/(3^-(-1/2)))
|
|
494
|
+
By : 25
|
|
495
|
+
Bz : 60
|
|
496
|
+
Bx-Ax : 60/(3^-(-1/2))
|
|
497
|
+
By-Ay : 0
|
|
498
|
+
Bz-Az : 60
|
|
499
|
+
inclination_with_VP : pi/6
|
|
500
|
+
inclination_with_HP : 0
|
|
501
|
+
front_view_length : 60
|
|
502
|
+
top_view_length : sqrt(4800)
|
|
503
|
+
line_length : 120/(3^-(-1/2))
|
|
504
|
+
|
|
505
|
+
Ax : 15
|
|
506
|
+
Ay : 25
|
|
507
|
+
Az : 0
|
|
508
|
+
Bx : 15+(50/(3^-(-1/2)))
|
|
509
|
+
By : 25
|
|
510
|
+
Bz : 50
|
|
511
|
+
Bx-Ax : 50/(3^-(-1/2))
|
|
512
|
+
By-Ay : 0
|
|
513
|
+
Bz-Az : 50
|
|
514
|
+
inclination_with_VP : pi/6
|
|
515
|
+
inclination_with_HP : 0
|
|
516
|
+
front_view_length : 50
|
|
517
|
+
top_view_length : 100/(3^-(-1/2))
|
|
518
|
+
line_length : 100/(3^-(-1/2))
|
|
519
|
+
|
|
520
|
+
Ax : 0
|
|
521
|
+
Ay : -25
|
|
522
|
+
Az : 0
|
|
523
|
+
Bx : 75*sin(arccos((11/15)))
|
|
524
|
+
By : -25
|
|
525
|
+
Bz : 55
|
|
526
|
+
Bx-Ax : 75*sin(arccos((11/15)))
|
|
527
|
+
By-Ay : 0
|
|
528
|
+
Bz-Az : 55
|
|
529
|
+
inclination_with_VP : arccos((11/15))
|
|
530
|
+
inclination_with_HP : 0
|
|
531
|
+
front_view_length : 55
|
|
532
|
+
top_view_length : sqrt((3025+(5625*(sin(arccos((11/15)))^2))))
|
|
533
|
+
line_length : 75
|
|
534
|
+
|
|
535
|
+
Ax : 25
|
|
536
|
+
Ay : 50
|
|
537
|
+
Az : 0
|
|
538
|
+
Bx : -30
|
|
539
|
+
By : 50
|
|
540
|
+
Bz : 80*abs(cos(arcsin((-11/16))))
|
|
541
|
+
Bx-Ax : -55
|
|
542
|
+
By-Ay : 0
|
|
543
|
+
Bz-Az : 80*abs(cos(arcsin((-11/16))))
|
|
544
|
+
inclination_with_VP : arcsin((-11/16))
|
|
545
|
+
inclination_with_HP : 0
|
|
546
|
+
front_view_length : 50
|
|
547
|
+
top_view_length : sqrt((3025+(6400*(cos(arcsin((-11/16)))^2))))
|
|
548
|
+
line_length : 80
|
|
477
549
|
```
|
|
478
550
|
|
|
479
551
|
### Questions solved using god() function
|