Math 计算显示分辨率(宽度和高度)

Math 计算显示分辨率(宽度和高度),math,wolfram-mathematica,Math,Wolfram Mathematica,我想计算宽度/高度的显示结果,该比率始终为0.75 示例:768/1024=0,75 我只有6,1百万像素的值 我该怎么做?不是Mathematica: width*height=megapixels 3*width*height=3*megapixels 3*width=4*height 4*height*height=3*megapixels height^2=3*megapixels/4 height=sqrt(3*megapixels)/2 width=4/3*height 您可能会有

我想计算宽度/高度的显示结果,该比率始终为0.75 示例:768/1024=0,75

我只有6,1百万像素的值

我该怎么做?

不是Mathematica:

width*height=megapixels
3*width*height=3*megapixels
3*width=4*height
4*height*height=3*megapixels
height^2=3*megapixels/4
height=sqrt(3*megapixels)/2
width=4/3*height
您可能会有错误,因为6.1 MP不准确