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
lorasvet [3.4K]
3 years ago
11

The trigonometry book says: sin^2(t) + cos^2(t) = 1 Write a Python program that verifies the formula with the help of the Python

Math module. Note that the trigonometric functions in the module act on the angles in radians. Your program should perform the following steps 3 times: 1. Pick a random number between 0 and 180 degrees representing an angle in degrees, say Dangle 2. Convert the angle from degrees to radians, say Rangle 3. Use the Math module to find and print the values of sin(Rangle) and cos(Rangle), and 4. Compute and print the value of the above expression: sin^2(Rangle) + cos^2(Rangle). You can then visually verify if the result printed is 1 (or close to it).
Computers and Technology
1 answer:
MAXImum [283]3 years ago
6 0

Answer:

If you open your python-3 console and execute the following .py code you will have the following output. (Inputing 20 e.g)

Write the angles in degrees: 20

radian angles is:  0.3490658503988659

cosene( 0.3490658503988659 ) =  0.9396926207859084

sine( 0.3490658503988659 ) =  0.3420201433256687

sin^2( 0.3490658503988659 ) + cos^2( 0.3490658503988659 ) =  1.0

Explanation:

Code

import math

for i in range(1,4):

   angle = int(input('Write the angles in degrees: '))

   #mat library better works with radians

   angle_radians = (angle*math.pi)/180

   #print output

   print('radian angles is: ',angle_radians)

   print('cosene(',angle_radians,') = ',math.cos(angle_radians))

   print('sine(',angle_radians,') = ',math.sin(angle_radians))

   res = (math.sin(angle_radians))**2 + (math.cos(angle_radians))**2

   print('sin^2(',angle_radians,') + cos^2(',angle_radians,') = ',res)

You might be interested in
The scope of a variable is __________________
Goryan [66]

Answer:

The scope of a variable is where it can be read or modified.

6 0
2 years ago
List three ways you can help someone who is being bullied in of just being a bystander​
nignag [31]

Answer:

1.) Let a teacher, administrator or other safe adult know about what's going on.

2.) If someone is being physically harmed, you can call the police or 911.

3.) If the bullying is mild, (Name calling, insults, etc.) you can attempt to step in.

Explanation:

N/A

8 0
3 years ago
_________ are mobile devices that are used to give drivers advance warning of work zones or other unusual conditions.
Pani-rosa [81]

Answer: Flashing arrow signs

Explanation:Flashing arrow signs are the symbols or signs that are used in the form of warning that is provided to the drivers on the road to indicate about the warning in advance regarding the construction work or any particular work zone is present on that road .

These warning helps the drivers to become attentive while moving on the road so that they meet any accident due to that  .Also these signs are help to the construction worker because they don't face much problem due to the advance sign.

5 0
4 years ago
If you could build your own personal computer, what components would you purchase? Put
lesya [120]

Always start with the choice of a CPU first because that would determine other components. For example, let's say I want want to use AMD Ryzen Threadripper 3990X as the CPU, all I need to do is to refer to its specification to know what other componets will be compatible.

With the specification, we can tell that this CPU is only compatible with DDR4 RAM (up to 4 slots) and PCIe 4.0 Graphic Card. So, I'd probably get 8 DDR4 RAM (any brand should be fine) and a RTX3080Ti GPU if there is no budget limit.

Next, since we have chosen the CPU, RAM and GPU, we can now choose a motherboard based on these choices. In other words, all we need to do is look for a motherboard that is compatible with our choice of CPU, GPU and RAM.

Then, I'll look for a cooler for the CPU because the stock cooler usually isn't good enough if I want to overclock the CPU.

Next, I would choose a power supply unit (PSU) that can provide enough power for the GPU that I have selected and compatible with the motherboard.

Next, I'd decide what data storage to use for this custom built pc. I highly recommend at least one PCIe 4. 0 SSD as a boot drive and one standard SATA Hard Disk to store all data. I'll also add in a SATA DVD drive. SATA connectivity is pretty standard for storage drives, so they should all be compatible.

Okay, let's breakdown the cost (without any peripherals such as keyboard, monitor, mouse, etc):

  • CPU AMD Ryzen™ Threadripper 3990X ($5546.20)
  • GPU Gigabyte AORUS MASTER GeForce RTX 3080 Ti ($3049.03)
  • Motherboard MSI Creator TRX40 ($1359.99)
  • Memory Corsair Dominator Platinum 128 GB (8 x 16 GB) DDR4-3200 CL16 Memory ($3998)
  • Storage Samsung 960 Pro 2TB ($1999.99)
  • Cooler NZXT Kraken X72 Liquid CPU Cooler ($479.90)
  • Case Phanteks Enthoo Elite ATX Full Tower ($915.98)
  • Power Supply Corsair AXi ($787.99)
  • Operating System Windows 10 Pro ($199.99)

The total cost would be around $18,283.50

