The function

110 Reputation

4 Badges

3 years, 44 days

MaplePrimes Activity


These are questions asked by The function

Hello everybody! Happy new year!

Allright, well, the question states the following: "What is the maximum product of the fromula x*y*z which has the sum of 6 if you add x, y, and z together".

Now, i am seeing what they are doing, but somewhere down the line in the explaination they say "(after some calculations)". 

Isnt there a faster way to do it? And what did they do in the example to get to the result?

Thank you very much!

Greetings,

The Function    

solve(x+y+z = 6, z)

6-x-y

(1)

x*y*(6-x-y)

x*y*(6-x-y)

(2)

expand(x*y*(6-x-y))

-x^2*y-x*y^2+6*x*y

(3)

diff(-x^2*y-x*y^2+6*x*y, x)

-2*x*y-y^2+6*y

(4)

convert(-2*x*y-y^2+6*y, 'horner', y)

(-2*x+6-y)*y

(5)

solve(-2*x*y-y^2+6*y = 0, y)

0, -2*x+6

(6)

y := 0; solve(-2*y+6 = x, x)

0

 

6

(7)

restart

diff(-x^2*y-x*y^2+6*x*y, y)

-x^2-2*x*y+6*x

(8)

convert(-x^2-2*x*y+6*x, 'horner', x)

(-2*y+6-x)*x

(9)

solve(-x^2-2*x*y+6*x, x)

0, -2*y+6

(10)

x := 0; solve(-2*x+6 = y, y)

0

 

6

(11)

``

Download Mapleprimes_Question_Book_2_Paragraph_5.11_Example_35.mw

Hello everybody. 

Im working on some implicit differentiation math right now. And by following the example, it is not bringing me anywhere close to the right answer. 

In English it says: Given the implicit written function x^2-2*x*y+2*y^2=12. Determine the local maximum and/or minimum of y and x. 

The answer (as can be seen in the maple file), is for y between 2sqrt3 and -2sqrt3, and -2sqrt6 and 2sqrt6. 

The example clearly states in the solution (oplossing), that the dy/dx needs to be derived for x. But after doing that, and filling in the equation the same way the example is doing it, im not getting to the rigth answer, but -sqrt3/24, and that doesnt look like the right answer


 

#Opdracht 4

x^2-2*x*y+2*y^2-12

x^2-2*x*y+2*y^2-12

(1)

diff(x^2-2*x*y+2*y^2-12, x)

2*x-2*y

(2)

diff(x^2-2*x*y+2*y^2-12, y)

-2*x+4*y

(3)

solve(x^2-2*x^2+2*x^2-12 = 0, x)

2*3^(1/2), -2*3^(1/2)

(4)

"f(x,y):=x^(2)-2*x*y+2*y^(2)-12"

proc (x, y) options operator, arrow, function_assign; x^2-2*y*x+2*y^2-12 end proc

(5)

dy/dx = -(2*x-2*y)/(-2*x+4*y)

dy/dx = -(2*x-2*y)/(-2*x+4*y)

(6)

simplify(%)

dy/dx = (x-y)/(x-2*y)

(7)

x^2-2*x*y+2*y^2-12

smartplot[x, y](x^2-2*x*y+2*y^2-12 = 0)

 

 

evalf(2*sqrt(3))

3.464101616

(8)

(x-y)/(x-2*y)

diff((x-y)/(x-2*y), x)

1/(x-2*y)-(x-y)/(x-2*y)^2

(9)

simplify(%)

-y/(x-2*y)^2

(10)

-2*sqrt(3)/(2*sqrt(3)*0-(2*2)*sqrt(3))^2

-(1/24)*3^(1/2)

(11)

evalf(%)

-0.7216878367e-1

(12)

``

Thank you for your time!

Greetings,

The Function

Download Mapleprimes_Question_Book_2_Paragraph_5.9_Question_4.mw

