1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olya-2409 [2.1K]
3 years ago
10

3. Given the Taylor series expansion for sin x = x − x3/ 3! + x5/5! − x7/7! . Write a program that takes in an arbitrary integer

for an angle in degrees, converted the degrees to radians and performs the calculation above. Remember you will need a loop to calculate the ! term and float variables to hold the term(s) in the expansion and the converted degrees to radian.
Engineering
1 answer:
katen-ka-za [31]3 years ago
8 0

Answer:

clc

clear

x = input('type value of angle in degrees:\n');

x = x*pi/180; %convverting fron degree to radian

sin_x = x; %as first term of taylor series is x

E = 1; %just giving a value of error greater than desired error

n = 0;

while E > 0.000001

previous = sin_x;

n = n+1;

sin_x = sin_x + ((-1)^n)*(x^(2*n+1))/factorial(2*n+1);

E = abs(sin_x - previous); %calculating error

end

a = sprintf('sin(x) = %1.6f',sin_x);

disp(a)

Explanation:

You might be interested in
There is an electric field near the Earth's surface whose magnitude is about 145 V/m . How much energy is stored per cubic meter
weqwewe [10]

Answer:

u_e = 9.3 * 10^-8 J / m^3  ( 2 sig. fig)

Explanation:

Given:

- Electric Field strength near earth's surface E = 145 V / m

- permittivity of free space (electric constant) e_o =  8.854 *10^-12 s^4 A^2 / m^3 kg

Find:

- How much energy is stored per cubic meter in this field?

Solution:

- The solution requires the energy density stored between earth's surface and the source of electric field strength. The formula for charge density is given by:

                                        u_e = 0.5*e_o * E^2

- Plug in the values given:

                                        u_e = 0.5*8.854 *10^-12 *145^2

                                        u_e = 9.30777 * 10^-8  J/m^3

5 0
3 years ago
Mahamad Siddiqui sent false emails and letters of recommendation on behalf of individuals without their permission to nominate h
shusha [124]

Mahamad Siddiqui sent false emails and letters of recommendation on behalf of individuals without their permission to nominate himself for the Waterman Award at the National Science Foundation. His earlier emails were offered where he had solicited letters were offered as evidence. Siddiqui claimed that content of earlier emails was hearsay. Do the earlier emails come in is given below

Explanation:

1.Mohamed Siddiqui appeals his convictions for fraud and false statements to a federal agency, and obstruction in connection with a federal investigation.   Siddiqui challenges the district court's admission into evidence of e-mail and foreign depositions.

2.On February 18, 1997, Jodi Saltzman, a special agent with the NSF interviewed Siddiqui at Siddiqui's office at the University of South Alabama.   During the interview, Siddiqui signed a statement admitting that he had nominated himself for the Waterman Award, but that he had permission from Yamada and von Gunten to submit forms on their behalf.   Siddiqui also acknowledged in the statement that Westrick had recommended Siddiqui for a different award, the PECASE Award, but that Siddiqui had changed the wording of the letter to apply to the Waterman Award.   Siddiqui was indicted on April 29, 1997.

3.Siddiqui opposed the taking of the depositions on the grounds that the witnesses' personal presence at trial was necessary, and that Indian travel restrictions for its citizens residing abroad prevented him from traveling to Japan and Switzerland.   Specifically, Siddiqui asserted that because of religious persecution in India his travel to Japan or Switzerland related to the criminal action would put his family members still living in India at risk.   The magistrate judge ruled that the government had carried its burden of showing that Yamada and von Gunten would be unavailable to appear at trial, and instructed that Siddiqui's fear of obtaining a travel visa from India because of the threat of persecution of family members should not preclude the taking of the foreign depositions.

4.Yamada's deposition was taken in Japan on March 6, 1998.   At government expense, Siddiqui's counsel attended the deposition and cross-examined the witness, but was not in telephonic contact with Siddiqui during the deposition.   Yamada testified that on February 1, 1997, she received an e-mail stating that if she received a phone call from the NSF to “please tell good words about me.”   Yamada testified that she knew the e-mail was from Siddiqui because the name on the e-mail had Siddiqui's sender address, and it ended with the name “Mo” which Siddiqui had previously told her was his nickname, and which he had used in previous e-mail.

