Write matlab statement to evaluate tan write out error msgs

Assignment Help Civil Engineering
Reference no: EM13323178

t=theta
The tangent function is defined as than (t)=sin(t)/cos(t). This expression can be evaluated to solve for the tangent as long as themagnitude of cos(t) is not too near to 0. Assume that (t) is givenin degrees, and write the matlab statement to evaluate tan (t) as long as the magnitude of cos(t) is greater then or equal to(10^-20). If the magnitude of cos(t) less then (10^-10, write out an error message instead.

Reference no: EM13323178

Questions Cloud

Explain how to promote selling the property : HJ Heinz Corporation is constructing a distribution facilityin Italy for products such as Heinz Ketchup, Jack Daniel's Sauces,HP steak sauce, and Lea & Perrins Worcestershire sauce. A15-year life is expected for the structure.
How does the use of interrupts increase the efficiency : How does the use of interrupts increase the efficiency of a computer while executing programs.
Describe pipelining : Describe pipelining and how it increases the execution speed of a program.
Describe the fetch and execute cycle of a computer : In a paragraph or less, describe the fetch and execute cycle of a computer and what happens during each of the cycles.
Write matlab statement to evaluate tan write out error msgs : Assume that (t) is givenin degrees, and write the matlab statement to evaluate tan (t) aslong as the magnitude of cos(t) is greater then or equal to(10^-20). If the magnitude of cos(t) less then (10^-10,
Find which is the lowest mark you can see : The 80 cm-tall, 68 cm wide tank is completely filled with water. The tank has marks every 10 cm along one wall, find Which is the lowest mark you can see
What is the diameter of the lens aperture : A telephoto lens with focal length of 123 mm has f-numbers ranging from f/2.8 to f/22. What is the diameter of the lens aperture at the second f-number
Write pseudocode using modularization : The Census Bureau has collected data about all of its employees. You will be given a data file which contains the GS number ( rating) for each employee, one per input record. A number of 1000 signifies the end of the data file.
What is the objective''s resolving power if used in air : A 1.09-cm-diameter microscope objective has a focal length of 2.4 mm. It is used in visible light with a wavelength of 516 nm. What is the objective's resolving power if used in air

Reviews

Write a Review

Civil Engineering Questions & Answers

  Determine the minimum guy lead length for the pole

The electric pole and the stub pole are at the edges of the roadway right-of-way. The anchor will be outside of the right-of-way and will require the subdivision to purchase land from the neighbouring farmer (who is VERY UNHAPPY about the subdivis..

  What rate of perspiration would be needed to maintain a skin

Considere a person who consumes 2100 kcal par day, of which 2000 kcal is converted tu hermal energy.( the remaining 100 kcal is used to do work on the environment.) The person has a surface area of 1.8 m² and is dressed in a bathing suit.

  What would be max eccentricity such that entire soil beneath

The moment of inertia of the footing about its diameter is piB^4/64. What would be the maximum eccentricity such that the entire soil beneath the footing is in compression FOr this value of eccentricity, draw the pressure distribution around the p..

  Compute how much the 10 feet thick clay layer swelled

A 10 feet thick clay that was unsaturated with a unit weight of 108 pcf and a water content of 20% gets saturated and also swells by 20% due to rain. G=2.70.

  Replace the two couples with a single equivalent couple

The two shafts in a speed-reducer unit are subjected to couples of magnitude M1 = 18 N · m and M2 = 7.5 N · m, respectively. Replace the two couples with a single equivalent couple, specifying its magnitude and the direction of its axis.

  What rate of return will the person make per month

A person who retires at age 62 can receive Social Security benefits of $1537 per month, but by waiting for the full retirement age of 66, the person will receive $2057 per month.

  Determine the 10-year peak discharge that will be required

All stormwater will drain as sheet flow to the center, flow into a drop inlet, and travel through a pipe system to the nearest stream. The parking lot will be mowed grass (clay soil) with a slope of 2 percent toward the center.

  Determine the deflection angles and incremental chords

Given for a simple curve: R = 500 ft, I = 58º08'40" and the station of the PI is 38+17.25. Set up the field notes for staking out the curve with deflection angles and incremental chords.

  Determine what is the overflow rate of each tank

two sedimentation tanks operate in parallel. The combined flow to the two tanks is .1 m^3/s. the depth of each tank is 2 m and each has a detention time of 4 h.

  Determine level of service at which the highway will operate

A 3-mi section of a two-lane, two-way highway located in a mountainous terrain is to be designed to carry a peak hour volume of 750 vehicles. Using the operational level of analysis

  Determine the required dimensions of a hollow steel shaft

Determine the required dimensions. The inside diameter is to be two- thirds of the outside diameter. The allowable shearing stress is 70 MPa, and the angle of twist is not to exceed 4 degree in 3 m of the shaft.

  Calculate the q-w and the final temperature of paths

One mole of an ideal monoatomic gas initially at 300 K is expanded from an initial pressure of 10 atm to a final pressure of 1 atm. The molar heat capacity for constant volume for the gas is Cv = 3/2 R .

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