blob: f5834f4a958f9bfb7dff666671bf106626cbe63d (
plain)
1
2
3
4
5
6
7
8
|
//Example 17_5
clc();
clear;
//To find out the amount of heat developed in bulb
t=20*60 //Units in sec
pow=40 //Units in W
heat=t*pow //Units in J
printf("Heat generated in bulb is=%d J",heat)
|