letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
約1年 前
解決済み
Space Saver
Remove all characters that are below a space in ASCII value.
Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.
約1年 前
解決済み
Laws of motion 5
Calculate the force is u are given mass and acceleration.
約1年 前
解決済み
Calculate load on arm 1
A robot is designed with a motor directly attached at the pivot point of the lifting arm. The L inch arm has a weight of W1 lbs...
約1年 前
解決済み
Mechanical Advantage of a Gear Train
Calculate the mechanical advantage of a gear train.
The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...
Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...
約1年 前
解決済み
Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...
約1年 前
解決済み
Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....
約1年 前
解決済み
Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...
約1年 前
解決済み
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:*
Many important observations in math and science can be described by short, but powerful, equations...
Large Sum (inspired by Project Euler 13)
Your function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will b...
約1年 前
解決済み
Divisors for big integer
Inspired by Problem 1025 and Project Euler 12.
Given n, return the number y of integers that divide N.
For example, with ...
Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan).
With problem n°250 by Doug, you can find some global methods to co...
約1年 前
解決済み
Convert a structure into a string
Convert the contents of each fields into a string.
Example with an input structure s with 2 fields :
s.age = '33'
s....
Add more zeros
Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1).
For example:
'1010' -> '100100'
...
約1年 前
解決済み
Transposition as a CIPHER
This all about transcripting a text message. If the input string is: s1 = 'My name is Sourav Mondal', then the output is: s2 = '...