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
Umnica [9.8K]
3 years ago
11

Bend both rudders right.

Engineering
1 answer:
mafiozo [28]3 years ago
8 0
I don’t understand at all your question
You might be interested in
The "Crawler" developed to transport the Saturn V launch vehicle from the assembly building to the launch pad is the largest lan
Illusion [34]

Answer:

a) 152000 slugs

b) 2220000 kg or 2220 metric tons

Explanation:

A body with a weight of 4.9*10^6 lbf has a mass of

4.9*10^6 lbm * 1 lbf/lbm = 4.9*10^6 lbm

This mass value can then be converted to other mass values.

1 slug is 32.17 lbm

Therefore:

4.9*10^6 lbm * 1 slug / (32.17 lbm) = 152000 slugs

1 lb is 0.453 kg

Therefore:

4.9*10^6 lbm / (1/0.453) * kg/lbm = 2220000 kg

5 0
3 years ago
Write the following statements as Prolog clauses, in the order given: If it is raining or snowing, then there is precipitation.
Anika [276]

Answer:

a. See Explanation Below

b. No

Explanation:

a.

Interpreting the statements line by line.

First, the prolog clauses need to be initialised, as follows:

:- dynamic freezing/0, precipitation/0, snowing/0, raining/0.

If it is raining or snowing, then there is precipitation.

The statement is splited in two.

1st, if it is raining then there is precipitation

Or

2nd, if it is raining, then there is precipitation.

So, both statements are given as:

precipitation :- raining.

precipitation :- snowing.

If it is freezing and there is precipitation, then it is snowing.

This is a conditional statement that checks if it is freezing AND there's is precipitation.

If true, then it is snowing.

The above statement is given as:

snowing :- freezing, precipitation.

If it is not freezing and there is precipitation, then it is raining.

This is a conditional statement that checks if it is not freezing AND there's is precipitation.

If true, then it is raining.

The not clause is represented as \+

The above statement is the given as:

raining :- \+ freezing, precipitation.

It is snowing.

This is represented as follows

snowing.

So, the full prolog clause is as follows

:- dynamic freezing/0, precipitation/0, snowing/0, raining/0.

precipitation :- raining.

precipitation :- snowing.

snowing :- freezing, precipitation.

raining :- \+ freezing, precipitation.

snowing.

b. What answer does Prolog give to the following queries:

Is it freezing

No

Reason;

All of the conditions above point to raining or snowing; none points to freezing.

Hence, it is no.

8 0
3 years ago
You will create three classes, the first two being Student and LineAtOfficeHour. The instances of the first class defines a sing
White raven [17]

Answer:

Complete solution is given below:

Explanation:

//student class

class Student{

  private String firstname,lastname;

 

  //constructor

  Student(String first,String last){

      this.firstname=first;

      this.lastname=last;

  }

 

  //getters and setters

  public String getFirstname() {

      return firstname;

  }

  public void setFirstname(String firstname) {

      this.firstname = firstname;

  }

  public String getLastname() {

      return lastname;

  }

  public void setLastname(String lastname) {

      this.lastname = lastname;

  }

  //function to get the fullname of student

  public String fullName() {

      return this.firstname+" "+this.lastname;

  }

}

//class for line at office hour

class LineAtOfficeHour{

 

  private Student line[];

  private int N=0;

  private int back=0;

 

  //empty constructor

  LineAtOfficeHour() {

      line=new Student[5];

  }

  //parameterized constructor

  LineAtOfficeHour(Student st[]) {

      int i=0;

      line=new Student[5];

      while(i<st.length && i<5) {

          line[i]=st[i];

          i++;

      }

      this.N=i;

      this.back=i-1;

  }

  //function to check if line is empty or not

  public boolean isEmpty() {

      if(this.N==0)

          return true;

      else

          return false;

  }

  //function to check if line is full

  public boolean isFull() {

      if(this.N==5) {

          return true;

      }else

          return false;

  }

  ///function to get the size of line

  public int size() {

      return this.N;

  }

 

  //function to add a student to the line

