06/12/19

Probability that no letter is in alphabetical order?

Given a random string of distinct letters, find the probability that none of the letters are in order. A letter is in order when every letter preceding it is of lower alphabetical value and every... more

06/12/19

Sec 7.1 prob 5 Sketch the region enclosed by the curves x=5y^2 and x=y^2+4

List the points of intersection of these curves from bottom to top in the form (x,y):(5,__) and (5,1) ***II couldn't figure of the second part to the first set Decide whether to integrate with... more

06/12/19

7.1 prob 4 Consider the region between the graphs x=y^2-6 and x+5y=8

where a= -7 and b=2 and h(y)=??The area is 121.5 **I got all of the answer except h(y).. not sure why that part of my answer is wrong when the rest is correct. I got h(y)=(y^2-5)-(9-5y)
C

06/12/19

Why do all the C files written by my lecturer start with a #?

Why do all the C files written by my lecturer start with a #?I'm going through some C course notes, and *every* C program source file begins with a single `#` on the first line of the program.Then... more

06/11/19

homework help please

Tomatoes in Tokyo, Japan cost 738 Yen per kilogram. Tomatoes in Cincinnati cost $1.49 per pound. In which city are tomatoes the better buy? Useful conversion factors:1 US Dollar = 109.5 Japan Yen1... more
C

06/11/19

warning: implicit declaration of function?

My compiler (GCC) is giving me the warning:> warning: implicit declaration of functionPlease help me understand why is it coming.

06/11/19

You are going to plant a rectangular garden.

There is a restriction that the length must be 1 foot less than twice the width. Choose a length and width based on the relationship given

06/10/19

I pack 72 oranges into 8 bags ,then sell them at 4 them at 4 doollz a bag

Hnow much do i get back or sole this problem
C

06/10/19

Error "initializer element is not constant" when trying to initialize variable with const?

I get an error on line 6 (initialize my_foo to foo_init) of the following program and I'm not sure I understand why. typedef struct foo_t {  int a, b, c; } foo_t; const foo_t... more

Polynomial Identities

How can the Binomial Theorem be useful in helping to prove and use polynomial identities?
C

06/10/19

Why does a function with no parameters (compared to the actual function definition) compile?

I've just come across someone's C code that I'm confused as to why it is compiling. There are two points I don't understand.First, the function prototype has no parameters compared to the actual... more
C

06/10/19

Why is 0 < -0x80000000?

I have below a simple program: #include <stdio.h> #define INT32_MIN (-0x80000000) int main(void) {  long long bal = 0;    if(bal < INT32_MIN )  { ... more
Dos

06/09/19

How to increment variable under DOS?

Dos

06/09/19

In MS DOS copying several files to one file?

C++

06/09/19

How to implement the factory method pattern in C++ correctly?

There's this one thing in C++ which has been making me feel uncomfortable for quite a long time, because I honestly don't know how to do it, even though it sounds simple: **How do I implement... more

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.

OR

Find an Online Tutor Now

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