More loops

1 / 15

# More loops The percentage of bosses that think that their ... - PowerPoint PPT Presentation

More loops. The percentage of bosses that think that their jokes are “very very funny” is. 3 95 98. This percentage of employees who think that their bosses are “very very funny” is. 3 95 98.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about 'More loops The percentage of bosses that think that their ...' - Solomon

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
This percentage of employees think that their bosses are “very very funny” when the boss is conducting the survey is
• 3
• 95
• 98
• 1
• 5
• 6
• 11
The output of the last line issum1=0;for i=1:1:3 for j=1:1:3 sum1=sum1+4; endendsum1
• 0
• 4
• 12
• 36
The output of the last line issum1=0;for i=1:1:3 for j=1:1:3 sum1=sum1*2; endendsum1
• 0
• 18
• 64
• 128
The output of the last line issum1=1;for i=1:1:3 for j=1:1:3 sum1=sum1*2; endendsum1
• 0
• 18
• 128
• 512
• 0
• 5
• 12
• 15
• 0
• 5
• 12
• 15
The output of the last line isf=inline(′x^2′);sum=f(2)+f(4)
• 4
• 6
• 16
• 20

function out=valfun(f,a,b)% f= function of x% a= input real number% b= input real numberout=(f(a)-b)/5is saved in valfun.m file, what would be the output of the last line of the following test programg=inline(′2*x′)outvalue=valfun(g,3,4)

• -2/5
• 2/5
• 6/5
• 6
The output of the last line isfor i =1:1:2 a(i,i)=0;endsum1=0;for i=1:1:2 for j=1:1:2 sum1=sum1+5; endendsum1
• 0
• 5
• 10
• 20