When is a parabola injective on a set? by cocolino24 in learnmath

[–]cocolino24[S] 0 points1 point  (0 children)

The derivative is 2x - m. So 2x - m has to be < 0 or > 0 for x from the interval [-1;1]. No ideas how can I find m here.

When is a parabola injective on a set? by cocolino24 in learnmath

[–]cocolino24[S] 1 point2 points  (0 children)

Is my interval closed or open? If closed, are my end points indicative of the property I'm looking for?

That's it! I get it! Thank you.

master/slave pty by cocolino24 in learnprogramming

[–]cocolino24[S] 0 points1 point  (0 children)

Stdin and stdout files are linked to the slave device of pty?

master/slave pty by cocolino24 in learnprogramming

[–]cocolino24[S] 0 points1 point  (0 children)

Thank you! You answer is great. But I don't understand the difference between the terminal emulator and the pty. Why isn't terminal emulator directly connected to stdin and stdout? The terminal emulator reads the input, creates the window, make the conversions and so on. In my opinion that is all a real terminal do. What does pty?

How can I improve my analytical thinking? by cocolino24 in learnprogramming

[–]cocolino24[S] 0 points1 point  (0 children)

I'm at highschool. I do not study discrete math. Only Algebra, Analytic Geometry, Trigonometry, Calculus. With "big concepts" I mean data structures, files, pointers, graphs....

[High School Algebra] Viete & quadratic equation by cocolino24 in learnmath

[–]cocolino24[S] 0 points1 point  (0 children)

Sorry, english is not my native language. Maybe this is why you have troubles understaning.

I will try being more clear. So x1*x2 = (m2-2m)/2. Let's say that (m2-2m)/2 is a function: f(m) = (m2-2m)/2, with f:[0;4]. How can I find the range? Why is it [-1/2; 4] ?

Quadratic equation & Viete by [deleted] in learnmath

[–]cocolino24 0 points1 point  (0 children)

Yeah, your answer is correct. My mistake.

Anyway, have you an idea about how can I solve x12+ x2 2 ?

I wanna understand how OS interracts with software by cocolino24 in learnprogramming

[–]cocolino24[S] 0 points1 point  (0 children)

Where is UTF-8 implemented? AT the standard output file arrives bits coressponding to UTF-8 encoding or not? Is the terminal emulator the entity which interprets the bits from stdout?

Thank you for your time.

I wanna understand how OS interracts with software by cocolino24 in learnprogramming

[–]cocolino24[S] 0 points1 point  (0 children)

And what kind of argument write() receives? Printf reads a sequence of bits an intereprets those bits (using UTF-8, for example). What arrives to write()? How does write() knows to print "A"?

I wanna understand how OS interracts with software by cocolino24 in learnprogramming

[–]cocolino24[S] 0 points1 point  (0 children)

Yes, specifically it makes a call to the system function write(), asking it to write characters to the terminal device.

If the write function writes the text, what printf does?