(b) A block with mass M = 2.0kg slides around a vertical circular track with a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(b) A block with mass M = 2.0kg slides around a vertical circular track with a radius of R. Assume that friction between the block and the track is negligible. What is the minimum speed the block must have at the top of the track in order to ensure that it does not leave the track at the top? block Write matlab program that prompts user to input the Radius of the circular track and then calculate and display the minimum speed of the block. You can use the following formula to calculate the minimum speed (v). G is the gravity= 9.8 m/s (5 marks) FN Fa ENet = Fg + FN=mac my R FNet = mg +0= 1 g= R V= gR An electronics shop has announced the following seasonal discounts on the purchase of certain items. Purchase Amount 0-250 251 - 570 571 - 1000 More than 1000 Sample output: Discount on Laptop name: Bella 0.0% Enter name: 5.0% 7.5% 10.0% Write a program based on the above criteria to input name, address, amount of purchase and type of purchase (L for Laptop and D for Desktop) by a customer. Compute and print the net amount to be paid by a customer along with his name and address. Discount on Desktop PC Discount = (discount rate/100)* amount of purchase Net amount = amount of purchase - discount 5.0% Do you wish to continue purchase: Y Enter name: Jacob Enter address: Bugis 7.6% 10.0% Name: Jacob Address: Bugis Net amount: $ 720.00 Do you wish to continue purchase: 15.0% You have exit purchase screen, Goodbye. Enter address: Dunearn Enter amount of purchase: $560 Enter type of purchase (L for Laptop/D for Desktop): L Name: Bella Address: Dunearn Net amount: $ 532.00 Do you wish to continue purchase: Y Enter name: Jacob Enter address: Bugis Enter amount of purchase: $800 Enter type of purchase (L for Laptop/D for Desktop): b Invalid type of purchase. (20 Marks) Enter amount of purchase: $800 Enter type of purchase (L for Laptop/D for Desktop): D (a) The wavelength and frequency f of a sound wave are related by Af=v, where v is the speed of the wave. Musicians refer different wavelengths or frequencies by their notes (A-G). Use the information in the following table to plot the frequency on the vertical axis and 1/ on the horizontal axis. Pitch A B C D E F G Wavelength A (m) 0.7800 0.6949 0.6559 0.5843 0.5206 0.4914 0.4378 Frequency f(s-) 440.0 493.9 523.2 (6 marks) 587.3 659.3 698.5 784.0 (a) Write MatLab solution for the following conversion: Option DR RD other Conversion Degrees to Radian Radian to Degree Error mag Your solution must prompt user to input the option (DR or RD). If the option is DR, then ask for angle in degrees and the program displays the equivalent radians. If the option is RD then ask for angle in radians then the program displays the equivalent degrees. Your program should able to accept both scalar and matrix input. The script should keep running until no number is provided to convert. [The function isempty will be useful here] (15 marks) (Hint: degrees = radians* 180/pi Radians degrees * pi / 180) = (a) Write Matlab script to calculate the Sum for the following expression: 1 (i+ 2) (i + 3) (8 marks) (b) A block with mass M = 2.0kg slides around a vertical circular track with a radius of R. Assume that friction between the block and the track is negligible. What is the minimum speed the block must have at the top of the track in order to ensure that it does not leave the track at the top? block Write matlab program that prompts user to input the Radius of the circular track and then calculate and display the minimum speed of the block. You can use the following formula to calculate the minimum speed (v). G is the gravity= 9.8 m/s (5 marks) FN Fa ENet = Fg + FN=mac my R FNet = mg +0= 1 g= R V= gR An electronics shop has announced the following seasonal discounts on the purchase of certain items. Purchase Amount 0-250 251 - 570 571 - 1000 More than 1000 Sample output: Discount on Laptop name: Bella 0.0% Enter name: 5.0% 7.5% 10.0% Write a program based on the above criteria to input name, address, amount of purchase and type of purchase (L for Laptop and D for Desktop) by a customer. Compute and print the net amount to be paid by a customer along with his name and address. Discount on Desktop PC Discount = (discount rate/100)* amount of purchase Net amount = amount of purchase - discount 5.0% Do you wish to continue purchase: Y Enter name: Jacob Enter address: Bugis 7.6% 10.0% Name: Jacob Address: Bugis Net amount: $ 720.00 Do you wish to continue purchase: 15.0% You have exit purchase screen, Goodbye. Enter address: Dunearn Enter amount of purchase: $560 Enter type of purchase (L for Laptop/D for Desktop): L Name: Bella Address: Dunearn Net amount: $ 532.00 Do you wish to continue purchase: Y Enter name: Jacob Enter address: Bugis Enter amount of purchase: $800 Enter type of purchase (L for Laptop/D for Desktop): b Invalid type of purchase. (20 Marks) Enter amount of purchase: $800 Enter type of purchase (L for Laptop/D for Desktop): D (a) The wavelength and frequency f of a sound wave are related by Af=v, where v is the speed of the wave. Musicians refer different wavelengths or frequencies by their notes (A-G). Use the information in the following table to plot the frequency on the vertical axis and 1/ on the horizontal axis. Pitch A B C D E F G Wavelength A (m) 0.7800 0.6949 0.6559 0.5843 0.5206 0.4914 0.4378 Frequency f(s-) 440.0 493.9 523.2 (6 marks) 587.3 659.3 698.5 784.0 (a) Write MatLab solution for the following conversion: Option DR RD other Conversion Degrees to Radian Radian to Degree Error mag Your solution must prompt user to input the option (DR or RD). If the option is DR, then ask for angle in degrees and the program displays the equivalent radians. If the option is RD then ask for angle in radians then the program displays the equivalent degrees. Your program should able to accept both scalar and matrix input. The script should keep running until no number is provided to convert. [The function isempty will be useful here] (15 marks) (Hint: degrees = radians* 180/pi Radians degrees * pi / 180) = (a) Write Matlab script to calculate the Sum for the following expression: 1 (i+ 2) (i + 3) (8 marks)
Expert Answer:
Related Book For
Calculus Early Transcendentals
ISBN: 9781337613927
9th Edition
Authors: James Stewart, Daniel K. Clegg, Saleem Watson, Lothar Redlin
Posted Date:
Students also viewed these databases questions
-
5 T 11 11. (a) (b) 12. (a) - (b) 4 6 Determining Quadrants In Exercises 25 and 26, determine the quadrant in which each angle lies. Sketching Angles In Exercises 13 and 14, sketch each angle in...
-
The business of Whirlwind Limited is that of a travel agency. The companys articles are based on the Model Articles. The managing director of the company is Liam and the company has three other...
-
1 pts The Connors Company has assembled the following data pertaining to certain costs that cannot be easily identified as either fixed or variable. Connors Company has heard about a method of...
-
Find the median and the mode for the following data: 65, 66, 66, 70, 71, 72, 72, 72, 78, 83, 85, 86, 87, 87, 88, 88, 92, 93, 95, 95, 99, 100, 102, 102, 102, 102, 102, 103, 104, 108, 111, 113, 118,...
-
Prove that if (an diverges, so does (|an|?
-
As the number of periods in a moving average forecast increases the less sensitive it is to the most recent period. True False Question 3 An exponential forecasting method is a TIME SERIES...
-
Presented below are summary financial data from the Smith Co. annual report: Calculate the following ratios: a. Times-interest-earned ratio b. Quick ratio c. Current ratio Balance sheet Cash and cash...
-
What type, or types, of HR planning analysis do you propose for the data presented in Table 5.4.1? How do you propose to assess the internal trends in employee movement? Indicate what positions will...
-
Hypothetical Case Problems Case 1. The Northern Shipping Company carelessly moors a ship at a dock on theriver, where the ship breaks away from the mooring and drifts downstream,running over a small...
-
5. La cessations de Qualit de Membre de Fellowship Article 14. La qualit d'un membre( attendez une Eglise) cesse: 1. En cas de retrait volontaire dcid par le comite Pastoral de l'Eglise et accepte...
-
"Mrs. Thatcher vs the Miners". It's an hour-long documentary that was recently released detailing the year-long industrial dispute between working miners in Great Britain and the British Government...
-
The health authorities are considering the treatment alternatives for a type of heart disease. For each diagnosis, there are a number of mutually independent treatment alternatives (including no...
-
2. Show the left and right derivation for the string "aaabbabbba" using the following grammar, SaB/bA A aS/bAA/a B bS/aBB / b
-
ABC activities, cost drivers, and cost pools Activity Activity cost driver Estimated activity usage Estimated cost Production Machine hours 600,000 $ 1,650,000 Materials Lbs of etching solutions...
-
Briefly identify the chosen company and the industry they fall under (General Mills operates within the food & beverage industry producing food such as cereal). What market structure would your...
-
An n-year zero coupon bond with a par value of $1,000 was purchased for $600. A 2n-year $1000 par value bond with annual coupons of $X was purchased for $850. A 3n-year $1000 part value bond with...
-
Clark, PA, has been engaged to perform the audit of Kent Ltd.s financial statements for the current year. Clark is about to commence auditing Kents employee pension expense. Her preliminary enquiries...
-
Use the method of cylindrical shells to find the volume generated by rotating the region bounded by the given curves about the specified axis. y = 4x x 2 , y = 3; about x = 1
-
Find the dimensions of the rectangle of largest area that can be inscribed in a circle of radius r.
-
Use Greens Theorem to evaluate the line integral along the given positively oriented curve. C x 2 y 2 dx + y tan 1 y dy, C is the triangle with vertices (0, 0), (1, 0), and (1, 3).
-
Explain why accrual earnings and cash flow from operating activities are different amounts Which of the two numbers do you think is more reliable? Give an example of where the accrual amount creates...
-
According to the SEC Advisory Committee on Improvements to Financial Reporting, the determination of materiality with respect to financial statement disclosures should be based on an evaluation of...
-
Can earnings management be an ethical practice? Discuss why or why not. Give an example of when it might be ethical.
Study smarter with the SolutionInn App