Note that to complete this assignment, you will be asked to write a structure plan / pseudocode for each
problem. The structure will be similarly to the “Given/Find” format you are familiar with from other
homework assignments. Similarly, actually writing functioning code will fulfill the “Solution” portion of
the problem-solving format. It is expected that you use MATLAB to test your script files.
A projectile is launched from the point O with an initial velocity of 55 m/s at an angle of 50 degrees to the
horizontal. Write a program which computes and displays the time in the air, and horizontal and vertical
displacement from the point O every 0.5 seconds, as long as the projectile remains above a horizontal plane
through O.
Hints:
• Use a while loop for this problem.
• Use the disp() function to display the results in table format. The char() function can be used within
the disp() to make the columns line up nicely. For example:
disp([‘t = ‘,num2str(t),char(9),char(9),’x = ‘,num2str(x,’%10.1f’)])
Deliverables:
• Hardcopy of your M-file containing your structure plan describing how you plan to solve the
problem along with your executable code.
Recall the vertical tank problem from Homework 4. (See Homework 4 for details).
For this homework assignment, plot Volume and Weight as a function of height of solid in the tank (put
height on x-axis). Set the bounds and major gridlines such that the data series for volume and weight are
superimposed on each other. Assume the following parameters:
a. Total height of the tank: ℎ = 20 ????
b. Diameter of the cylinder: ?? = 10 ????
c. Angle of the cone: ?? = 35 ??????????????.
d. Bulk density of solid contents: ?? = 25 ??????.
Hint: If you want dual y-axis, the book recommends using plotyy(), but this is not recommended. Check
online documentation for plotyy() and it will link to yyaxis, a better solution.
Deliverables:
• Hardcopy containing the following:
o Your M-file containing your structure plan describing how you plan to solve the problem
along with your executable code.
o Figure showing the plot of the data.
iPad الخاص بـ abdulaziz
iPad الخاص بـ abdulaziz
Draw a graph of the population of the USA from 1790 to 2000 using the (logistic) model:
??(??) =
197,273,000
1 + ??−0.03134(??−1913.25)
where t is the date in years.
Actual data (in 1000s) for every decade from 1790 to 1950 are as follows:
Years Population (in 1000s)
Years Population (in 1000s)
Years Population (in 1000s)
1790 3,929 1850 23,192 1910 91,972
1800 5,308 1860 31,443 1920 105,711
1810 7,240 1870 38,558 1930 122,775
1820 9,638 1880 50,156 1940 131,669
1830 12,866 1890 62,948 1950 150,697
1840 17,069 1900 75,995
Superimpose this data on the graph of P(t). Plot the data as discrete circles (i.e. do not join them with lines).
Hint: Your plot should look similar to Figure 9.16 on page 233 of the textbook.
Deliverables:
• Hardcopy containing the following:
o Your M-file containing your structure plan describing how you plan to solve the problem
along with your executable code.
o Figure showing the plot of the data.
A student borrows $10,000 to buy a used car. Interest on her loan is compounded at the rate of 2% per
month while the outstanding balance of the loan is more than $5000, and at 1% per month otherwise. She
pays back $400 every month, except for the last month, when the repayment must be less than $400. She
pays at the end of the month, after the interest on the balance has been compounded. The first repayment is
made one month after the loan is paid out. Write a program which displays a monthly statement of the
balance (after the monthly payments has been made), the final payment, and the month of the final payment.
Hint: Use a while loop for this problem.
Deliverables:
• Hardcopy of your M-file containing your structure plan describing how you plan to solve the
problem along with your executable code.
Name _________________________________________
Last, First
Below Avg. (4 pts) Average (7 pts) Excellent (10 pts)
Points
Problem attempted, but
incorrect, and poor
attempt at structure plan.
Solution has minor errors or
incomplete structure plan.
Correct numerical solution.
Well documented M-file &
structure plan.
Below Avg. (4 pts) Average (7 pts) Excellent (10 pts) Points
Problem attempted, but
incorrect, and poor
attempt at structure plan.
Solution / plot has minor errors or
incomplete structure plan.
Correct solution numerical
solution with well-presented
plot.
Well documented M-file &
structure plan.
Below Avg. (4 pts) Average (7 pts) Excellent (10 pts) Points
Problem attempted, but
incorrect, and poor
attempt at structure plan.
Solution / plot has minor errors or
incomplete structure plan.
Correct solution numerical
solution with well-presented
plot.
Well documented M-file &
structure plan.
Below Avg. (4 pts) Average (7 pts) Excellent (10 pts) Points
Problem attempted, but
incorrect, and poor
attempt at structure plan.
Solution has minor errors or
incomplete structure plan.
Correct numerical solution.
Well documented M-file &
structure plan.
Requirement Unacceptable (5 pts)
Expected
(10 pts)
Points
Use provided cover sheet.
If any of the
requirements are
missing or do not
meet specification.
All format
requirements
met.
Header on each page (Course, Assignment, Name, page #).
Single sided print copy.
Each problem on a new page (single sided).
Pages in correct order.
One staple in the upper left corner.
Final answers boxed / highlighted.
Clear / Neat formatting.
Excel file submitted to D2L.
Total Score
/50
We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.
Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.
Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.
Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.
Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.
Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.
We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.
Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.
You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.
Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.
Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.
You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.
You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.
Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.
We create perfect papers according to the guidelines.
We seamlessly edit out errors from your papers.
We thoroughly read your final draft to identify errors.
Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!
Dedication. Quality. Commitment. Punctuality
Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.
We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.
We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.
We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.
We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.