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

Prove this

This problem seems easy, but I can't solve it. Prove that if 0<x<1 then sqrt(x)>x. Example: x=1/4 sqrt(1/4)=1/2.

View Article


Get X/Y coordinates

I'm rewriting a 2d tile based map creator program that I wrote a good while back. One of the features that I'm trying to implement is to know where your mouse is in relation to the map. Currently I...

View Article


Book about Pattern Recognition

Hi all ! I'm lokking for a book about Pattern Recognition ("Solution Manual to Accompany Pattern Classification" by O.Duda), but it seems impossible to find (I looked also in amazon.com but there...

View Article

[RESOLVED] Rise/Run to Angle

For a number of years I've been using a simple rise/run vector to represent the direction of a moving object onscreen. For example, if I wanted to represent the trajectory of an object moving from...

View Article

Image may be NSFW.
Clik here to view.

calculating maximum distinct char permutations

if I have four characters: R, G, B, Y, I can calculate the maximum possible permutations as they are distinct characters and the maximum is 24, which is the factorial of 4. but if the characters are:...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] calculating maximum distinct char permutations

if I have four characters: R, G, B, Y, I can calculate the maximum possible permutations as they are distinct characters and the maximum is 24, which is the factorial of 4. but if the characters are:...

View Article

Image may be NSFW.
Clik here to view.

[C#] Finding angles based on side lengths

I've been following solutions on various sites about the law of sines and law of cosines. However, I must be all mixed up or something because I can't figure out the formulas. I know the lengths of all...

View Article

The maximum number of divisors

In this problem all numbers are integers. In the range [1 - 100], find the number, or numbers, that have the maximum number of divisors. Example: -Divisors of 5 are: 1-5. The number of divisors is 2....

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] [C#] Finding angles based on side lengths

I've been following solutions on various sites about the law of sines and law of cosines. However, I must be all mixed up or something because I can't figure out the formulas. I know the lengths of all...

View Article


Image may be NSFW.
Clik here to view.

help with a formula to find lengths

Hi, need some help to figure out a formula to find the following(check attached) Given: AD=3000, AB=6000 and BC=800 AL=LM=MB=2000 Find: LP, MN, DP, PN, NC and the degrees for ADP corner Thanks in...

View Article

Get x value in relation to horizontal bar

I'm wanting to create my own ProgressBar, more specifically using XNA. In order to do this, I need to fill the ProgressBar from position 0(which represents the minimum) to the value in relation to the...

View Article

Image may be NSFW.
Clik here to view.

Circular segment height?

So i have an assignment at school. the first part of the assignment is finding out how many litres of liquid are in a cylinder. I have the following variables: d = 50 cm (diameter of circle) L = 120 cm...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Circular segment height?

So i have an assignment at school. the first part of the assignment is finding out how many litres of liquid are in a cylinder. I have the following variables: d = 50 cm (diameter of circle) L = 120 cm...

View Article


Normalized range

I've got two numbers, A and B. I don't know which is bigger at the outset. I'm trying to work out a math function that will use the two numbers (without IF statements) and end in a result from 0 to 2,...

View Article

Looking for a small random function

I am looking for help with a stable random function. I have a rectangle that can be various sizes. So let's say 100 x 60. I would like to select a single point on it randomly. That's all simple. One...

View Article


[RESOLVED] reliable decimal to fraction converter

I have some code for converting a decimal to a fraction: Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click     Dim input As Decimal...

View Article

Logarithmic question

I've got a random number between 0 and 1 (simple Rnd() function). If the number is less than 0.1, I need to know how many times you'd need to multiply 0.1 by 0.9 to get under the value I have. I also...

View Article


Expression Evaluator - Parenthesis and Negatives

Hi y'all. I'm ultimately working towards a parser, but I figured that I'd start small and create an expression evaluator. This is what I have so far: Code:     Private operators() As String = {"-",...

View Article

[RESOLVED] Expression Evaluator - Parenthesis and Negatives

Hi y'all. I'm ultimately working towards a parser, but I figured that I'd start small and create an expression evaluator. This is what I have so far: Code:     Private operators() As String = {"-",...

View Article

[RESOLVED] Normalized range

I've got two numbers, A and B. I don't know which is bigger at the outset. I'm trying to work out a math function that will use the two numbers (without IF statements) and end in a result from 0 to 2,...

View Article
Browsing all 112 articles
Browse latest View live