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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

46 correct solutions
49 incorrect solutions

Last solution submitted on Jan 20, 2015

1 player likes this problem

3 Comments