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
115 stars 103 forks source link

Pixels Per Inch PPI Calculator #610

Closed Zinc-ion closed 8 months ago

Zinc-ion commented 8 months 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 -