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
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
question
Engineering, 04.07.2019 18:20
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
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
Mathematics, 16.09.2021 02:20
question
English, 16.09.2021 02:20
question
English, 16.09.2021 02:20