Quantcast
Channel: VBForums - Maths Forum
Browsing all 112 articles
Browse latest View live

Puzzle

1. Show that 30^239 + 239^30 is not prime. 2. Investigate when (p-1)^q + q^(p-1) is divisible by p, for primes p and q. Fermat's Little Theorem may be helpful.

View Article



[RESOLVED] How to Find R in formula??

hi all, am using DAO in VB6 and MS-Access as back hand. now, i have a formula, u can find out EMI for Loan with that formula. formula is as below. EMI = P * R * (1 + R)^N / ((1 + R)^N - 1) ----> Plz...

View Article

Exponential Moving Average

Does anyone having a function to calculate EMA that they would be willing to share? Would like to input an array of values & a period & get back the EMA value. Thanks if you can help...

View Article

Holt-Winters Triple Exponential smoothing

I am trying to code Holt-Winters Triple Exponential smoothing in VB.NET. http://www.itl.nist.gov/div898/handb...on4/pmc435.htm The part I am struggling with is "alpha, beta and gamma are constants that...

View Article

How things add up

I got this wrong when it was said as a sentence: What is forty plus forty times zero plus one? I said one. The person that asked me said no it is forty one. I plugged that into a program as: Dim X as...

View Article


Techniques on oral/mental math

My 9 year old son will compete on a mental/oral math competition next week, anyone here who can provide tips or provide a link for some tip and tricks? TIA

View Article

intersection point slightly off

the code i've posted is supposed to find the intersection point of 2 lines, but it's slightly wrong. i make the point of intersection 122,42, but i think getnode (i found this function on msdn) finds...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] calculate points on line

how can i calculate points 5 pixels from both ends on the 2 black lines in the attached image? Attachment 98299 the lines are parallel + spaced approximately 24 pixels apart. this is the code i used to...

View Article


Pinochle Probability (again)

Okay, so I was reviewing this thread from before: http://www.vbforums.com/showthread.p...light=pinochle and was trying to apply it to a new situation (and also the question asked there). If I use...

View Article


Image may be NSFW.
Clik here to view.

my linear algebra questions

hi, im studyin lin. algebra and i have 3 questions that i couldn't understand and solved. im studying with different resources, video lectures etc. i would be grateful if you solve/prove my questions...

View Article

Beat The Banker / Deal or No Deal Odds Calculation Help...

Hello. I'm trying to work out how the banker on the UK T.V. show "Deal or No Deal" Works out the Math of what Prize to offer a contestant If you haven't seen the show General description follows...

View Article

ANGLE OF INCIDENCE IS EQUAL TO THE ANGLE OF Reflection

hey is this true even when two balls meet? is this the right way to get the answer? To get the final angle: AngleIncidence = AngleReflection AngleIncidence = (180° + InitialAngle) - (NormalAngle)...

View Article

Simple multiplication progran help needed

Hi I just started playing around with Visual Basics and I tried to make a simple program to work out a price on a square item of steel, but I'm stuck. The program has to multiply the length, width,...

View Article


[RESOLVED] ANGLE OF INCIDENCE IS EQUAL TO THE ANGLE OF Reflection

hey is this true even when two balls meet? is this the right way to get the answer? To get the final angle: AngleIncidence = AngleReflection AngleIncidence = (180° + InitialAngle) - (NormalAngle)...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] What is the answer to this ?

Attachment 99785 I just saw the above on FaceBook.. Using the order of operations, the answer I came to was 1. However, a number of commenters insist passionately that the answer is 9. Some of them...

View Article


Image may be NSFW.
Clik here to view.

Matrix maths help required!!!

Can someone please help with the attached document? With regards to the attached document, the cell highlighted in yellow,has the following formula:...

View Article

Solving Index Laws (Algebra) using .Net

My co-employee (math professor) is asking my help to make a simple algebra solver for him. The specific topic is Index Laws, is there anything in .Net that I could already utilize for this or do I need...

View Article


[RESOLVED] How many bytes (VB6)

Hi, I know that an intger is two bytes in Visual Basic 6 but I have forgotten the others and how many bytes they are. Any ideas? Thanks, Nightwalker

View Article

unsure of battery life calculation

I'm trying to calculate the life of a battery: duty cycle: 3% current drawn during activity: 1.53 mA current drawn during inactivity: negligible transmission time: 33 ms battery capacity: 2510 mAh here...

View Article

Help how can i define a square number using Visual basic language .......

Help how can i define a square number using Visual basic language in Microsoft visual studio? Thanks

View Article
Browsing all 112 articles
Browse latest View live




Latest Images