SarthakKeshari / calc_for_everything

This repository aims to provide Calculators for educational, professional, scientific, health and well-being and other purposes.
https://calc-for-everything-psi.vercel.app
MIT License
116 stars 104 forks source link

Commutative property calc #659

Closed SakshiJSanghavi closed 7 months ago

SakshiJSanghavi commented 7 months ago

Issue Id you have worked upon -

567

Briefly explain your program logic -

This React program serves as a Commutative Property Calculator for matrices. Users can input the size (n) of square matrices and fill in their values. Additionally, users have the option to choose between addition (+) and multiplication (x) as the matrix operation. The program calculates both A B and B A based on the chosen operation and checks whether the commutative property holds true by comparing the results. The UI provides a clear representation of matrix inputs, and the user can visualize the commutative property check outcome. The program's logic involves managing state variables for matrix size, matrices A and B, the selected operator, and the result of the commutative property check. It also includes event handlers for user input and a rendering method to display the interactive interface.

Screenshots(Attach 2 screenshots of your own input and output) -

image image image


By raising this PR I affirm that -

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ā†—ļøŽ

Name Status Preview Comments Updated (UTC)
calc-for-everything āœ… Ready (Inspect) Visit Preview šŸ’¬ Add feedback Dec 5, 2023 5:16pm
SarthakKeshari commented 7 months ago

Congratulations šŸŽ‰ @SakshiJSanghavi on your contribution. Thanks for adding value to this repository. šŸ˜Š