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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two statements, the first of which is "frac = 5/9;".

1339 correct solutions
646 incorrect solutions

Last solution submitted on Jun 01, 2015

2 players like this problem

2 Comments

li jian
on 19 Apr 2014

I wonder is it necessary to use ragexp like this

Giuseppe Cardillo
on 14 Oct 2014

The problem asked to use 2 statements and not only 1

1 Comment

James Kristoff
on 15 Oct 2013

It really seems unnecessary to use this "cheat" for a problem this simple. :(

1 Comment