Hello everybody. My lovely Dutch math book is progressing. Last week ive been scanning a copy of Advanced Engineering Mathematics from the library, a grueling task which took me 24 full hours to complete. But ive got a book that should be able to teach it with the right mindset and social contract (this Dutch book is too distracting, i cant even think). I will finish it though.. The sturdy that stands i guess. 

Any way the problem here is that the side from which a line interfaces with a shape in the 3D plane only has an x component and is lacking a y and z component. So the calculations are impossilbe, because you cant devide through 0. I suspect its something simple, but like said the repertoire is so terrible it feels like im scrambled eggs if i even remotely think about solving the problem. The facade makes the man right? Feels more like one of these spagetti westerns with only a frontage without anything behind it. 

The Question is as follows (translated from Dutch): "Given is the half ball with the equation z=sqrt(4-x^2-y^2). Check that the given point lays on the half ball and determin the eqation of the interface with the half ball in the given point."

So basically have a vector from that given point that will hit the surface of the half ball.   
 

#Opdracht 2

#a.

restart

z := sqrt(-x^2-y^2+4)

(-x^2-y^2+4)^(1/2)

(1)

"f(x,y):=sqrt(4-x^2-y^2)"

proc (x, y) options operator, arrow, function_assign; sqrt(-x^2-y^2+4) end proc

(2)

a := f(1, 1, sqrt(2))

2^(1/2)

(3)

partafgx := D[1](f)

proc (x, y) options operator, arrow, function_assign; -x/(-x^2-y^2+4)^(1/2) end proc

(4)

b := partafgx(1, 1, sqrt(2))

-(1/2)*2^(1/2)

(5)

c := (D[2](f))(1, 1, sqrt(2))

-(1/2)*2^(1/2)

(6)

raakvlak := z-a = b*(x-1)+c*(y-1)

z-2^(1/2) = -(1/2)*2^(1/2)*(x-1)-(1/2)*2^(1/2)*(y-1)

(7)

evalc(%)

z-2^(1/2) = -(1/2)*2^(1/2)*x+2^(1/2)-(1/2)*2^(1/2)*y

(8)

z = solve(raakvlak, z)

z = -(1/2)*2^(1/2)*x+2*2^(1/2)-(1/2)*2^(1/2)*y

(9)

#b.

restart

"f(x,y):=sqrt(4-x^2-y^2)"

proc (x, y) options operator, arrow, function_assign; sqrt(4-x^2-y^2) end proc

(10)

a := f(2, 0, 0)

0

(11)

partafgx := D[1](f)

proc (x, y) options operator, arrow, function_assign; -x/(4-x^2-y^2)^(1/2) end proc

(12)

b := partafgx(2, 0, 0)

Error, (in partafgx) numeric exception: division by zero

 

c := (D[2](f))(2, 0, 0)

Error, (in unknown) numeric exception: division by zero

 

raakvlak := z-a = b*(x-2)+c*y

z = b*(x-2)+c*y

(13)

z = solve(raakvlak, z)

z = b*x+c*y-2*b

(14)

#ik krijg er niets uit wat ergens op lijkt

#c.

restart

"f(x,y):=sqrt(4-x^2-y^2)"

proc (x, y) options operator, arrow, function_assign; sqrt(4-x^2-y^2) end proc

(15)

a := f(sqrt(2), sqrt(2), 0)

0

(16)

partafgx := D[1](f)

proc (x, y) options operator, arrow, function_assign; -x/(4-x^2-y^2)^(1/2) end proc

(17)

b := partafgx(sqrt(2), sqrt(2), 0)

Error, (in partafgx) numeric exception: division by zero

 

c := (D[2](f))(sqrt(2), sqrt(2), 0)

Error, (in unknown) numeric exception: division by zero

 

raakvlak := z-a = b*(x-sqrt(2))+c*sqrt(2)

z = b*(x-2^(1/2))+c*2^(1/2)

(18)

