dnd 5e – Understanding CR calculations

I have been working on a tool to help me design monsters, specifically doing CR calculations as described in the DMG. To prove it, I've tried it on some monsters in the Monster manual, which of course are giving me different results.

I just want to say in advance that I am fully aware that the DMG method does not align with what is actually in the MM, and that a different calculation was used for it. And for my purposes it's fine, but it makes the test quite difficult. I also understand that the game tests can influence the CR.

So, what I want to verify is: for these 3 test monsters, is my calculation correct or has something missed me? And if it is correct, is there a widely accepted or documented reason for these monsters specifically have different RCs?


Wolf (MM CR: 1/4, calculated CR: 1/2)

HP: 11
AC: 13
Damage per round: 7
Attack bonus: 4 + 1 (for Pack Tactics) = 5

Defensive CR: 1/8
Offensive CR: 1
Average CR: 0.625 rounded = 1/2


Wight (MM CR: 3, calculated CR: 2)

HP: 45 x 2 (for damage resistors) = 90
CA: 14
Damage per round: 2 x 6 (long sword) = 12
Attack bonus: 4

Defensive CR: 2
Offensive CR: 1
Average CR: 1.5 rounded = 2


Planetar (MM CR: 16, calculated CR: 15)

HP: 200 x 1.25 (for damage resistors) = 250
CA: 19 + 2 (magic resistance) + 2 (3 saving shots) = 23
Damage per round: 2 x 43 (great angelic sword) = 86
Attack bonus: 12

Defensive CR: 12 + 3 (adjust by AC) = 15
Offensive CR: 13 + 2 (adjust per attack) = 15
Average CR: 15

Reference request: comprehensive study of calculations of stable equivalent rods

Where can I find a complete study of the calculations of the equivalent stems?

As far as I know, the state is:

Classic by Araki and Iriye, Osaka J. Math. 19 (1982). Calculations up to 19. Stable stem for the group $ mathbb {Z} / 2 $.

Araki and Iriye, stable homotopic groups equivalent to spheres with involutions. I.
Osaka J. Math. 19 (1982), no. 1, 1-55. Y

Iriye, Kouyemon
Stable homotopic groups equivalent to spheres with involutions. II.
Osaka J. Math. 19 (1982), no. 4, 733-743.

Calculation through the Adams spectral sequence for groups of first order in grade 2p-2 by Szymik
J. Homotopy Relat. Struct 2 (2007),

Comparison with Motivic offshoots and use of the Motivic Adams spectral sequence: by Dugger and Isaksen.

Stable stems of equiv / 2-equivalents and motiv-motivic.
Proc. Amer. Math. Soc. 145 (2017), no. 8, 3617-3627.

In addition to the division of Tom Dieck-Segal and immediate consequences.

Am I missing something?

calculations: Why does measuring the width and length of the same fish object in a photo give results from different distances?

I am using the Canon DSLR EOS Kiss X7 camera with Canon EF-S 18-55mm f / 3.5-5.6 IS STM Lens to take two photos.

The standard length of the fish should be 62 cm and the height should be 14 cm.

The formula (taken from this discussion by Matt Grum) and gives different distance results from the same photo:
Annex 1: IMG_9228-62.jpg (with rule of 62 cm).
Annex 2: IMG_9230-001.jpg (with 14 cm rule).

IMG_9228.jpg
IMG_9230-001.jpg

Please help me to overcome this problem.

Thank you very much in advance.

The warmest greetings,
Suryadi

Exif information for IMG_9228-62.jpg enter the description of the image here
Exif information for IMG_9230-001.jpg Exif information for IMG_9230-001.jpg

javascript – Calculations with percentage with jQuery

I have the following HTML code:
https://jsfiddle.net/tnLad51z/

It is a simple table with:

  • 1 entry for the price without taxes.
  • 2 inputs for taxes.
  • 1 entry for the final price with taxes.

All the variables seem to work well, but do I use the ideal way to do this kind of calculations?

