Answer:
Code in C++
Explanation:
C++ Code
#include<iostream> //for input and output
using namespace std;
int main()
{
int hour;
int minute;
cout<<"Enter the hour:";
cin>> hour;
cout<<"Enter the minute:";
cin>>minute;
minute = minute+15;
if(minute>=60){
hour++;
minute=minute-60;
}
if(hour>=24){
hour=0;
}
cout<<"Hours: "<<hour<<endl;
cout<<"Minutes:"<<minute;
return 0;
}
Code Explanation
First we need to declare two int variables to hold hour and minute values input from user.
Check if by adding 15 minutes into minute entered by user is greater then or equal to 60 then increment into hour and subtract 60 from minute.
Another check is that if user enters more then 24 hour or by making increment into hour, the hour values i greater then or equal to 24 then we need to change the hour to 0.
Result
Case 1:
Enter the hour:8
Enter the minute:15
Hours: 8
Minutes:30
Case 2:
Enter the hour:9
Enter the minute:46
Hours: 10
Minutes:1
Answer: Power P at distance 0.7 km is: 0.234 µW
Explanation:
We know that
inverse cube-power law.
Thus Power, P = c / d³
Substituting we have
15 µW = c / (175 m)³
c = (15 µW) x (175 m)³
Then finally Power value at 0.7 km.
Will be
P = c / d³
P = ((15 µW) x (175 m)³) / (700 m)³
= (15 µW) x (175 / 700)³
= (15 µW) x (0.25)³
=(15 µW) x (0.015625)
P = 0.234 µW
1936
First programmable computer. The Z1 was created by German Konrad Zuse in his parents' living room between 1936 and 1938. It is considered to be the first electromechanical binary programmable computer, and the first really functional modern computer.