Text 3 4 L55Text 4 4 L56Text

Text 3 4 l55text 4 4 l56text

This preview shows page 13 - 19 out of 19 pages.

L54.Text = Math.Round(SaveMatrix(4, 3), 4) L55.Text = Math.Round(SaveMatrix(4, 4), 4) L56.Text = Math.Round(SaveMatrix(4, 5), 4) L57.Text = Math.Round(SaveMatrix(4, 6), 4) L61.Text = Math.Round(SaveMatrix(5, 0), 4) L62.Text = Math.Round(SaveMatrix(5, 1), 4) L63.Text = Math.Round(SaveMatrix(5, 2), 4) L64.Text = Math.Round(SaveMatrix(5, 3), 4) L65.Text = Math.Round(SaveMatrix(5, 4), 4) L66.Text = Math.Round(SaveMatrix(5, 5), 4) L67.Text = Math.Round(SaveMatrix(5, 6), 4) L71.Text = Math.Round(SaveMatrix(6, 0), 4) L72.Text = Math.Round(SaveMatrix(6, 1), 4) L73.Text = Math.Round(SaveMatrix(6, 2), 4) L74.Text = Math.Round(SaveMatrix(6, 3), 4) L75.Text = Math.Round(SaveMatrix(6, 4), 4) L76.Text = Math.Round(SaveMatrix(6, 5), 4) L77.Text = Math.Round(SaveMatrix(6, 6), 4) L11.Show() L12.Show() L13.Show() L14.Show() L15.Show() L16.Show() L17.Show() L21.Show()
Image of page 13
L22.Show() L23.Show() L24.Show() L25.Show() L26.Show() L27.Show() L31.Show() L32.Show() L33.Show() L34.Show() L35.Show() L36.Show() L37.Show() L41.Show() L42.Show() L43.Show() L44.Show() L45.Show() L46.Show() L47.Show() L51.Show() L52.Show() L53.Show() L54.Show() L55.Show() L56.Show() L57.Show() L61.Show() L62.Show() L63.Show() L64.Show() L65.Show() L66.Show() L67.Show() L71.Show() L72.Show() L73.Show() L74.Show() L75.Show() L76.Show() L77.Show() End Select releaseObject(xlApp)
Image of page 14
releaseObject(xlBook) releaseObject(xlWorksheet) End Sub Private Sub releaseObject(ByVal obj As Object) Try System.Runtime.InteropServices.Marshal.ReleaseComObject(obj) obj = Nothing Catch ex As Exception obj = Nothing Finally GC.Collect() End Try End Sub End Class
Image of page 15
The title of your system Problem Analysis Chart Given Data Required Results Stock Price 2 State Data 3 State Data Stock price forecast ( F sp ) 2 State forecast ( F 2 s ) 3 State forecast ( F 3 s ) Processing Required Solution Alternatives ¿ F 2 s = F 3 s = 1. Define Stock Price as constants 2. Define Stock Price as input values 3. Define 2 State Data as constants 4. Define 2 State Data as input values 5. Define 3 State Data as constants 6. Define 3 State Data as input values Condition A: If type of data = 2 outcome Condition B: If type of data = 3 outcome Condition C: If type of data = difference
Image of page 16
System/Control 0000 Read If Condition A, 2 State Data. If Condition B, 3 State Data. If Condition C, Stock Price. 0001 Calculate If Condition A, 2 State Forecast. If Condition B, 3 State Forecast. If Condition C, Stock Price Forecast. 0002 Print If Condition A, 2 State Forecast. If Condition B, 3 State Forecast. If Condition C, Stock Price Forecast. 0003 Interactivity Chart IPO Chart Input Processing Module Reference Output 2 State Data 3 State Data Stock Price Begin Read Data If Condition A, read 2 state data. If Condition B, read 3 state data. If Condition C, read stock price. Calculate If Condition A, calculate 2 state forecast. If Condition B, calculate 3 state forecast. If Condition C, calculate stock price forecast. Print If Condition A, print F 2 s If Condition B, print F 3 s If Condition C, print F sp 0000 0001 1001 2001 0002 1002 2002 0003 1003 2003 F 2 s F 3 s Until NoMoreInputData 2001 1001 0001 2002 1002 0002 0003 1003 2003
Image of page 17
End 0000 ALGORITHM Flow Chart Algorithm Read Module 1.Read 2 State Data for Condition A 2.Read 3 State Data for Condition B 3. Read Stock Price for Condition C 4.Exit Algorithm Calc Module 1. Calculate 2 State Forecast for Condition A 2.Calculate 3 State Forecast for
Image of page 18
Image of page 19

You've reached the end of your free preview.

Want to read all 19 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes