More loops - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

More loops

Description:

The percentage of bosses that think that their jokes are 'very very funny' is. 3. 95 ... their bosses are 'very very funny' when the boss is conducting the ... – PowerPoint PPT presentation

Number of Views:43
Avg rating:3.0/5.0
Slides: 16
Provided by: kaw56
Category:
Tags: funny | jokes | loops | more

less

Transcript and Presenter's Notes

Title: More loops


1
More loops
2
The percentage of bosses that think that their
jokes are very very funny is
  • 3
  • 95
  • 98

3
This percentage of employees who think that their
bosses are very very funny is
  • 3
  • 95
  • 98

4
This percentage of employees think that their
bosses are very very funny when the boss is
conducting the survey is
  • 3
  • 95
  • 98

5
The output of the last line is for i113
for j112 sij endends
  • 0
  • 2
  • 6
  • 11

6
The output of the last line is s5for i113
for j112 sij endends
  • 1
  • 5
  • 6
  • 11

7
The output of the last line is sum10for
i113 for j113 sum1sum14
endendsum1
  • 0
  • 4
  • 12
  • 36

8
The output of the last line is sum10for
i113 for j113 sum1sum12
endendsum1
  • 0
  • 18
  • 64
  • 128

9
The output of the last line is sum11for
i113 for j113 sum1sum12
endendsum1
  • 0
  • 18
  • 128
  • 512

10
The output of the last line is i0while
i
  • 0
  • 5
  • 12
  • 15

  • 11
    The output of the last line is i0while i ii1 ji3 endj
    • 0
    • 5
    • 12
    • 15

    12
    The output of the last line is
    finline('x2')sumf(2)f(4)
    • 4
    • 6
    • 16
    • 20

    13
    The output of the last line is finline('x2')
    sumf(24)
    • 6
    • 16
    • 20
    • 36

    14
    function outvalfun(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 programginline('2x')outvaluev
    alfun(g,3,4)
    • -2/5
    • 2/5
    • 6/5
    • 6

    15
    The output of the last line is for i 112
    a(i,i)0endsum10for i112 for j112
    sum1sum15 endendsum1
    • 0
    • 5
    • 10
    • 20
    Write a Comment
    User Comments (0)
    About PowerShow.com