summaryrefslogtreecommitdiff
path: root/3537/CH8/EX8.6/Ex8_6.sce
blob: ecf03f47021eaa3b8f5b23dcb99948232cacef71 (plain)
1
2
3
4
5
6
7
8
//Example 8_6
clc();
clear;
//To calculate the intensity level
I=8*10^-5                   //units in walt per meter square
I0=10^-12                  //units in decibels
In=10*log10(I/I0)
printf("Intensity level=%.3f dB",In)