function updatePriceWithTaxe () {
var total_taxes = 0;
var total_without_taxes = Number ($ (& # 39; input[name="RAT_Price"]& # 39;) .val ());

$ (& # 39; entry[name="STX_Amount[]"]& # 39;). every (function () {
total_taxes + = Number ($ (this) .val ());
});

// Calculs
total_taxes = total_without_taxes * total_taxes / 100;
total_with_taxes = total_without_taxes + total_taxes;

// Exit
console.log (total_with_taxes.toFixed (2));
$ (& # 39; entry[name="RAT_PriceTaxed"]& # 39;) .prop (& # 39; readonly & # 39 ;, false) .val (total_with_taxes.toFixed (2)). prop (& # 39; readonly & # 39 ;, true);
}

Should I add some error handling around the non-numbers in the tax area?

Actually, does a & # 39; NaN & # 39; in the & # 39; total & # 39; if I do not put a number?

How can I do this?

Thank you.

Data types – Use of iterator in calculations. Invalid comparison

I get an invalid comparison error for two variables that receive value within the iteration. My
I guess the problem occurs when the iterator k, which joins my formulas

    w0 = 1000; n = 100; m = 3; w = 1000;
Am = (2000 (-1 + 30 [Pi])) / (3 Sqrt[11]);
T = (2 [Pi]) / Sqrt[w0^2 - n^2];
trev = 0;
Do[Module[{tk, ak, q1, q2, q3, a1, a2, a3, x1, x2, a11, a22, a33, p,
ans, x},

There:

        tk = (3 * Pi / 2) / Sqrt[w0^2 - n^2] + 2 * Pi * k;
ak = -Am * E ^ (- tk * n) + w;

q1 = {tk - T / 2, w};
q2 = {tk, ak};
q3 = {tk + T / 2, w};

s = Solve[a1*q1[[1]]^ 2 + a2 * q1[[1]]+ a3 == q1[[2]]&&
a1 * q2[[1]]^ 2 + a2 * q2[[1]]+ a3 == q2[[2]]&&
a1 * q3[[1]]^ 2 + a2 * q3[[1]]+ a3 == q3[[2]], {a1, a2, a3}][[1]];
a11 = s[[1, 2]];
a22 = s[[2, 2]];
a33 = s[[3, 2]];

p = a11 * t ^ 2 + a22 * t + a33;
s = Solve[p == 0, t];
s[[All, 0]]= Last;
{x1, x2} = s;
ans = yes[x1 >= x2, x1 - x2, x2 - x1];
trev = trev + ans;
;], {k, 4}]Trev

Output that I get after the first iteration. Others are simular

    OutPut: GreaterEqual :: nord: invalid comparison with
([Pi]^ 2 (594000000 + 237600000000 Sqrt[11]-19800000 / [Pi]- (7920000000
Sqrt[11]) / [Pi]-Sqrt[(-594000000+times[<[(-594000000+Times[<[(-594000000+veces[<[(-594000000+Times[<<2>>]+ Times[<[<[<[<<2>>]+ Times[<[<[<[<<3>>]) ^ 2-
(130680000 Sqrt[Plus[<[Plus[<[Más[<[Plus[<<2>>]](-39600000 + Times[<[<[<[<<2>>]+ Times[<[<[<[<<2>>]+ Times[<[<[<[<<2>>]+ Times[<[<[<[<<3>>])) /  
[Pi]^ 2])) / (65340000 Sqrt[((100000+times[<[((100000+Times[<[((100000+veces[<[((100000+Times[<<2>>]) / 5000-100
(1/5 + times[<[<[<[<<2>>])) ^ 2 + (- ((100000 + times)[<[<[<[<<2>>]) / (15000 Sqrt)[11])) - 300
Sqrt[11] (1/5 + times[<[<[<[<<2>>])) ^ 2]) tried.

Is my guess correct? If not, please suggest some advice for my problem

The call to the Google Sheets API creates scientific numbers on which I can not perform calculations

You need to set the column width to a value such that Google Sheets does not have to automatically reduce the imported value, or you can use one of the round formulas (ROUND, ROUNDING, ROUND THE LOW) to cut decimals.

In some cases, you could force the imported value to be imported as a text string and then multiply it by 1 as:

= TO_TEXT (IMPORT ... ("...", "...")) * 1

or as

= VALUE (TO_TEXT (IMPORT ... ("...", "...")))

Programming Languages ​​- Automation using spreadsheet for calculations.

Okay, I have a spreadsheet: https://drive.google.com/file/d/0B0K52-VEkRDTeWI3U3V2LTVVYUk/view
That I would like to use for the calculations.
This spreadsheet is used to calculate the damage per second in an online role play. In the spreadsheet you can change the "gear" or the elements that your character has.

I would like to do calculations quickly, for example, 20 characters with different elements when changing only one specific for all of them. I was thinking that I could make an object called character with chains for the gear and just use openpyxl to modify the values ​​of the strings in the spreadsheet, but that caused errors because openpyxl does not do calculations and, for some reason, despite the values ​​(attributes such as strength and attack power) I changed how I wanted all the formulas to be for DIV / 0! error.

Should I implement all the formulas in some programming language by myself or is there any way to use the existing spreadsheet with calculations to my advantage?

I would like to use C / C ++, java or python for this project.

Percentages of Bitcoin with PHP. Are my calculations correct?

Need to determine the percentages of bitcoin in PHP. I am using this function:

$ bitcoin_price = "0.01096616";
$ percentage = (3.9 / 100) * $ bitcoin_price;
echo $ percentage;

My result is 0.00042768024 of 3.9%

Is this correct?

java – Object oriented approach for calculations

I need to determine the average miles per hour for a trip and an object that contains a list of trips. I'm thinking of two approaches. First, have a MphCalculator class that would inject into each class as

public class MphCalculator {

public BigDecimal calculaMph (int durationSeconds, BigDecimal miles) {
// calculate the speed
}

}

The second approach would be that each object has its own reference to a MphCalculator class as

public class speed calculator {

end int durationSeconds;
Final BigDecimal miles;

Public SpeedCalculator (int durationSeconds, BigDecimal miles) {
this.durationSeconds = durationSeconds;
this.miles = miles;
}


public BigDecimal calculaMph () {
// calculate and store speed
}

}

The second approach for me seems more object-oriented, but it also seems that I may be creating unnecessary objects. If someone could offer some advantages and disadvantages, it would be very useful! Also, this is my first question, so if you could improve this publication, let me know.

Total salary calculations

https://docs.google.com/spreadsheets/d/13HdNN_qa9rhLFyMe0N9I9EusmBudi_dcdBkc6UeLHMM/edit#gid=878850570

I am trying to complete the Normal Payment, but the formula does not multiply the Regular Hours by the Normal Rate, therefore, I get a R6.33 sum instead of R152.00

  1. I would appreciate the help with a formula to calculate the currency / price according to the duration or time.

  2. Also, how to automatically add other cells? example – this formula = SUM (H2: H * 1.5) Will it be applied every time a new entry is made in the column?