Complex numbers calculation - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Complex numbers calculation (/thread-4322.html) Complex numbers calculation - xavier.vanderhaeghe - 07-08-2015 05:28 PM Hello everyone, I have different problems with complex calcultions with my HP Prime. I know how to use RE(), IM(), ABS() for complex numbers that are defined by numbers, like 3+2*i. I also know how to sotck them into Z0, Z1 etc. But I would want to to the same for complex numbers that are defined by characters, like a+b*i. Could someone help me with that? In the picture, you will see that I tried to stock and to find the real part of a complex number, but it doesn't work. The idea is that I put my complex number in my HP Prime and that I get its real part, imaginary part and absolute value. Thank you in advance for your help Xavier RE: Complex numbers calculation - Bill_G - 07-08-2015 11:00 PM Your question is: "If I have a complex FUNCTION, can the algebraic form of its real and imaginary parts be obtained." I don't think that the HP prime does that. However, if you define values for the variables in your complex function (e.g. C=1, R=2, etc). Then, using Re and Im will return the associated the numerical values. Bill RE: Complex numbers calculation - Didier Lachieze - 07-09-2015 12:31 AM The variables you're using in your formula (W, C, R, L) are predefined global variables with a default value of 0, this is why you get 0 in both cases as the result is evaluated to 0. You can get a symbolic form in CAS mode if you use variables that are not defined, for example with lower case names: [attachment=2295] the same way you cannot store a symbolic formula in Z1 which is predefined as a complex numeric variable, but you can store it in z1. [attachment=2296] [attachment=2297] Note: you don't need to take a picture of the screen of your Prime, you can get a screen shot from the connectivity kit with a right click on your Prime name in the left window, or directly from the virtual calc in the Edit menu.