Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:calculator:guides:dm15l_miso_solve [02/08/22 11:54 BST] – [Source] johnpublic:calculator:guides:dm15l_miso_solve [04/02/26 09:12 GMT] (current) – [Example : Nano-VNA TDR settings] john
Line 2: Line 2:
  
  
-====== DM15L "Miso" Solve ======+====== DM15L "Multi In Single Out" Solve ======
  
 ** Using multi-variable equations in SOLVE ** ** Using multi-variable equations in SOLVE **
Line 11: Line 11:
  
  
-<code>+<QUOTE> 
  
 In order to conveniently employ SOLVE or INTEG on the HP-34C/15C/41C for multiple-input, single-output (MISO) user-defined functions, the user's program should emulate the way SOLVE and INTEG manage input variables on the three Pioneer-series models and the HP-33s. In order to conveniently employ SOLVE or INTEG on the HP-34C/15C/41C for multiple-input, single-output (MISO) user-defined functions, the user's program should emulate the way SOLVE and INTEG manage input variables on the three Pioneer-series models and the HP-33s.
Line 29: Line 30:
 Invoke SOLVE or INTEG in the usual manner. Invoke SOLVE or INTEG in the usual manner.
 This procedure utilizes indirect storage to make the RPN program more flexible. SOLVE and INTEG feed the each value of the floating variable as input to the user program, which immediately stores the value indirectly to its user-chosen register. Each variable in the function is then recalled for use in calculations, so the user program need not be structured to receive any particular variable from the stack. This procedure utilizes indirect storage to make the RPN program more flexible. SOLVE and INTEG feed the each value of the floating variable as input to the user program, which immediately stores the value indirectly to its user-chosen register. Each variable in the function is then recalled for use in calculations, so the user program need not be structured to receive any particular variable from the stack.
 +
 +
 +
 +<code>
  
 EXAMPLE: EXAMPLE:
Line 123: Line 128:
  
 </code> </code>
 +
 +<cite>
 +[[https://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=556]]
 +</cite>
 +
 +</QUOTE>
  
 ===== Example : OHMS LAW ===== ===== Example : OHMS LAW =====
Line 128: Line 139:
 from [[https://www.hpmuseum.org/forum/thread-1212.html]] from [[https://www.hpmuseum.org/forum/thread-1212.html]]
  
-<code>+<QUOTE> 
 + 
 So, can I write an equation in programming, such as So, can I write an equation in programming, such as
  
Line 136: Line 149:
  
 and use SOLVE to find the unknown? and use SOLVE to find the unknown?
- 
-cf. TECHNIQUE: 'SOLVE' AND 'INTEG' WITH "MISO" USER FUNCTIONS ON THE 34C/15C/41C 
  
 Code: Code:
-LBL A + 
-STO (i) +  LBL A 
-RCL 0 +  STO (i)  
-RCL* 1 +  RCL 0 
-RCL- 2 +  RCL* 1 
-RTN+  RCL- 2 
 +  RTN
  
 Example: Example:
-<I> STO 0 +  <I> STO 0 
-<E> STO 2 +  <E> STO 2 
-1 STO I +  1 STO I 
-SOLVE A+  SOLVE A 
 + 
 +<cite> from [[https://www.hpmuseum.org/forum/thread-1212.html]] </cite> 
 + 
 +</QUOTE> 
 + 
 +==== Example : Nano-VNA TDR settings ==== 
 + 
 +'' F = (Points^2 x v.f x 0.284 ) / distance '' 
 + 
 +  * Points -> R01 
 +  * Distance -> R02 
 +  * V.F -> R03 
 +  * Frequency -> R04 
 + 
 + 
 +<code> 
 + 
 +LBL 71 
 +Sto(i) 
 +RCL 01 
 +x^2 
 +RCL* 03 
 +0.284 
 +
 +RCL/ 02 
 +RCL- 04 
 +RTN
  
 </code> </code>
 +
 +=== Example ===
 +
 +Find the Frequency sweep width needed for a distance of 35m with the following settings:
 +
 +  * Distance = 35m
 +  * Points = 101
 +  * V.F = 0.66
 +
 +<code>
 +
 +101 STO01
 +35 STO02
 +.66 STO03
 +4 STO I
 +solve 71
 +
 +</code>
 +
 +Result = ''54.63MHz''
 +
  
  
Line 162: Line 222:
  
  
-{{tag>}}+{{tag>calculator dm15l}}
  
  

Navigation