Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(b) A block with mass M = 2.0kg slides around a vertical circular track with a radius of R. Assume that friction between the

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

(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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus Early Transcendentals

Authors: James Stewart, Daniel K. Clegg, Saleem Watson, Lothar Redlin

9th Edition

1337613924, 978-1337613927

More Books

Students also viewed these Databases questions

Question

What about psychology has surprised you the most so far?

Answered: 1 week ago