Engineering
Engineering, 05.12.2019 01:31, vadrian4056

Calculating the cos of an angle the numerical value of cos(x) can easily be determined using the visual basic sin function, provided x (in radians) is given as an argument. the value of cos(x) can also be approximated by the series the accuracy of this approximation increases as the number of terms in the series (n) increases. in principle, the summation results in an exact answer when n becomes infinite. as a practical matter, the summation is usually sufficiently accurate for modestly large values of n (say, n = 5 or n = 6). develop a visual basic program that evaluates cos(x) using the first n terms of the series expansion. the values of x (in degrees) and n will be input values. when evaluating the series expansion, calculate factorial using a sub procedure. input and output values using message boxes.

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, redrosesxx
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
image
Engineering, 04.07.2019 18:20, DroctorWellsfan
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
Answers: 1
image
Engineering, 04.07.2019 18:20, maciemarklin79981
A3-mm-thick panel of aluminum alloy (k 177 w/m-k, c 875 j/kg-k and ? = 2770 kg/m) is finished on both sides with an epoxy coating that must be cured at or above t,-150°c for at least 5 min. the production line for the curing operation involves two steps: (1) heating in a large oven with air at ts,0-175°c and a convection coefficient of h, 40 w/m2. k, and (2) cooling in a large chamber with air at 25°c and a con- vection coefficient of he 10 w/m2.k. the heating portion of the process is conducted over a time interval te which exceeds the ime required to reach 150°c by 5 min (h = r + 300 s). the coating has an emissivity of ? = 0.8, and the temperatures of the oven and chamber walls are 175 and 25°c, respectively. if the panel is placed in the oven at an initial temperature of 25°c and removed from the chamber at a safe-to-touch tempera ture of 37°c, what is the total elapsed time for the two-step curing operation?
Answers: 3
image
Engineering, 04.07.2019 19:10, gabigalvis1091
What is the main objective of using reheat rankine cycle?
Answers: 3
Do you know the correct answer?
Calculating the cos of an angle the numerical value of cos(x) can easily be determined using the vis...

Questions in other subjects: