## 2 Badges

1 years, 193 days

## Integration with vectors and units...

Maple 2023
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)

As you can see in (4) units are wrong. I have tried to insert them in int expression but nothing has work. Moreover using Units[Standard] packecge i get

Error, (in int) wrong number (or type) of arguments: wrong type of integrand passed to indefinite integration.

Thanks

Download Units_and_Integrals.mw

## Three Questions: Function defined by der...

Maple 2023

First Question

Let's define a function:

 (1.1)

now define a new function that is the derivative of f.

 (1.2)

g is not what I expected. I expect:

and if i try to calculate g(0), the result is:

instead of

 (1.3)

Second Question

I need to define an integral function in which the variable is an integration boundary:

 (2.1)

if I try to calculate :

 (2.2)

how can i do the calculation and display the explicit form of the function, and assign to a name ?

 (2.3)
 Third Question is there a way to write a system of equation in text mode (or math) in the usual math notation with a big curly bracket followed by the list of equation ? graphically similar to the piecewice operator that seems to be not useful for this purpose?

About the first and the second question i read on the web something but i don't understand deeply what is the reason of the behaviour. I would like to understand really that. Thanks a lot.

Download Questions.mw

## Non Linear System solved using solve and...

Maple

Looking for the solution of this a non linear system y = x^2 + 2*x - 3 ,  y = x^3 + 3*x^2 - 4*x - 8 (The system has 3 real solutions A = (-3.35, 1.51)    B = (-0.72, -3.92)  C = (2.07, 5.42) ).

i have tried to solve it as follows:

eq1 := x^2 + 2*x - 3

eq2 := x^3 + 3*x^2 - 4*x - 8

fsolve({eq1 = eq2})

I get

{x = -3.346462190}, {x = -0.7222456338}, {x = 2.068707823}

That is what i expected.

But if i try to use solve and then evalf i find three complex solutions.

solution := solve({eq1 = eq2}, explicit)

evalf(%);

{ x = 2.068707824 - 4x10^(-10)   I },     { x = -3.346462190 - 7.660254040 x10^(-10)    I },   { x = -0.722245634 + 9.660254040x10^(-10)    I }

Why ? I don't understand.

Moreover, solving the equations as follows:
sys1 := y = x^2 + 2*x - 3;
sys2 := y = x^3 + 3*x^2 - 4*x - 8;

fsolve({sys1, sys2}, {x, y})

yeld just one solution:

{x = 2.068707823, y = 5.416967705}

Someone can explain me this behaviour ?

 Page 1 of 1
﻿