Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived 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.
HP Recommended
HP Prime Graphing Calculator
macOS 10.12 Sierra

I am still learning how to use the HP Prime Graphing Calculator, but I have a problem. Everytime I try to use int() in CAS mode to integrate 'sin(x^2)' from 0 to 2, but the answer the calculator gives is not the correct answer, it gives a very little number and other calculators my classmates use (TI, Casio, etc) give a whole different answer, what could the problem be? Thanks.

7 REPLIES 7
HP Recommended

Are you doing the calcuation in the CAS screen? (Press the CAS button)

 

Are you in degrees mode (that would be a very small number)? Tap the  clock area, and tap the angle pi symbol.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
HP Recommended

The calculator is in radians and I am on CAS mode.

HP Recommended

Then what is your input, and what are you getting in return?

 

Also, what is the version of your software? To find it, tap the "Help" button, press TREE. Go to the top and find "About HP Prime" and report the date/version you see there.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
HP Recommended

My input is: 

int(sin(x^2),x,0,2)

and in return I am getting:

∫(from 0 to 2)sin(x^2)dx

 

In the past it gave me a number (a wrong number), but I resetted the calculator and now this is what I am getting. Any idea why this happens? TI and Casio calculators give the answer in return, mine just rewrites it.

HP Recommended

That indicates that there isn't an definitie integral for this equation. In order to integrate this symbolically, you need to have an implementation of the Frensel integral.  Prime does not have that symbolic function (nor does any other graphing/scientific calculator).

 

What you need to do in this case is perform an APPROXIMATE numerical integration to get the result down to a number. Just press shift-ENTER (see the squiggly = sign, that is the mathematical "approximation" operator). Your number should pop out.

 

In the past, you may have done this in the HOME screen. When integrating in the home screen, it will automatically evaluate everything down to a "number" result. The  CAS won't automatically do that and keep everything symbolic until you tell it to do something different.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
HP Recommended

In Approximate mode, is same, with Fresnel result ...

undefined

 

Fresnel integral ... https://en.m.wikipedia.org/wiki/Fresnel_integral

undefined 

See, in comparison with ... Wolfram Alpha ... http://www.wolframalpha.com/input/?i=fresnel+(int(sin(x%5E2),x,0,2))

 

undefined

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/
HP Recommended

Please stop telling people  to put the CAS into approximate. It is  not recommended, and is not the correct way to do things. It simply will cause MORE problems if you direct people to do this thing.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
Archived 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 <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.