Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1072. Television Screen Dimensions

Created by @bmtran

Given a width to height ratio of a TV screen given as w and h as well as the diagonal length of the television l, return the actual width and height of the screen to one decimal point of precision.

Example:

    w = 16;
    h = 9;
    l = 42;
    [W,H] = teledims(w,h,l);

outputs

    W = 36.6
    H = 20.6

Problem Group

Solution Statistics

54 correct solutions 58 incorrect solutions
Last solution submitted on Apr 14, 2016

Problem Comments