Get program execution time in the shell?

I want to execute something in a linux shell under a few different conditions, and be able to output the execution time of each execution. I know I could write a perl or python script that would... more

46 is the difference of Mabel’s height and 10

Translate this sentence into an equation


Whole ratio and part where whole is less than 50

A class includes both sixth graders and seventh graders. The ratio of sixth graders to the total number of students in the class is 3:8. There are 20 seventh graders in the class. How many... more


Find the values of the trigonometric functions of θ from the information given.

1) sin(θ) = − 4 5 , θ in Quadrant IVcos(θ) = tan(θ) = csc(θ) = sec(θ) = cot(θ) = 2) csc(θ) = 2, θ in Quadrant I sin(θ) = cos(θ) = tan(θ) = sec(θ) = ... more

How many notebooks did the teacher purchase?

A teacher purchased a total of 460 notebooks and pencils. Each notebook cost $1.75 in each pencil cost five cents. If the teacher spent a total of $218.50 how many notebooks did the teacher... more

Choice of programming language for learning data structures and algorithms?

Which programming language would you recommend to learn about data structures and algorithms? There are some books out there that are programming language-agnostic (written from a Mathematical... more


An arrow is fired

An arrow is fired into the air with an initial velocity of 96 ft./s. The height in feet of the aero T seconds after it was shot into the air is given by the function. H(t)=-16t^2+80t+80. How long... more

Using global variables in a function?

How can I create or use a global variable in a function?If I create a global variable in one function, how can I use that global variable in another function? Do I need to store the global variable... more


What is the meaning of O(m+n)?

This is a basic question, but I'm thinking that O(m+n) is the same as O(max(m,n)), since the larger term should dominate as we go to infinity? Also, that would be different from O(min(m,n)). Is... more


How to kill all processes with a given partial name?

I want to kill all processes that I get by: ps aux | grep my_pattern How to do it? This does not work: pkill my_pattern


Exponential growth and decay word problem

A population of 80 cougars decreases at a rate of 5% per year. A. How many cougars will there be after 6 years?B. After how many years will the population first drop below 40 cougars?


How to dynamically change a web page's title?

I have a webpage that implements a set of tabs each showing different content. The tab clicks do not refresh the page but hide/unhide contents at the client side.Now there is a requirement to... more


How do I find the inverse tangent of a line?

I've got a line (x1,y1) and (x2,y2). I'd like to use tan inverse to find the angle of that line, how would I do so in java? I'd like to see what angle the line makes in relation to x1,y1

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.