  public void enterLine(Student s) {

      if(isFull())

          System.out.println("Line is full!!!!");

      else {

          line[++back]=s;

          this.N++;

      }

  }

  public Student seeTeacher() {

      Student result=null;

      if(this.N>=0) {

          result=line[0];

          int i=0;

          for(i=1;i<N;i++) {

              line[i-1]=line[i];

          }

          line[i-1]=null;

          this.N--;

          this.back--;

      }

     

     

      return result;

  }

  //function to print students in line

  public String whosInLine() {

      String result ="";

      for(int i=0;i<this.N;i++) {

          result+=line[i].fullName()+",";

      }

      return result;

  }

}

//driver method

public class TestLine {

  public static void main(String[] args) {

      LineAtOfficeHour list=new LineAtOfficeHour();

     

      if(list.isEmpty()) {

          System.out.println("Line is empty!!!!!!!!!");

      }

     

      Student s1[]=new Student[3];

      s1[0]=new Student("John","Smith");

      s1[1]=new Student("Sam","Zung");

      s1[2]=new Student("Peter","Louis");

      list=new LineAtOfficeHour(s1);

     

      if(list.isEmpty()) {

          System.out.println("Line is empty!!!!!!!!!");

      }else {

          System.out.println("Line is not empty.........");

      }

     

      System.out.println("Students in line: "+list.whosInLine());

     

      System.out.println("Student removed: "+list.seeTeacher().fullName());

     

      System.out.println("Students in line: "+list.whosInLine());

  }

}

6 0
4 years ago
7.13 An intersection approach has a saturation flow rate of 1500 veh/h, and vehicles arrive at the approach at the rate of 800 v
Naddik [55]

Answer:

23.34 seconds

Explanation:

Flow rate = 1500

Arrival = 800 vehicle per hour

Cycle c = 60 seconds

Dissipation time = 10 seconds

Arrival time = 800/3600 = 0.2222

Rate of departure = 1500/3600 = 0.4167

Traffic density p = 0.2222/0.4167 = 0.5332

Real time = r

r + to + 10 = c

to = c-r-10 ----1

t0 = p*r/1-p ----2

Equate both 1 and 2

C-r-10 = p*r/1-p

60-r-10 = 0.5332r/1-0.5332

50-r = 0.5332r/0.4668

50-r = 1.1422r

50 = 1.1422r + r

50 = 2.1422r

r = 50/2.1422

r = 23.34 seconds

7 0
3 years ago
Combining two strings is called
a_sh-v [17]

Answer:

The appropriate response is "Concatenation". A further explanation is given below.

Explanation:

  • Two or much more strings are almost always concatenated besides space-saving purposes, and therefore could be acknowledged as either a single product.
  • A straightforward example that demonstrates concatenation should be to figure out what it means. How and why that ends up making a term separate from several other phrases is that almost all the messages are stacked together without any open space between each one.
5 0
3 years ago
Other questions:
  • How does the invention of electrical lights and automobiles impact the world today? Explain. (1 paragraph minimum)
    11·1 answer
  • Determine the depreciation expense for 2018 and 2019 using the following​ methods: (a)​ Straight-line (SL),​ (b) Units of produc
    6·1 answer
  • For some transformation having kinetics that obey the Avrami equation , the parameter n is known to have a value of 1.1. If, aft
    6·1 answer
  • A Carnot refrigeration cycle absorbs heat at -12 °C and rejects it at 40 °C. a)-Calculate the coefficient of performance of this
    11·1 answer
  • What’s the difference between engineering stress and strain and true stress and strain
    6·2 answers
  • A cuboidal tank is half filled with water. By what percent will the hydrostatic force on one of the vertical sides of the tank i
    15·1 answer
  • Ammonia in a piston–cylinder assembly undergoes two processes in series. At the initial state, p1 = 120 lbf/in.2 and the quality
    15·1 answer
  • Thermal energy is...
    15·2 answers
  • The beam below will be subjected to a live load of 600 lb/ft, a concentrated live load of 25 kip, and a dead load of 300 lb/ft.
    15·1 answer
  • What is the different between isometric view and isometric projection
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!