cancel
Showing results for 
Search instead for 
Did you mean: 

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
Highlighted
FelipeACP Honor Student
Honor Student
2 1 0 0
Message 1 of 4
484
Flag Post
HP Recommended

[HP 50g] Vector integration

I've been trying to evaluate a definite integral  of a vector, but I believe it is not possible given that the calculator always returns "Bad type argument". Is there any easy way to circumvent it or is there actualy a way to integrate a vector over a finite line?

 

For reference, the definite integral is:  4/4πε0 ∫(0.1ay-az) /[(.1^2+z^2)^(3/2)]dz from 0 to 0.05

 

Regards

0 Kudos
3 REPLIES 3
Distinguished Professor
Distinguished Professor
3,790 3,489 178 533
Message 2 of 4
462
Flag Post
HP Recommended

[HP 50g] Vector integration

Hi!, FelipeACP:

 

Write the integral, as ...

1: '4/(4*π*ε^0)*∫(0,1/20,1/10*(a*y-a*z)/((1/10^2+z^2)^(3/2), z)' 

Now, the result, with SOLVE, is ... π*a*(4.47214*y-1.05573)

Kind Regards !.
Have a nice day !.
@Maké (Technical Advisor Premium - HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
FelipeACP Honor Student
Honor Student
2 1 0 0
Message 3 of 4
453
Flag Post
HP Recommended

[HP 50g] Vector integration

Hello Maké,

 

Thanks for the reply. I tried doing something similar but by 'ay' and 'az' I mean the unit vectors. Upon doing what you say, the z variable in 'az' is reckoned with when integrating with respect to z, which is not my intention. I want it just to be just a vector. In other words, I want essentially  to evaluate the integral of the array [0, 0.1, -1] / (0.1 + z^2)^3/2 with respect to z from 0 to 0.05. It should yield say 1.5ay+0.6az and display [0, 1.5,0.6] in HP. 

Whenever I try to integrate a vector with the longS function it returns "Bad argument type". The only solution I come up with was to integrate the unit vector ay and az separately, but this will be very tiresome later on. I was hoping there was any easier  workaround to this. 

 

 

0 Kudos
Distinguished Professor
Distinguished Professor
3,790 3,489 178 533
Message 4 of 4
433
Flag Post
HP Recommended

[HP 50g] Vector integration

Hi, FelipeACP:

 

See, in ... Wolfram Alpha ... 

Input:
z =  integral_0^0.05 ({0, 0.1, -1})\/(0.1+z^2)^(3\/2) dz
 
Definite integral:
 integral_0^0.05 ({0, 0.1, -1})\/(0.1+z^2)^(3\/2) dz = {0., 0.156174, -1.56174}
 
Result:
z = {0, 0.156174, -1.56174}
 
Visual representation of the integral:

 

In, the HP PRIME ...

Screenshot_2015-09-14-00-02-59.png

Kind Regards !.
Have a nice day !.
@Maké (Technical Advisor Premium - HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
0 Kudos

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation