TutorMe homepage

SIGN IN

Start Free Trial

Spyros M.

Patient Tutor for young people

Tutor Satisfaction Guarantee

Computer Science (General)

TutorMe

Question:

Need help with computer science and a Small Java Program. A program that prints all odd numbers between 67 and 95 in java

Spyros M.

Answer:

Your code is: /* This program lists any odd number between a start and end point. You may change the variables start and end.On this example, I have used as start point 67 and endpoint 95, as required by the exercise */ public class ListOddNumbers { public static void main(String[] args) { //setup the start and end points, in this example 67 and 95 int start= 67; int end= 95; //Intro message. System.out.println("Printing Odd numbers between " + start + " and " + end); // loop between start and end point for(int i = start; i <= end; i++){ //check if number is odd. Odd numbers when divided by two have remainder one if( i % 2 == 1){ //print number and a space System.out.print(i + " "); } } } } /* The output of our example using 67 as start and 95 at the end is: Printing Odd numbers between 67 and 95 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 */

Calculus

TutorMe

Question:

The two functions f and g defined by f(x) = 3x + 3 for x real and g(t) = 3t + 3 for t real and positive. True or False? Please explain your answer.

Spyros M.

Answer:

False. In order to consider two functions as equals, their rules must be equals and their domains must be same. In that case, for every x that belongs to the common domain, f(x)=g(x) will be valid. In above example, rules are equals. However, domains are not same, so functions f and g are not equaled.

Algebra

TutorMe

Question:

Six construction workers can build a certain type of barn in 4 days. Assuming they work at the same rate, how long would it take 12 construction works to build 10 of the same type of barns? Explain step by step how you got your answer.

Spyros M.

Answer:

Our first step is to calculate the time needed for 12 construction workers to build one barn. We know that six workers need 4 days. Also, we know that workers work at the same rate. So if we double the workers, the speed of build will be doubled as well and we cut in half the time required. So 12 workers will build one barn in 2 days. In order to find the time needed for ten barns, we will multiply the time required for one barn by ten. The final answer is 20 days. Equations: t1 = 4 days ( time needed for 6 workers for one barn) t2 = t1/2 = 4/2 = 2 days ( time needed for 12 workers for one barn) t3 = t2*10 = 2*10 = 20 days ( time needed for 12 workers for ten barns) Final Answer: t3 = 20 days

Send a message explaining your

needs and Spyros will reply soon.

needs and Spyros will reply soon.

Contact Spyros

Ready now? Request a lesson.

Start Session

FAQs

What is a lesson?

A lesson is virtual lesson space on our platform where you and a tutor can communicate.
You'll have the option to communicate using video/audio as well as text chat.
You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.

How do I begin a lesson?

If the tutor is currently online, you can click the "Start Session" button above.
If they are offline, you can always send them a message to schedule a lesson.

Who are TutorMe tutors?

Many of our tutors are current college students or recent graduates of top-tier universities
like MIT, Harvard and USC.
TutorMe has thousands of top-quality tutors available to work with you.

Made in California

© 2018 TutorMe.com, Inc.