answersLogoWhite

0

If you plot a graph of current against a range of voltages applied to an incandescent lamp, the result will be a curvedline. This tells us that the current is not proportional to the voltage and, so, the lamp does not obey Ohm's Law.

However, the ratio of voltage to current will indicate the resistance for that particular ratio.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

What is Aries recovery algorithm.?

three main principles lie behind ARIES: - Write ahead logging: Any change to an object is first recorded in the log, and the log must be written to stable storage before changes to the object are written to disk. - Repeating history during Redo: On restart after a crash, ARIES retraces the actions of a database before the crash and brings the system back to the exact state that it was in before the crash. Then it undo the transactions still active at crash time. - Logging changes during Undo: Changes made to the database while undoing transactions are logged to ensure such an action isn't repeated in the event of repeated restarts. The ARIES recovery procedure consists of three main steps : - Analysis : It identifies the dirty (updated) pages in the buffer and the set of transactions active at the time of crash. The appropriate point in the log where REDO operation should start is also determined. - REDO phase : It actually reapplies updates from the log to the database. Generally the REDO operation is applied to only committed transactions. However, in ARIES, this is not the case. Certain information in the ARIES log will provide the start point for REDO, from which REDO operations are applied until the end of the log is reached. Thus only the necessary REDO operations are applied during recovery. - UNDO phase : The log is scanned backwards and the operations of transactions that were active at the time of the crash are undone in reverse order. The information needed for ARIES to accomplish its recovery procedure includes the log, the transaction table, and the dirty page table. In addition, checkpointing is used.


Can you give me an example a program of turbo c that determine a zodiac sign?

#include <stdio.h> int main() { int month,date; printf("Enter the month and date of your birth in the format mm-dd:\n"); scanf("%d-%d",&month,&date); if(month<1month>12date<1date>31) { printf("That is not a valid date.\n"); return 1; } printf("Your zodiac sign is "); switch(month) { case 1: if (date<20) printf("Capricorn\n"); else printf("Aquarius\n"); break; case 2: if (date<19) printf("Aquarius\n"); else printf("Pisces\n"); break; case 3: if (date<21) printf("Pisces\n"); else printf("Aries\n"); break; case 4: if (date<20) printf("Aries\n"); else printf("Taurus\n"); break; case 5: if (date<21) printf("Taurus\n"); else printf("Gemini\n"); break; case 6: if (date<21) printf("Gemini\n"); else printf("Cancer\n"); break; case 7: if (date<23) printf("Cancer\n"); else printf("Leo\n"); break; case 8: if (date<23) printf("Leo\n"); else printf("Virgo\n"); break; case 9: if (date<23) printf("Virgo\n"); else printf("Libra\n"); break; case 10: if (date<23) printf("Libra\n"); else printf("Scorpio\n"); break; case 11: if (date<22) printf("Scorpio\n"); else printf("Sagittarius\n"); break; case 12: if (date<22) printf("Sagittarius\n"); else printf("Capricorn\n"); break; } return 0; }


Can someone make write you a program that tells somebody their zodiac signs the program asks a person their year month and day they were born and it should be for the Chinese Zodiac and Western?

#include <stdio.h> #include<string.h> main() { char s[80]; int d; clrscr(); printf("enter the month of your birthday: "); gets(s); if(!(strcmp(s, "january"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=19) printf("\n CAPRICORN"); else printf("\n AQUARIUS"); } if(!(strcmp(s, "february"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=18) printf("\n AQUARIUS"); else printf("\n PISCES"); } if(!(strcmp(s, "march"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=20) printf("\n PISCES"); else printf("\n ARIES"); } if(!(strcmp(s, "april"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=19) printf("\n ARIES"); else printf("\n TAURUS"); } if(!(strcmp(s, "may"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=20) printf("\n TAURUS"); else printf("\n GEMINI"); } if(!(strcmp(s, "june"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=20) printf("\n GEMINI"); else printf("\n CANCER"); } if(!(strcmp(s, "july"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n CANCER"); else printf("\n LEO"); } if(!(strcmp(s, "august"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n LEO"); else printf("\n VIRGO"); } if(!(strcmp(s, "september"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n VIRGO"); else printf("\n LIBRA"); } if(!(strcmp(s, "october"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n LIBRA"); else printf("\n SCORPIO"); } if(!(strcmp(s, "november"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=21) printf("\n SCORPIO"); else printf("\n SAGITTARIUS"); } if(!(strcmp(s, "december"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=21) printf("\n SAGITTARIUS"); else printf("\n CAPRICORN"); } getch(); }