How does it compare to a similar computer purchased? With these choices, there isn't any similar pre-built computer by other brands such as Dell or HP because this pc is VERY powerful and highly customizable. The key difference is probably the lack of after-sales customer service if you buy components separately from different stores.

3 0
3 years ago
What is aperture priority mode? When might you use this mode on a camera? What is depth of field? How can you adjust the depth o
raketka [301]

Answer:

Please check explanation

Explanation:

We abbreviate aperture priority by A or Av( which is used for aperture value) on the camera mode call up, which is an adjustment on some of the cameras which leverage the user to adjust the certain value of the aperture or the f-number as meanwhile the camera adjust the speed of the shutter ensuring it matches it, and which results in a good exposure depending on the condition of the light  as being measured via the light meter. And this is not the same as the manual mode, in which the user is compelled to make the decision for both the values, the priority of the shutter, the location the user selects the shutter speed while the camera picks up the correct aperture, as well as the program state, where camera picks each of them.

So the first two questions are answered. Let's see the third, the depth of the field.  It is the distance from the nearest to the furthest objects which provides an image being selected for being at the focus in a camera.

Hence the depth of the field means the range of the sharp focus in a certain photograph. And while you shoot with the help of the larger camera like the DSLR, you will be able to adjust the depth through the adjustment of the aperture of the lens. The aperture is nothing else but the opening within the lens which manages the amount of the light that is permitted via the lens.

Now come to the fifth question. The shutter speed and the aperture are being related directly. It improves the aperture (by a stop). And each of them comes up with the very best exposure through the permitted weight of light.

And both of them are related to each other in an inverse proportion. And both of them must be balanced for ensuring that the image is not being exposed or less exposed to the permitted light. And when the aperture is increased the shutter speed increased for balancing it as well as vice versa.

Landscape mode:

It is the kind of page orientation that prints out the picture in a horizontal manner rather than in a vertical manner. And it is being commonly used for printing the charts or various other types of pictures as well as the text which might not adjust properly with the page that is aligned vertically.

Consider the High Nikon DSLR. You need to hold down the "MODE" as meanwhile the rear control (dial)  is turned unless you view "A" over the LCD top. And your FCD then sets the aperture. And in almost all Canon SLRs as an example: You need to turn to "Av" your mode dial.

The results of these adjustments are certainly good.

And the shutter speed is being measured by the unit of time and ranges in less than fractions of one second. And as we say that the shutter speed is "5000", it means its 1/30000 th of a  minute. And the shutter speed which is of one second or more in length is being marked as a'. One example is 16'.

How we measure aperture. And what it means:

It is being measured with the help of the f-stop scale. And on the digital camera, you will find 'f/' which is being followed by an integer. And this f-number indicates the wideness of the aperture. As well as the size does affect the exposure as well as the field depth of the resultant image.

Now come to why we should learn to control the shutter speed and the aperture.

You should know that by selecting the shutter speed you permit yourself to freeze or otherwise blur motion, and sometimes you would like to do the first one or the second one. And the aperture permits you to select the field depth to either blur the background or make it sharper.

Thus, now you have an idea of each of the modes, and their merits. And if you will ask the best one, he will be up with the aperture priority or with auto ISO and full manual. If you are up with some specific requirements, then you should have a full manual mode in automatic mode, and that will be quite handy. You certainly need to learn by heart how to make use of the full manual, as it will improve your understanding of the photography, however, the semi-automatic mode is certainly your best friend.

And yes, as well as its a very great feeling. Its certainly quite hard to take the photographs of still objects while you are riding.

Some of the things that make it hard to take the action photographs are like the object, or the animal can move as well as you need to set the shutter speed as well as the aperture speed quite swiftly. Also, you need to focus your camera for ensuring a very good picture and ensure its not blurry or like the picture is out of the focus.

In night photography, the camera might shake because of the very low ambient brightness, the camera might move for very slow shutter speed. Various other challenges are the improper focus, white balances, less exposure, etc,

That solves all the questions asked.

3 0
3 years ago
Other questions:
  • What is the meaning for science?
    14·1 answer
  • List several things that geographers can map using remotely sensed data
    5·1 answer
  • Data mining is defined as: a)Separating data and programs such that each can be changed without changing the other b)Allowing ma
    5·1 answer
  • What kinds of online behaviors could be considered cyberbullying?
    7·2 answers
  • The mean of a collection of data is located at the​ ______ of a distribution of data.
    12·1 answer
  • IDPSs can also help the organization protect its assets when its networks and systems are still exposed to ____________________
    9·1 answer
  • Which setting on a profile makes a tab NOT accessible in the All App Launcher or visible in any app, but still allows a user to
    11·1 answer
  • This is used to copy information from cell to cell in the spread sheet
    7·1 answer
  • When investigating the serial position curve, delaying the memory test for 30 seconds
    10·1 answer
  • Which directory stores the cron configuration file?.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!