Write the matlab statements to evaluate tan

Assignment Help Civil Engineering
Reference no: EM13317360

The tangent function is defined as tan (theta)= sin(theta)/cos(theta). This expression can be evaluate to solve for the tangent as long as the magnitude of cos(theta) is no too near to 0. (If cos(theta) is 0, evaluating the equation for tan(theta) will produce the no numerical value Inf.) Assume that theta is given in degrees, and write the MATLAB statements to evaluate tan(theta) as long as the magnitude of cos( theta) is grater than or equal to 10^(-20). If the magnitude of cos(theta) is less than 10^(-20), write out an error message instead.

Reference no: EM13317360

Questions Cloud

Determine the reaction of the rocker b on the beam : Determine the horizontal and vertical components of reaction at the pin A and the reaction of the rocker B on the beam. a)Determine the horizontal and vertical components of reaction at the pin A
What is the orbital speed of the second satellite : A satellite is in a circular orbit around an unknown planet. The satellite has a speed of 1.70 104 m/s, and the radius of the orbit is5.00 106 m. What is the orbital speed of the second satellite
List the things you changed and the purpose of changing it : For readability, all variable names were changed to start with a lowercase letter (e.g. VerbList was changed to verbList) and all function names were changed to start with a uppercase letters
Corporate goals-objectives for coping with unionization : Which of the following is required by most unions and is often waived for workers who become members following a successful organizing drive? Many employers have corporate goals and objectives for coping with unionization and
Write the matlab statements to evaluate tan : Assume that theta is given in degrees, and write the MATLAB statements to evaluate tan(theta) as long as the magnitude of cos( theta) is grater than or equal to 10^(-20). If the magnitude of cos(theta) is less than 10^(-20)
What is the capacity of the drive : Given the instruction set for MARIE in this chapter, decipher the following MARIE machine language instructions. (Write the assembly language equivalent.)
Calculate ratio of new gas flow rate to old gas flow rate : A 98% efficient ESP follows the Deutsch equation. If the gas flow rate changes and the efficiency drops to 94%, calculate the ratio of the new gas flow rate to the old gas flow rate.
What is the radius of the chamber : At an amusement park there is a ride in which cylindrically shaped chambers spin around a central axis. What is the radius of the chamber
What kind of organization was the knights of labor : What kind of organization was the Knights of Labor? Unions believe that which group of people should have a role in determining the rules that will be used to decide how gains will be distributed and how the workplace will be governed?

Reviews

Write a Review

Civil Engineering Questions & Answers

  Determine the vertical force exerted by the balloon

A ballon is tethered at a height of 16.8 m above the ground by three cables. if the tension in highlighted cable is 60 N , determine the vertical force exerted by the balloon at the base of the balloon basket.

  Find specific volume of the tank at 70degf and 200 psi

A cylindrical pressure tank has internal dimensions of 14.0 inches diameter, and 36 inches length from end to end. Max. recommended pressure at 70degF is 200 PSI. The cylinder has a safety relief valve which is set at 250 PSI.

  Find how much can the company afford to spend now

Wheeling-Pittsburg steel is investigating whether it should replace some of its basic oxygen furnace equipment now or wait to do it later. The cost later (3 years from now) is estimated to be 1,700,000.

  Find relation between reflection nd transmission coefficient

What is the relation between reflection and transmission coeffients of a sea wall

  Plate with respect to the surface of the liquid will be

The plate is submerged in a liquid is a vertical position with the parallel sides horizontal and the shorter parallel side at the top and exactly in the surface of the liquid. The static moment of the plate with respect to the surface of the liqui..

  What is expected behavior in charpy impact energy testing

Two identical alloy specimens are being evaluated for use in a new fuel rod design. One sample was exposed to a fast neutron flux of 9 X 10^23 neutrons/(cm2*sec) at a temperature of 323°K for six weeks in a test reactor.

  Determine the volume of direct surface runoff

Using the phi index calculated in part c, determine the volume of direct surface runoff (acre-ft) that would result from the following: hour: 1,2,3,4 ; intensity (in/hr): 0.40,0.05,0.30,0.20. phi index found to be 0.038 in/hr

  Explain light-voice controlling system

Light-Voice Controlling System. We are planning to design a new light-voice controlling system. The voices will basically coordinate the crossing of a road by blind people. Suppose the crossing will be operated by two coordinated systems

  Design of wastewater treatment plant for a community

Consider the design of wastewater treatment plant for a community wiyh average daily and peak hourly wastewater design flows of 2.0 mgd. The raw sewage has an average of 230 mg/l BOD5 and 260 mg/l of suspended solids.

  How many moles of aluminum

How many moles of aluminum do 5.2×1024 aluminum atoms represent?

  What sample size would be necessary to detect a true mean

Benzene is a toxic chemical used in the manufacturing of mechanical chemicals. A manufacturer claims that its exit (effluent) water meets the federal regulation standards with a mean of less than 7980 ppm of benzene.

  Explain how to estimate the et losses for the area in 1 year

It the mean annual runoff of a drainage basin of 10000 km^2 is 140 m^3/s, and the average annual precipitation is 105 cm, estimate the ET losses for the area in 1 year. What are your assumptions

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd