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
dlinn [17]
3 years ago
11

Q5) Write C++ program to find the summation of sines of the even values that can be divided by 7 between -170 and -137.

Engineering
1 answer:
Minchanka [31]3 years ago
5 0

Answer:

In C++:

#include <iostream>

#include <cmath>

using namespace std;

int main(){

 double total = 0;

 for(int i = -170; i<=-130;i++){

     if(i%2 == 0 && i%7==0){

         double angle = i*3.14159/180;

         total+=sin(angle);      }  }

 cout<<"Total: "<<total;

 return 0; }

Explanation:

This initializes the total to 0

 double total = 0;

This iterates from -170 to - 130

 for(int i = -170; i<=-130;i++){

This checks if the current number is even and is divided by 7

     if(i%2 == 0 && i%7==0){

This converts the number from degrees to radians

         double angle = i*3.14159/180;

This adds the sine of the number

         total+=sin(angle);      }  }

This prints the calculated total

 cout<<"Total: "<<total;

You might be interested in
Determine the hydraulic radius for the following rectangular open channel width =23m water depth =3m
Romashka-Z-Leto [24]

Answer:

2.379m

Explanation:

The width = 23m

The depth = 3m

The radius is denoted as R

The wetted area is = A

The perimeter perimeter = P

Hydraulic radius

R = A/P

The area of a rectangular channel

= Width multiplied by Depth

A = 23x3

A = 69m²

Perimeter = (2x3)+23

P = 6+23

P= 29

Hydraulic radius R = 69/29

= 2.379m

This answers the question

Thank you!

8 0
3 years ago
Visual perception is a mental process that is non selective<br> True<br> False
NARA [144]

The statement "Visual perception is a mental process that is non selective" is false, it is a psychic function that allows the organism to capture, elaborate and interpret selective information that comes from the environment.

<h2>What is visual perception?</h2>

Visual perception is that inner sensation of apparent knowledge, resulting from a specific stimulus or light impression recorded by the eyes.

<h3>Characteristics of visual perception</h3>

  • It incorporates the sensory stimuli received from objects, situations or events and converts them into a meaningful interpretation experience.

  • It is an active process of the brain through which an external reality is created by transforming the light information captured by the eye.

Therefore, we can conclude that visual perception is the interpretation made by the brain of the different organisms of the stimuli received through the senses.

Learn more about visual perception here: brainly.com/question/10259599

3 0
3 years ago
Four race cars are traveling on a 2.5-mile tri-oval track. The four cars are traveling at constant speeds of 195 mi/h, 190 mi/h,
Snezhnost [94]

Answer:

Explanation:

1) The number of times, the car with the speed of  195 mph will cross the given point is equal to 30 minutes divided by the time taken by car to cross the 2.5 miles.

0 .5*195/2.5 = 39

Likewise, the car with the speed of 190 mph crosses the point 38 times; the car with the speed of 185 mph crosses the point 37 times

and car with the speed of 180 mph crosses it 36 times

here, the time-mean speed, vt is given below,

vt = (39*195 +38*190+37*185+36*180)/(39+38+37+38)

= 186.433 mph

and space mean speed is given by,

= (39+38+37+36)/(39/195+38/190+37/1850+36/180)

1) The number of times, the car with the speed of  195 mph will cross the given point is equal to 30 minutes divided by the time taken by car to cross the 2.5 miles.

0 .5*195/2.5 = 39

Likewise, the car with the speed of 190 mph crosses the point 38 times; the car with the speed of 185 mph crosses the point 37 times

and car with the speed of 180 mph crosses it 36 times

here, the time-mean speed, vt is given below,

vt = (39*195 +38*190+37*185+36*180)/(39+38+37+38)

= 186.433 mph

and space mean speed is given by,

= (39+38+37+36)/(39/195+38/190+37/1850+36/180)

=187.5 mph

2)  There would be only four number of observations when the aerial photo is given, therefore time mean speed, vt in that condition will be calculated as

Vt = 195+190+185+180/4

  = 187.5

Vs= 4/(1/195+1/190+1/185+1/180)

= 188.36 mph

2)  There would be only four number of observations when the aerial photo is given, therefore time mean speed, vt, in that condition will be calculated as

Vt = 195+190+185+180/4

  = 187.5

Vs= 4/(1/195+1/190+1/185+1/180)

= 188.36 mph

4 0
4 years ago
HELPP!!! Calculating voltage drop
kifflom [539]

Answer:

srry

Explanation:

5 0
3 years ago
Determine the percent increase in the nominal moment capacity of the section in Problem 2 when including compression steel at to
sergejj [24]

Explanation:

Please kindly share your problem two with us as to know the actual problem we are dealing with, the question looks incomplete

5 0
3 years ago
Other questions:
  • The purification of hydrogen gas is possible by diffusion through a thin palladium sheet. Calculate the number of kilograms of h
    15·1 answer
  • 1) Pareto charts are used to: A) identify inspection points in a process. B) outline production schedules. C) organize errors, p
    6·1 answer
  • Water at 15°C is to be discharged from a reservoir at a rate of 18 L/s using two horizontal cast iron pipes connected in series
    6·1 answer
  • A 150-lbm astronaut took his bathroom scale (a spring scale) and a beam scale (compares masses) to the moon where the local grav
    13·1 answer
  • The mechanical advantage of a screw is always ____________________ than/to 1. Question 5 options: less, greater, equal, none of
    7·1 answer
  • A well-insulated tank in a vapor power plant operates at steady state. Saturated liquid water enters at inlet 1 at a rate of 125
    8·1 answer
  • Solved this question??????????????????
    13·1 answer
  • I need help asapppp!!!!!
    7·1 answer
  • What is the answer???
    10·1 answer
  • Ethylene glycol, the ingredient in antifreeze, does not cause health problems because it is a clear liquid.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!