Math problems
Math problems
Does anyone here have a good knowledge of mathematics? I need some simple help for understanding few things about trigonometry and integration.
Re: Math problems
I might be able to help you.
Re: Math problems
Difficult to explain, so I've made these pics in attachment.
One is integration problem. Given the function values, how would you determine the function, and how would you calculate the grey surface area using calculus. (I know it's an obvious circle, but I need calculus method).
Second pic represents my basic not-understanding of trigonometric functions. It's all clear with right angeled triangle, but what are sin(), cos(), and tg() functions (triangle sides relation) when all angles are different, and none is 90 degrees angle?
in right angle triangle, an angle between adjacent and hypotenuse side (lets call it alfa) is sin(alfa)= opposite side/hypotenuse. But what if my triangle is like in the picture? Mind that:
a != b != c
and that:
A != B != C
Thx
EDIT:
actually, the angle is arcsin(alfa) [or 1/sin(alfa)], but you get the point...
One is integration problem. Given the function values, how would you determine the function, and how would you calculate the grey surface area using calculus. (I know it's an obvious circle, but I need calculus method).
Second pic represents my basic not-understanding of trigonometric functions. It's all clear with right angeled triangle, but what are sin(), cos(), and tg() functions (triangle sides relation) when all angles are different, and none is 90 degrees angle?
in right angle triangle, an angle between adjacent and hypotenuse side (lets call it alfa) is sin(alfa)= opposite side/hypotenuse. But what if my triangle is like in the picture? Mind that:
a != b != c
and that:
A != B != C
Thx
EDIT:
actually, the angle is arcsin(alfa) [or 1/sin(alfa)], but you get the point...
Re: Math problems
(Say, is this your homework or something?)
And then transform it so that one side will be y by itself. (And that the other side will not contain y.)
I.e. the sin,cos,tg of an angle in your triangle (or anywhere) is the same as the sin,cos,tg of an angle equal to it in a right-angled triangle, provided that such a triangle exists, i.e. the angle is less than 90°.
But there is another definition, which works for any angle: https://en.wikipedia.org/wiki/Sine#Unit ... definition
If you want relations between angles and sides of arbitrary triangles, you can use these:
https://en.wikipedia.org/wiki/Law_of_sines
https://en.wikipedia.org/wiki/Law_of_cosines
Also, please don't use "1/sin" for arc sin.
In the "sin-1" notation (commonly found on calculators), the "-1" superscript means inverse function and not reciprocal.
Although the use of "sin-1" also seems to be discouraged, exactly because of this confusion: https://en.wikipedia.org/wiki/Inverse_t ... s#Notation
To get the function, you need the equation of the circle: https://en.wikipedia.org/wiki/Circle#EquationsCoco wrote: One is integration problem. Given the function values, how would you determine the function, and how would you calculate the grey surface area using calculus. (I know it's an obvious circle, but I need calculus method).
And then transform it so that one side will be y by itself. (And that the other side will not contain y.)
As Wikipedia writes, sin,cos,tg are functions of an angle by itself, and the right-angled triangle is only needed for the definition: https://en.wikipedia.org/wiki/Sine#Righ ... definitionCoco wrote: Second pic represents my basic not-understanding of trigonometric functions. It's all clear with right angeled triangle, but what are sin(), cos(), and tg() functions (triangle sides relation) when all angles are different, and none is 90 degrees angle?
I.e. the sin,cos,tg of an angle in your triangle (or anywhere) is the same as the sin,cos,tg of an angle equal to it in a right-angled triangle, provided that such a triangle exists, i.e. the angle is less than 90°.
But there is another definition, which works for any angle: https://en.wikipedia.org/wiki/Sine#Unit ... definition
If you want relations between angles and sides of arbitrary triangles, you can use these:
https://en.wikipedia.org/wiki/Law_of_sines
https://en.wikipedia.org/wiki/Law_of_cosines
Actually, the angle is alfa = arc sin(opposite side/hypotenuse).Coco wrote: in right angle triangle, an angle between adjacent and hypotenuse side (lets call it alfa) is sin(alfa)= opposite side/hypotenuse.
[...]
actually, the angle is arcsin(alfa) [or 1/sin(alfa)], but you get the point...
Also, please don't use "1/sin" for arc sin.
In the "sin-1" notation (commonly found on calculators), the "-1" superscript means inverse function and not reciprocal.
Although the use of "sin-1" also seems to be discouraged, exactly because of this confusion: https://en.wikipedia.org/wiki/Inverse_t ... s#Notation
Re: Math problems
No. I've finished my last homework a long time ago , however, I'm still interested in relearning a few things that I've missed in math class because I was young and uninterested back than, or the things that I haven't fully understood. So now I just browse forums on technical universities, and I'm trying to solve math exams they use for selecting new students. It's more fun than solving crossword puzzles, and I might find it useful someday(Say, is this your homework or something?)
I meant that, my bad. And thanks for clarifying the rest.Actually, the angle is alfa = arc sin(opposite side/hypotenuse).
Uhm... I'll just read some more on the subject. Waaaay moreTo get the function, you need the equation of the circle: https://en.wikipedia.org/wiki/Circle#Equations
If anyone is interested, I have one more task. This one might be more interesting for programmers.
Re: Math problems
Well, as they say, better late then never.Coco wrote:however, I'm still interested in relearning a few things that I've missed in math class because I was young and uninterested back than, or the things that I haven't fully understood.
What is it?Coco wrote:If anyone is interested, I have one more task. This one might be more interesting for programmers.
Re: Math problems
How many numbers exist between 1 and 1.000.000 that are divisible by either 11 or 13, and no other number (except 1, and themself, of course)?
Re: Math problems
Three numbers: 121, 143 (by both) and 169.Coco wrote:How many numbers exist between 1 and 1.000.000 that are divisible by either 11 or 13, and no other number (except 1, and themself, of course)?
At least, that's what my basic code tells me. No guarantees the code is correct.
The code could probably be a lot better, to skip large blocks of numbers based on their properties.
No idea if there's a mathematical way to determine this.
Code:
Spoiler: show
Spoiler: show
Re: Math problems
You forgot 13 and 11, or Ive formulated the question in a wrong way. However I think that is correct. Anything above 169 must be divisible by yet another number.
More questions? xD
More questions? xD
Re: Math problems
Not related to topic, but just for fun, let's check out who thinks as a programmer and who as a mathematician. Write a simple code that sums the all previous numbers (and that number). For example sum(10) would be 1+2+3+...+10.
Re: Math problems
As a programmer, when I need to use (that kind of) math, I Google. Then I find something like this, (N(N + 1))/2, and test+use that. Frequently, I search for a couple of solutions, read up on what's most accurate, fastest, recommended. In fact, even for very simple programming tasks I often look up things. Simply because what I know and remember may work but could be deprecated; could have new, better alternatives.Coco wrote:Not related to topic, but just for fun, let's check out who thinks as a programmer and who as a mathematician. Write a simple code that sums the all previous numbers (and that number). For example sum(10) would be 1+2+3+...+10.
Re: Math problems
Then we call that this number has P propertyCoco wrote:How many numbers exist between 1 and 1.000.000 that are divisible by either 11 or 13, and no other number (except 1, and themself, of course)?
I'll try to proof it. Let 1<=N<=1.000.000 an integer. N=q1k1...qrkr in an unique way.Norbert wrote:No idea if there's a mathematical way to determine this.
(https://en.wikipedia.org/wiki/Fundament ... arithmetic)
If N has P property, there is some qi = 11 or 13. Then, there isn't any qj != 11 and 13. In other way, we have that qj != 11, 13, 1, N, that divides N, in contradiction with P property of N.
So, N = 11a13b, where a,b>=0.
If a or b >=3, we have that 112 or 132 != N and divides N, in contradiction.
Then we have a,b<=2.
We also proof that:
If a=2, then b=0 for similar reason.
If b=2, then a=0 for similar reason.
a+b>=1
Finally, (a,b)=(1,0),(1,1),(0,1),(2,0) or (0,2), and N = 11, 143, 13, 121 or 169.
Re: Math problems
N(N+1) /2 would be math way. I remembered this after i wrote a small code which iterated through each number and adding it to the final sum. Then I figured this out and thought how math can sometimes be helpful (otherwise its a useless piece of crap ).
Now Im trying to figure out a way to sum all even (and only even) numbers via some formula, even if input is odd number. So if input is 7 for example the output should be 2+4+6=12. If input is 6,the result should be the same.
Now Im trying to figure out a way to sum all even (and only even) numbers via some formula, even if input is odd number. So if input is 7 for example the output should be 2+4+6=12. If input is 6,the result should be the same.
Re: Math problems
Ratios between sums of even and odd numbers, their progression and difference towards the given number are interesting...