Answer:
Explanation:
i) On a cold day, Capacity = (66 X 910 X 10∧-9) F
Charge, Q = (66 X 910 X 10∧-9) X 5050 = 0.30 Columb
Current, I= 5050/131013 = 0.039 Amp (where Resistance = 131013 ohms)
Time, t= 0.30/0.039 = 7.7 seconds
ii) On a humid day, Capacity = (77 X 910 X 10∧-9) F
Charge, Q = ( 77 X 910 X 10∧-9) X 5050 = 0.35 Columb
Current, I= 5050/6106 = 0.83 Amp ( where Resistance = 6106 ohms)
Time, t= 0.35/0.83 = 0.42 h or 0.42 X 60 mins = 25 mins
China India United Kingdom France Germany turkey South Korea
Windows 10 thru 7 home and some people use mac osx
Answer:
The program in C is as follows:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(){
int dice [1000];
int count [6]={0};
srand(time(0));
for (int i = 0; i < 1000; i++) {
dice[i] = (rand() %(6)) + 1;
count[dice[i]-1]++;
}
for (int i = 0; i < 6; i++) {
printf("%d %s %d %s",(i+1)," occurs ",count[i]," times");
printf("\n");
}
return 0;
}
Explanation:
This declares an array that hold each outcome
int dice [1000];
This declares an array that holds the count of each outcome
int count [6]={0};
This lets the program generate different random numbers
srand(time(0));
This loop is repeated 1000 times
for (int i = 0; i < 1000; i++) {
This generates an outcome between 1 and 6 (inclusive)
dice[i] = (rand() %(6)) + 1;
This counts the occurrence of each outcome
count[dice[i]-1]++; }
The following prints the occurrence of each outcome
for (int i = 0; i < 6; i++) {
printf("%d %s %d %s",(i+1)," occurs ",count[i]," times");
printf("\n"); }