z = solve(raakvlak, z)

z = -b*2^(1/2)+c*2^(1/2)+b*x

(19)

``

Thank you very much. The first answer "a" was right, but for the other ones, this method they gave does not work. 

Greetings,

The Function 

Download Mapleprimes_Question_Book_2_Paragraph_5.5_Question_2b_2c.mw

Hello everybody!

Im working on my great great (not great at all.. ) Dutch math book. Im really considering getting a copy of "Advanced Engineering Mathematics, by Robert Lopez". But hey, i worked through the first book, and now im at the half of the other second book. So i will finish it.

They left me with no clue on how to get the deal done, that is what is so perfect about this book i guess (i did a lot of books, but these Dutch books, yeah they do me like that) they will leave you in the dark, while they get all the grandeur because they know how to get it done, and you as the reader, well as a first timer, dont know how. Ive talked to a lot of students about this book. Yes it sucks. Classes full of students did agree on that, the majority did. So yeah, im trying to get a book delivered from the university library to a university libary closer to me, so i can get the book that does have good reviews.

The things i did learn from the Dutch math book did work great in statics and mechanics. That made short work of all the questions like a hot knife through butter.

THE ACTUAL QUESTION:
I cant prove this, because i dont know how. The translation says: a. Prove that the inverse of A exists for all values of p.

b. Determine the inverse of A

My take on it thusfar:

#Opdracht 9

#a.

with(LinearAlgebra)

A := `<,>`(`<|>`(1, 1, 1, 1), `<|>`(p, p+2, p+3, p+4), `<|>`(p^2, (p+2)^2, (p+3)^2, (p+4)^2), `<|>`(p^3, (p+2)^3, (p+3)^3, (p+4)^3))

Matrix(%id = 18446747008253355422)

(1)

``

``

``

#b.

B := MatrixInverse(A)

Matrix(%id = 18446747008306226350)

(2)

``

Thank you!

Greetings,

The Function

Download Mapleprimes_Question_Book_2_Paragraph_4.4_Question_9a.mw

Hello everybody,

Something totaly unexpected came by, and i was wondering: how could this be? Im putting what would be the same input in, and yet, its not giving me the results i was expecting for the input i had itterated. 

While one solution would be really cumbersome and slow, it tried to do it faster. It worked before, but now i hit a wall. No clue why, but it seems to be so. 

Here is the example:

 

restart

stelsel := {-x1+7*x2+3*x-x5 = -7, 2*x1+3*x2+4*x3-x5 = 10, 5*x1-3*x2+2*x3-x4-2*x5 = 8}

{-x1+7*x2+3*x-x5 = -7, 2*x1+3*x2+4*x3-x5 = 10, 5*x1-3*x2+2*x3-x4-2*x5 = 8}

(1)

solve(stelsel*{x1, x2, x3, x4, x5})

Error, (in testeq) invalid arguments

 

restart

stelsel := {-x[1]+7*x[2]+x[3]-x[5] = -7, 2*x[1]+3*x[2]+4*x[3]-x[5] = 10, 5*x[1]-3*x[2]+2*x[3]-x[4]-2*x[5] = 8}

{-x[1]+7*x[2]+x[3]-x[5] = -7, 2*x[1]+3*x[2]+4*x[3]-x[5] = 10, 5*x[1]-3*x[2]+2*x[3]-x[4]-2*x[5] = 8}

(2)

solve(stelsel, {x[1], x[2], x[3], x[4], x[5]})

{x[1] = 17/3+(4/3)*x[2]-x[3], x[2] = x[2], x[3] = x[3], x[4] = 53/3-(23/3)*x[2]-7*x[3], x[5] = 4/3+(17/3)*x[2]+2*x[3]}

(3)

``

Thank you!

Greetings,

The Function

Download Mapleprimes_Question_Book_2_Paragraph_4.2.2.mw

1 2 3 4 5 6 7 Page 2 of 7