Gulshan Kumarperfinsights.hashnode.dev·Mar 23, 2024Find the Pivot IntegerGiven a positive integer n, find the pivot integer x such that: The sum of all elements between 1 and x inclusively equals the sum of all elements between x and n inclusively. Return the pivot integer x. If no such integer exists, return -1. It is ...DiscussJava SolutionJava
Eudyptulaeudyptula.hashnode.dev·Mar 19, 2024Basic math for graphics programmingRecently I've been interested in graphics, GPU computing, and everything that falls between or exists adjacent to these fields. I decided to check out the Introduction to Computer Graphics course by Cem Yuksel at the university of Utah. --> You can w...Discussgraphics
Harshal Dongareharshaldongare.hashnode.dev·Mar 12, 2024Exploring Essential Number Methods and Math object in JavaScriptMost common methods on number data type tostring() : A method which converts a number into string format. const stuId = "456134"; const newStuId = stuId.tostring(); console.log(newStuId); // Output: 456134 toFixed(digits) : A method which conv...DiscussMath
Oleg Kleimanolegkleiman.hashnode.dev·Mar 9, 2024Cryptography fundamentalsTerminology We’re going to focus on math aspects of the cryptography here, but as the base stone of the discussion we assume that cryptographic strength depends on the algorithms selected, but mainly on the key strength. Modular exponentiation - givi...DiscussCryptography
Roberto LupiProrlupi.com·Mar 7, 2024The Math of SRE Explained: control hierarchiesSREs are software engineers who primarily focus on software systems. These systems are adaptable and quick to respond to changes. Cover Image: Functional levels of a Distributed Control System(DCS) by Daniele Pugliesi, CC BY-SA 3.0 https://creativeco...Discuss·73 readsThe Math of SRE ExplainedSRE
Gagan G Saralayagagang.hashnode.dev·Mar 6, 2024C program to find the factorial of a number.Here is a program to find the factorial of a number. #include<stdio.h> int fac(int n); int main() { printf("Here is a program to find the factorial of a number using functions\n"); printf("Enter a num to find the factorial:"); int n = 0...Discusscrazyblogger
Roberto LupiProrlupi.com·Mar 6, 2024The Math of SRE Explained: stochastic processesTake a collection random variables and organize them in some way, you get a stochastic process or a random field. We need to explore more than just basic statistics and discuss how sequences of random variables change over time and space. (This is an...Discuss·60 readsThe Math of SRE ExplainedSRE
Roberto LupiProrlupi.com·Mar 4, 2024The Math of SRE Explained: SLI and SLOsLet me share what I've learned from 12 years of experience, defining and defending SLOs on various software and hardware systems, including TPU pods, HPC/GPU clusters, and general compute clusters. (This is just an introductory post, but I need to co...Discuss·147 readsThe Math of SRE ExplainedSRE
Oleg Kleimanolegkleiman.hashnode.dev·Mar 2, 2024Calculating Fibonacci numbersPython code and math proofDiscuss·34 readsMath
Jemin Kikanijemin.hashnode.dev·Feb 29, 2024Day 6 : what is an Math Methods And Number Methods in javascript ?The syntax for Math any methods is : Math.method(number) Math.round():- Math.round(x) returns the nearest integer. Example:- Math.round(4.6); // 5 Math.round(4.3); // 4 Math.ceil():- Math.ceil(x) returns the value of x rounded up to its nearest...Discussmath.cos()