﻿ Unreal Software - Thread: [SOLVED] Simple I/O Math

# Forum

Off Topic [SOLVED] Simple I/O Math

# [SOLVED] Simple I/O Math

4 replies
1

#### [SOLVED] Simple I/O Math

Apache uwu
User Offline

Here's a simple question that I just can't solve at the moment...

1
2
3
4
5
6
7
8
9
```Input | Output
------------------
4 | 4
6 | 8
8 | 16
10 | 32
12 | 64
? | ?
------------------
```

Can I get the formula?

1
```Output=func(Input)
```
edited 1×, last 06.09.11 09:13:12 pm

#### Re: [SOLVED] Simple I/O Math

Flacko
User Offline

I guess this is an exponential function and it looks like this:
1
2
3
```function func(x)
return 2^(x/2)
end
```

#### Re: [SOLVED] Simple I/O Math

User Offline

if you want the question marks to be replaced, its
14 and 128.

#### Re: [SOLVED] Simple I/O Math

Apache uwu
User Offline

ops never mind ^^^

thanks--I knew it was something easy
edited 2×, last 06.09.11 09:12:04 pm

#### Re: [SOLVED] Simple I/O Math

Unknown_Soldier
User Offline

Flacko is right

func(4) = 2^(4/2) = 2^2 = 4
func(6) = 2^(6/2) = 2^3 = 8
func(8) = 2^(8/2) = 2^4 = 16
func(10) = 2^(10/2) = 2^5 = 32
func(12) = 2^(12/2) = 2^6 = 64
1