- HP Community
- >
- Archived Topics
- >
- Tablets and Mobile Devices Archive
- >
- [HP 50g] Vector integration

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

### Note on archived topics.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post

# [HP 50g] Vector integration

09-13-2015 10:46 AM - edited 09-13-2015 10:49 AM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post

## [HP 50g] Vector integration

09-13-2015 01:50 PM - edited 09-13-2015 02:09 PM

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)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post

## [HP 50g] Vector integration

09-13-2015 02:33 PM - edited 09-13-2015 02:42 PM

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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post

## [HP 50g] Vector integration

09-13-2015 08:32 PM - edited 09-13-2015 09:12 PM

Hi, FelipeACP:

See, in ... Wolfram Alpha ...

In, the HP PRIME ...