Answer:
Part A:

CPI cannot be negative so it is not possible to for program to run two times faster.
Part B:

CPI reduced by
=80%
Part C:
New Execution Time=
Increase in speed=
Explanation:
FP Instructions=50*106=5300
INT Instructions=110*106=11660
L/S Instructions=80*106=8480
Branch Instructions=16*106=1696
Calculating Execution Time:
Execution Time=
Execution Time=
Execution Time=
Part A:
For Program to run two times faster,Execution Time (Calculated above) is reduced to half.
New Execution Time=

CPI cannot be negative so it is not possible to for program to run two times faster.
Part B:
For Program to run two times faster,Execution Time (Calculated above) is reduced to half.
New Execution Time=

CPI reduced by
=80%
Part C:

New Execution Time=
New Execution Time=
Increase in speed=
Answer:
a) 246.56 Hz
b) 203.313 Hz
c) Add more springs
Explanation:
Spring constant = 12000 N/m
mass = 5g = 5 * 10^-3 kg
damping ratio = 0.4
<u>a) Calculate Natural frequency </u>
Wn = √k/m = 
= 1549.19 rad/s ≈ 246.56 Hz
<u>b) Bandwidth of instrument </u>
W / Wn = 
W / Wn = 0.8246
therefore Bandwidth ( W ) = Wn * 0.8246 = 246.56 * 0.8246 = 203.313 Hz
C ) To increase the bandwidth we have to add more springs
Answer:
While calculating the stresses in a body since we we assume a constant distribution of stress across a cross section if the body is loaded along the centroid of the cross section , this assumption of uniformity is assumed only on the basis of Saint Venant's Principle.
Saint venant principle states that the non uniformity in the stress at the point of application of load is only significant at small distances below the load and depths greater than the width of the loaded material this non uniformity is negligible and hence a uniform stress distribution is a reasonable and correct assumption while solving the body for stresses thus greatly simplifying the analysis.
Answer:
The solution code is written in Python 3.
- carYear = 1995
- if(carYear < 1967):
- print("Probably has few safety features.\n")
- if(carYear > 1970):
- print("Probably has head rests. \n")
- if(carYear > 1991):
- print("Probably has electronic stability control.\n")
- if(carYear > 2002):
- print("Probably has airbags. \n")
Explanation:
Firstly, create a variable, <em>carYear</em> to hold the value of year of the car make. (Line 1)
Next, create multiple if statements as required by the question (Line 3-13). The operator "<" denotes "smaller" and therefore <em>carYear < 1967</em> means any year before 1967. On another hand, the operator ">" denotes "bigger" and therefore <em>carYear > 1970 </em>means any year after 1970.
The print statement in each of the if statements is done using the Python built-in function <em>print()</em>. The "\n" is an escape sequence that create a new line at the end of each printed phrase.