HP Forums

Full Version: Problems with polar or phasor form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

Flags: HOME view & RAD MODE
1:
phasor2 := ( 4 ∡ (π/6) ); returns 3.46410161514+2*i //OK
but
phasor1 := ( √(2) ∡ 3*(π/4) ); "Syntax Error" // BUG

2:
PHP Code:
#cas
  
testPhasor():= 
  
BEGIN
    local phasor1
phasor2;
    
phasor1  = ( (2∡ 3*(π/4) );
    
// phasor1  = ( sqrt(2) ∡ 3*(π/4) );
    
phasor2 := ( 4 ∡ (π/6) );
    return { 
phasor2phasor1 };
  
END;
#end 

running testPhasor() from the HOME view, return program({},{},LOCAL {4.∡0.523598775598,1.41421356237∡2.35619449019},...
?


3: CAS VIEW

demoPhasor( ); returns
{4.∡0.523598775598,
1.41421356237∡2.35619449019}

Why in approx?, If the calculator is in symbolic calculation (CAS VIEW & EXACT MODE)
Reference URL's