subject
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.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
Answers: 3
question
Engineering, 04.07.2019 18:20
The characteristic roots of a dynamic system are: 1.7920 1.8160 i, -1.7920 1.8160 i, -0.4160 what is the order of this system? what are the settling time and damping ratio of the system?
Answers: 3
question
Engineering, 04.07.2019 18:20
For each of the following process: a) sketch the p-v diagram, b)sketch t-s diagram, c) sketch t-v diagram, d) sketch the boundary work on one of the diagrams (a, b or c) and e) sketch the reversible heat transfer on one of the diagrams (a, b or c): 1- isobaric process from compressed liquid to superheated vapor 2- isothermal process from compressed liquid to superheated vapor 3- isentropic process from compressed liquid to superheated vapor
Answers: 3
question
Engineering, 04.07.2019 19:10
The air in an automobile tire with a volume of 0.015 m3 is at 32°c and 140 kpa gage. determine the amount of air that must be added to raise the pressure to the recommended value of 206 kpa gage. assume the atmospheric pressure to be 128 kpa and the temperature and the volume to remain constant.[r-0.287 kj/kgk]
Answers: 3
You know the right answer?
Calculating the cos of an angle the numerical value of cos(x) can easily be determined using the vis...
Questions
question
Spanish, 05.12.2020 06:50
question
Mathematics, 05.12.2020 06:50
question
English, 05.12.2020 06:50
question
Mathematics, 05.12.2020 06:50
question
Biology, 05.12.2020 06:50
Questions on the website: 13722363