• 100% Satisfaction Guarantee
Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
3546829
Scott is online now

# P1. The number of bacteria, , in a certain culture that is

### Customer Question

P1. The number of bacteria, B, in a certain culture that is subject to refrigeration can be
approximated by the equation , B = 300000e^(-0.032t), where e is the irrational number 2.71828
(rounded to five decimal places) known as Eulerβs number, and t is the time, in hours, that the
culture has been refrigerated. Using this equation write a Matlab script that prompts the user for
a value of time, calculates the number of bacteria in the culture, and displays the results. Check
your program using a test input of 10 hours and append the result to the script as comments.
P2. The volume of oil stored in a underground 200-foot deep cylindrical tank is determined by
measuring the distance from the top of the tank to the surface of the oil. Knowing this distance
and the radius of the tank, the volume of oil in the tank can be determined using the formula
volume= (pi)*radius^(2)(200-distance) . Using this information write a Matlab script that prompts
the user to input the radius and distance measurements, calculates the volume of oil in the tank,
and displays the two input values and the calculated volume. Check your program using a test
input of radius=10 feet and distance=12 feet and append the result to the script as comments.
3.11 [Modified] The displacement of the oscillating spring shown in Figure P3.11 can be described by π₯ =
π΄ πππ (ππ‘), where x = displacement at time t; A = maximum displacement; π= angular frequency, which
depends on the spring constant and the mass attached to the spring.; t= time
Ask the user to enter a value for A, the maximum displacement and a value for the angular frequency. Find
the displacement x for times from 0 to 10 seconds. Display your results in a table of displacement and time
values.
3.13 [Modified] You can use trigonometry to find the height of a building as shown in figure P3.13.
Suppose you measure the angle between the line of sight and the horizontal line connecting the measuring
point and the building. You can calculate the height of the building with the following formula:
tan(π) = β/π; β = ππ‘ππ(π)
Find the maximum and minimum heights the building can be by asking the user to enter the distance to the
building, and the maximum and minimum angle measured along the line of sight.
Test your program with the d=120 m; max angle =33 degrees, min angle=27 degrees.
3.16 [Modified] The range of an object shot at an angle π with respect to the x-axis and an initial velocity v0
is given by
πππππ =
(π£0/g)sin(2π)
For 0 β€ π β€ π/2 and neglecting air resistance. Use g = 9.81 m/s2
. Ask the user to enter a value for the
initial velocity. Obtain the approximate value for the maximum range. Use the range increment of π/100
for this calculation.
3.23 [Modified] Impedance is related to the inductance, L, and the capacitance, C, by the following
equations
ππ =
1
πππΆ ππΏ = πππΏ
For a circuit similar to the one shown in Figure P3.22, assume π = 2ππ and ask the user to enter a value for
C, L, and R. Calculate and display the impedance for the capacitor, ππΆ and for the inductor, ππΏ and the total
impedance ππ. ππ = ππΆ+ππΏ + π. Note: ππ is going to be a complex number.
Test your program using πΆ = 1ππΉ; πΏ = 200 ππ»; π = 5Ξ©; πππ π = 15 ππ»οΏ½
Submitted: 1 year ago.
Category: Homework
Expert:  akch2002 replied 1 year ago.
Kindly upload soft copy of these questions as many questions are not complete. Also inform when these are due. I will go off line and will come back on line in 8 hrs or so.
Expert:  akch2002 replied 1 year ago.
I will start working after hearing from you.
Customer: replied 1 year ago.
here is everything sorry for the late reply due tomorrow night 10pm EST
Expert:  akch2002 replied 1 year ago.
I will go through the attachments and let you know if I can reply. Further kindly inform time in hours as I am in totally different time zone.
Customer: replied 1 year ago.
GMT 1am is due time 07/15/2015
Customer: replied 1 year ago.
9pm Eastern Standard time 07/14/2015 (U.S East Coast)
Expert:  akch2002 replied 1 year ago.
Can you not tell me time in hours? If there is enough time, I will try; otherwise I will opt out.
Customer: replied 1 year ago.
17hrs
Expert:  akch2002 replied 1 year ago.
It is not enough time for me to study and reply. I will prefer to opt out.