Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Homework2 220302251

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

Homework_2

Task 1
a) Between which point and point the car accelerate, and between which points it
decelerate?

Accelerating Decelerating Constant


A and B C and D B and C
Between F and G G and H D and E
H and I / E and F
/ / I and J

b) What is the distance traveled at point C? and what is it at point F?

At point C At point F
Travele 12 m 12 m + 16 m = 28 m
d

c) Indicate line segments with 0 acceleration, does that mean the car is not moving?
Explain.

From B-C D-F I-K


Acceleration [m/s2] 0 [m/s2] 0 [m/s2] 0 [m/s2]
Constant velocity [m/s] 6[m/s] 2[m/s] 0[m/s]

Explanation:

Since the rate of change is 0 (the slope is 0), the car has no acceleration between (B-C, D-
F, and I-K). The fact that the car's speed is not changing doesn't mean it's static or not
moving; it's moving, but at a constant speed. With a velocity of 0, the car does not move
from points I-K, so it is static and does not have momentum.
d) What are the values of acceleration and deceleration of the car at each segment?

From Acceleration [m/s2] Deceleration [m/s2]


A-B 3 /
B-C 0 /
C-D / 3/2
D-E 0 /
E-F 0 /
F-G 1 /
G-H / 1
H-I / 1
I-J 0 /
F-G 0 /

v−v 0
Formula used here is: a= t

Task 2
a) What is 𝐵𝑜? And how much is it?

Bo in equation is starting number of bacteria.

Calculation:

We can calculate with this formula: B=B0 e ct and from this fromula we get that Bo is
B
Bo= ct
e

My birthday is 28.08.2003 ((28+8+2003)/0/5 = 2039/0.5 = 4.078), number of bacteria is


4078 > This is number B.

My IUS ID nuber is 220302251 so c will be: 17/50 = 0.34 > This number is C.

So now we can calculate Bo and it will be: 4078/e0.34*2 = 2070 > This is Bo.

Number B C Bo
4078 0.34 2078

b) After how many hours, the amount of Bacteria would be 100000?

This part we can calculate with formula that we have:


B
ln
Bo
t=
c

T will be 11.4h. How did I get this. So, (ln*100000/2078)/0.34. After we calculate this we
will get 11.4h.

c) Pick up 4 to 5 points in time and draw the graph of Bacteria growth. (This is done by
pen and pencil)

Made this in Paint.  .

d) Use Octave to plot the graph of bacteria growth

This is graph, but it is not okay . Because there is not line...


Here is code that I used:

Task 3
a) Why do we use (need) logarithmic scale?

In cases where the data you are displaying is much smaller or much larger than the rest of
the data or the percentage differences between values are important, logarithmic scales are
useful. In charts with a very wide range of values, you can specify whether to use a
logarithmic scale.

b) What are the properties of a linear model?

By reducing the sum of squared differences between observed and predicted values, the
line reduces the sum of squared differences. X and Y variable values are linked together
by a regression line. Linear regression constant (b0) equals y-intercept.

c) Give an example from engineering (life) on a decaying function, write an example of


a numerical one.

In this moment I don't have one. .heheehe.

d)

Based on the relationship between Reynolds number and coefficient of drag, We can
determine that the value of the Coefficient of drag, when Re is equal to 500 is equal to
Cd = 0.5. Our Re value is contained in between 5 and 1000.

With the given quantity of the drag coefficient of Cd = 2, the Reynolds number is equal
to Re = 33.

Task 4
Task 5
Here is code for this task:

function days = years ()

years=input('Please enter your age in years:');

disp(' your age in days is: ' );

days= years*365;

endfunction

To prove that this code works:


Task 6
Code from this task:
Task 7
Here are the results from task 7:
Task 8
The shortest distance is equal to AB+BC = 1u+1u = 2units

Task 9
a) Create a proper plot of power (P, on the ordinate) and time (t).

b) Using the graph, determine the total energy delivered to the interior lights if the
door to the car is opened and then closed 10 seconds later.
Task 10
a) What is the closest this person gets to the ground?

Closest person gets to the ground – 5m

b) When this person stops bouncing, how high off the ground will the person be?

It is around 35m

You might also like