Answered! Problems, print the specified tables using the transpose operator as needed. Include a table heading and column…

blackboard cua.odu. Matlab Basics & Project A1 EN Solved: The following problems gen https://blackboard ework Problems: problems 1-10, pr t the specified tables using the transpose operator as needed. Include a table heading and lumn headings. Choose an appropriate number of decimal places to print. 1. Generate a table of conversions from degrees to radians. The first line should contain values for 0 degree the 2nd line for 10 degrees and so on. The last line should contain values for 360 degrees. 2. Generate a table of conversions from centimeters to inches. Start the centimeters column at 0 and increment by 2 cn. The last line should contain the value of 50 cm. (Recall that 1 in 2.54 cm). 3. Generate a table of conversions from miles per hour (mph) to feet per sec (fps) Start the mph column at 0 and increment by 5 mph. The last line should contain the value 65 mph. (Recall that 1 mi-5280 ft) Currency Conversions. The following currency conversions apply to problems 4-7. $1 5.045 francs (Fr) 1.4682 deutsche mark (DM) $1 4, Generate a table of conversions from francs to dollars. Start the francs column at 5 Fr and increment by 5 Fr. Print 25 lines in the table. 5. Generate a table of conversions from DM to Fr. Strat DM column at 1 DM and increment by 2 DM. Print 30 lines in the table. 6. Generate a table of conversions from Y to DM. Start the Y column at 100Y and print 25 lines with the final line containing the value of 10000 Y 7. Generate a table of conversions from to Fr, DM, and Y. Start the column with si, and increment by si Print 50 lines. Temperature Conversions: The following problems generate temperature conversion tables, use the following #7 please

Problems, print the specified tables using the transpose operator as needed. Include a table heading and column headings. Choose an appropriate number of decimal places to print. Generate a table of conversions from degrees to radians. The first line should contain values for 0 degree the 2nd line for 10 degrees and so on. The last line should contain values for 360 degrees Generate a table of conversions from centimeters to inches. Start the centimeters column at 0 and increment by 2 cn. The last line should contain the value of 50 cm. (Recall that 1 in = 2.54 cm). Generate a table of conversions from miles per hour (mph) to feet per sec (fps). Start the mph column at 0 and increment by 5 mph. The last line should contain the value 65 mph. (Recall that 1 mi = 5280 ft) Currency Conversions. The following currency conversions apply to problems 4-7. exist1 = 5.045 francs (Fr) 1 Yen (Y) = exist0.0101239 1.4682 deutsche mark (DM) = exist1 Generate a table of conversions from francs to dollars. Start the francs column at 5 Fr and increment by 5 Fr. Print 25 lines in the table. Generate a table of conversions from DM to Fr. Strat DM column at 1 DM and increment by 2 DM. Print 30 lines in the table. Generate a table of conversions from Y to DM. Start the Y column at 100Y and print 25 lines with the final line containing the value of 10000 Y. Generate a table of conversions from exist to Fr, DM, and Y. Start the column with exist1, and increment by exist1. Print 50 lines.

Expert Answer

 // C++ code

#include <iostream>
#include <string>
#include <vector>
using namespace std;

int main()
{

double dollartofrance = 5.045;
double yentodollar = 0.0101239;
double dollartoDM = 1.4682;
double dollar, fr,dm,y;

cout << “Dollart Frt DMt Yn”;
for (dollar = 1; dollar <= 50; ++dollar)
{
fr = dollar*dollartofrance;
dm = dollar*dollartoDM;
y = dollar*(1/yentodollar);

cout << dollar << “t” << fr << “t” << dm << “t” << y << endl;
}

return 0;
}

Still stressed from student homework?
Get quality assistance from academic writers!