1 / 1

1.) Write a VBA program using the flowsheet right!

Practicing exercises for Test 1. 1.) Write a VBA program using the flowsheet right! (Declare k as Integer, y and m as Double!) Let be the output of the program the given table:.

inara
Download Presentation

1.) Write a VBA program using the flowsheet right!

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Practicing exercises for Test 1 1.) Write a VBA program using the flowsheet right! (Declare k as Integer, y and m as Double!) Let be the output of the program the given table: 2.) Write the column heads, the first column and the cells B2, E1, E2, E3, F1, F2, F3 in an Excel Worksheet. Thereafter fill in the columns B and C „pulling down” the following formulae: b3=b2+(a3-a2)*2*cos(3*a3) c2= f$1*a2^2+f$2*a2+f$3 Create a diagram from the data of columns A, B and C, as it is given on the figure below. Write the square of differences of the corresponding cells of columns B and C using cell references into column D, and in the Cell D13 write the sum of the values above it . Minimize the value of the Cell D13 using Solver by changing the values of the first three rows in column F. Create a report sheet by Solver. 3. Given is the function f(k)=3/(k2+5k+6) . Write a VBA program that evaluates the sum given here: Use InputBox to read the values of m and p, where p means the value of k, where the program starts to write the value of Sum, too. The variables m, p and k are Integer, Sum is Double, f is as Function defined. If the Input data are m=5 and p=3, the program should write the table right

More Related