Sol1hw4c

 

 Translate the following expressions into C++ assignment statements

…………………………… w = ( a + b * x + c * x * x ) / ( d + e * x + f * x * x );

…………………………… w = A * cos ( omega * t + phi ) ;

…………………………… w = 3.5 * pow ( t , 2 ) * exp ( 6 * t + 2 ) - 1 ;

…………………………… w = 5.6 / ( 6.7 + 3.4 / ( 3.1 + 4.9 / ( 1 + 2.4 /6.7 ) ) ) ;