Home > Software engineering >  VB6 driving power three problems
VB6 driving power three problems

Time:09-21

Today to write program to solve a cubic equation in the process, found that as long as the negative parenthesized or call letters to open power three, VB6 always prompt invalid procedure call or parameters, without negative can open out, brackets this is why, which help to solve, is I write an example in figure

CodePudding user response:

Internal is estimated with Exp (Log (81)/(3) to substitution, the Log out of the negative, calculate not bottom go to

CodePudding user response:

A=- 81
B=Abs (a) ^ (1/3)
If a & lt; Then b=0 0 - b

CodePudding user response:

Write a string section method, does not involve square root calculation,
  • Related