

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Assignment; Professor: Rewaskar; Class: Introduction to Scientific Programming; Subject: COMPUTER SCIENCE; University: University of North Carolina - Chapel Hill; Term: Unknown 1989;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!
Posted, May 25th Due Friday, June 1st
In this assignment we will solve systems of linear equations to answer questions about currency exchange rates.
[10 points] Build a system of 5 equations with 5 unknowns to compute the value of one $US in each of the foreign currencies given the following constraints: 100 Euro + 100 Swiss Francs = $ 200 British Pounds = 100 Euro + 300 Swiss Francs 200 Can. Dollars + 200 Aus. Dollars = $ 100 Euro + 300 Aus. Dollars + 300 Swiss Francs = $ 200 Euro + 300 Can. Dollar + 500 British Pounds + 700 Aus. Dollars = $
[5 points] Use MATLAB to solve the system of equations from the previous part.
[5 points] What is the value in $US of 100 Canadian Dollars + 200 British Dollars + 300 Australian Dollars?
[5 points] What is the value of $100 US in each of the foreign currencies? Give your answer as a number, and also as a bar chart. You can use the MATLAB command bar to produce this chart.
[5 points] Suppose that you have ten $50 bills that you take to the bank to be exchanged. To decide how much to convert, and which conversion plan is better, create a plot. The plot will have $US on the x-axis and Euro on the y-axis. Plot two graphs, one showing the conversion under the Plan A and second showing the conversion under Plan B. The plot should include a legend and be formatted so that the two graphs can be differentiated in print (i.e. black and white printout).
[10 points] Set up and solve a system of linear equations to find out how much of each currency this customer has.
[10 points] How much money will she get if she converts all of her money to $US if the bank gives her the exchange rate from question 1 and charges no fee.
The aim of the Sudoku puzzle is to enter digits 1 to 9 in each cell of a 9× grid made up of 3×3 subgrids (called 'regions'), starting with various digits given in some cells (the "givens").
Each row, each column, and all the 3x3 block ('regions') must contain only one instance of each number.