blob: 77a88f58132fd14e71b40037d8d98d8b815e3077 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//example 18
clear
therre=8;//celsius per watts
tepera=27;//celsius ambient temperature
potran=3;//watt
tejunc=tepera+(therre*potran);
disp("junction temperature = "+string((tejunc))+"celsius");
|