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
114 stars 104 forks source link

Pixels Per Inch PPI Calculator #610

Closed Zinc-ion closed 1 year ago

Zinc-ion commented 1 year ago

Issue Id you have worked upon -

588

Briefly explain your program logic -

We calculate the screen sharpness by the formula Screen Resolution = Width (pixels) x Height (pixels) and the PPI of the screen by the formula PPI = √(Width^2 + Height^2) / Diagonal Dimension (inches).

Also, the inputs and outputs are interrelated, so if the user changes one of the values of width or length, the outputs will maintain the correct dependencies and change accordingly.

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

image

image


By raising this PR I affirm that -