(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
-
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,...
-
On January 1, 2015, the company purchased a piece of equipment for $75,000. The equipment has a five-year useful life and $0 residual value. The company uses straight-line depreciation for financial...
-
Critically evaluate (explain with advantages and disadvantages) various sources of finance for businesses. Calculate the cost of capital using the 'discounted cashflow method' for the financial...
-
For the following data set: a. Construct the multiple regression equation b. Predict the value of y when x1 = 15.3, x2 = 4.7, x3 = 0.6, x4 = 8.2. c. What percentage of the variation in y is explained...
-
The Medequip Company produces precision medical diagnostic equipment at two factories. Three medical centers have placed orders for this months production output. The table below shows what the cost...
-
How do implicit bias and stereotype threat impact diversity management strategies within multinational corporations operating in culturally heterogeneous contexts ?
-
Halifax Fitness Consulting completed the following petty cash transactions during February 2020: Feb. 2 Prepared a $360 cheque, cashed it, and gave the proceeds and the petty cash box to Nick Reed,...
-
Consider the following basket of goods, priced in U.S.A dollars and Japanese Yens, respectively. Suppose the following table represents the typical consumption basket of a U.S. or a Japanese citizen....
-
A Mach-Zehnder interferometer is used as an optical intensity modulator. The two arms of the MZI have equal length L. In each arm we insert an electro-optic sample of length Ls, whose refractive...
-
Calculate the following ratios on the table below for year 2021 only Also Calculate the Free Cash Flow for 2021's You are provided with the following financial statements data for a firm: Year-end...
-
A particle is moving along the curve y 24x+9. As the particle passes through the point (4, 10), its a-coordinate increases at a rate of 5 units per second. Find the rate of change of the distance...
-
1. Please use JASP and G Power as needed. 2. Provide a context of the data set in the supplied data file. Specifically, imagine that you are a teacher studying how well scores on Quiz 1 (X1), GPA...
-
2. Which of the following is the fastest storage unit in the computer memory hierarchy? a. Register b. Cache C. RAM d. Flash Drive 3. Which one of the following is a part of a CPU? a. ALU b....
-
What impact has the Internet had on the globalization of small firms? How do you think small companies will use the Internet for business in the future?
-
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).
-
The two pulleys fixed to the shaft are loaded as shown. If the journal bearings at \(A\) and \(B\) exert only vertical forces on the shaft, determine the required diameter of the shaft to the nearest...
-
The shaft is supported by journal bearings at \(A\) and \(B\) that exert force components only in the \(x\) and \(z\) directions on the shaft. If the allowable normal stress for the shaft is...
-
The shaft is supported by bearings at \(A\) and \(B\) that exert force components only in the \(x\) and \(z\) directions on the shaft. If the allowable normal stress for the shaft is \(\sigma_{\text...
Study smarter with the SolutionInn App