5.Yamada later admitted to Saltzman that she had not given Siddiqui permission to sign, but had made the earlier representation because she thought Siddiqui would go to jail.

6.During cross-examination of Yamada at the deposition, Siddiqui's counsel introduced an e-mail from Yamada to Siddiqui.   This e-mail contained the same e-mail address for Siddiqui as the e-mail received by Yamada and von Gunten apparently from Siddiqui.

7.Von Gunten's video deposition was taken in Switzerland.   At government expense, Siddiqui's counsel attended the deposition and cross-examined von Gunten.   During the deposition, Siddiqui was in communication with his counsel by telephone.   Von Gunten testified at the deposition that he had not submitted a letter of recommendation in favor of Siddiqui for the Waterman Award, and that he had not given Siddiqui permission to submit such a letter in his name.

8 0
4 years ago
Engineering Careers Scavenger Hunt
emmasim [6.3K]

Answer:

c

Explanation:

it's the only engineering career

6 0
4 years ago
Read 2 more answers
Q4. (20 points) For a bronze alloy, the stress at which plastic deformation begins is 271 MPa and the modulus of elasticity is 1
babunello [35]

Answer:

a) P = 86720 N

b) L = 131.2983 mm

Explanation:

σ = 271 MPa = 271*10⁶ Pa

E = 119 GPa = 119*10⁹ Pa

A = 320 mm² = (320 mm²)(1 m² / 10⁶ mm²) = 3.2*10⁻⁴ m²

a) P = ?

We can apply the equation

σ = P / A     ⇒    P = σ*A = (271*10⁶ Pa)(3.2*10⁻⁴ m²) = 86720 N

b) L₀ = 131 mm = 0.131 m

We can get ΔL applying the following formula (Hooke's Law):

ΔL = (P*L₀) / (A*E)    ⇒  ΔL = (86720 N*0.131 m) / (3.2*10⁻⁴ m²*119*10⁹ Pa)

⇒  ΔL = 2.9832*10⁻⁴ m = 0.2983 mm

Finally we obtain

L = L₀ + ΔL = 131 mm + 0.2983 mm = 131.2983 mm

3 0
3 years ago
Identify the phase of the design process illustrated in the following scenario, and justify its importance. Kristin has recently
zaharov [31]

Answer:

The design process is at the verify phase of Design for Six Sigma

Explanation:

In designing for Six Sigma, DFSS, is a product or process design methodology of which the goal is the detailed identification of the customer business needs by using measurements tools such as statistical data, and incorporating the identified need into the created product which in this case is the hydraulic robot Kristin Designed

Implementation of DFSS follows a number of stages that are based on the DMAIC (Define - Measure - Analyze - Improve) projects such as the DMADV which stand for define - measure - analyze - verify

Therefore, since Kristin is currently ensuring that the robot is working correctly and meeting the needs of her client the design process is at the verify phase.

5 0
3 years ago
Other questions:
  • Water at 20 bar and 400 C enters a turbine operating at steady state and exits at 1.5 bar. Stray heat transfer and kinetic and p
    14·1 answer
  • Explain why the following acts lead to hazardous safety conditions when working with electrical equipmenta. Wearing metal ring o
    9·1 answer
  • A man weighs 145 lb on earth.Part ASpecify his mass in slugs.Express your answer to three significant figures and include the ap
    11·1 answer
  • Air enters a tank through an area of 0.2 ft2 with a velocity of 15 ft/s and a density of 0.03 slug/ft3. Air leaves with a veloci
    5·1 answer
  • 5) Initially, the pressure and temperature of steam inside a solid capsule is at 100-pound force per square inch absolute (psia)
    6·1 answer
  • A cartridge electrical heater is shaped as a cylinder of length L=200mm and outer diameter D=20 mm. Under normal operating condi
    5·1 answer
  • How do Consumers sometimes interact with a producers?
    13·1 answer
  • True or false <br> 19. Closed systems rely on feedback from outside of the system to operate.
    12·1 answer
  • These are the most widely used tools and most often abuse tool​
    15·2 answers
  • A pipe fitter would fabricate which one of the following systems?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!