blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a195f20be88684d4a7b6847967f4caed50732d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH6/EX6.3/Ex6_3.sce | 58fd20c1a6b70d4dbe69ed847c0d88597573ef17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | sce | Ex6_3.sce | //CHAPTER 6 ILLUSRTATION 3 PAGE NO 176
//TITLE:Turning Moment Diagram and Flywheel
clc
clear
pi=3.141
d=38// diameter of hole in cm
t=32// thickness of hole in cm
e1=7// energy required to punch one square mm
V=25// mean speed of the flywheel in m/s
S=100... |
f114c1d0e00852f3f5995d341a73fbb77719de1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH1/EX1.6s/1_06_solution.sce | 61bb3db586fd1c7a3177415db6fe15845c262eca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 1_06_solution.sce | //Solution 1-06
WD=get_absolute_file_path('1_06_solution.sce');
datafile=WD+filesep()+'1_06_example.sci';
clc;
exec(datafile)
Vdot = V / deltat; //volume flow rate [gal/s]
Vdot = Vdot * gal_cubicm * 60; //volume flow rate [m^3/min]
//result
printf("Volume flow rate of water = %1.1e m\^3/min", Vdot);
|
da25d7920324bdca6f28df294be01ac8e9e55136 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH4/EX4.1/Example4_1.sce | 89f670c0e3cc1df3e87c72ede8afcd375c1a6db7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | Example4_1.sce | clear;
clc;
// Illustration 4.1
// Page: 89
printf('Illustration 4.1 - Page: 89\n\n');
// solution
//***Data****//
P = 2;// [atm]
a1 = 0.025;// [m]
a2 = 0.050;// [m]
solub = 0.053*P;// [cubic m H2 (STP)/(cubic m rubber)]
Ca1 = solub/22.41;// inner surface of the pipe
Ca2 = 0;// resistance to difusi... |
6b11f0bc92c2fd58ffd7b49b29adb8bb6b60d584 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH4/EX4.4.b/Example_4_4b.sce | c2fd4c27f7a75352edd1e5fc99bedbb65b55eecb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Example_4_4b.sce | //Number of Grains Per Unit Area
clear;
clc;
printf("\tExample 4.4\n");
printf("\n\tPart B");
N=45; //No. of grains per square inch
n=(log(N)/log(2))+1;
M=85;
Nm=(100/M)^2*2^(n-1);
printf("\nAt magnification of 85x\n");
printf("No. of grains per inch square are %.1f\n",Nm);
//End |
42af003584e35e6794e37113ed099674b643f68e | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.43/ex_43.sce | 5d19928fee08d116939d44fc603d7fd8e09a2b3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | ex_43.sce | R1=6; //Assigning values to parameters
R2=4;
R3=3;
R4=5;
R5=5;
R6=2;
R7=4;
Rx=R3+R4+(R3*R4)/R6; //Converting Star to Delta
Ry=R4+R6+(R4*R6)/R3;
Rz=R3+R6+(R3*R6)/R4;
disp(Rx)
disp(Ry)
disp(Rz)
Ra=(R5*Rz)/(R5+Rz);
Rb=(R7*Ry)/(R7+Ry);
Rl=(R1*R2)/(R1+R2+Rx); ... |
5b4288d2c7a75f00222ae8818ffd6da75562367f | 02427d9d608ef9018bc666d8532338ef5e008a07 | /PAL/1_makefile/tests/7.out | 2cf6a1b164b6f413cae0f4d95bca069dcdacda11 | [] | no_license | michalsustr/CTU | aebd874999ee53bc3bd3f07ef7b3461458c84826 | 00a1a152e1ce445427eb9e043b962387fb12ab64 | refs/heads/master | 2021-01-10T06:31:32.424103 | 2015-12-31T00:21:34 | 2015-12-31T00:21:34 | 48,609,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | out | 7.out | all: target1
asjlrevne,k
target1:
fooo
bar
xterter
#target2: target3
# dsflgkjearl
# aerkjle wlkf
|
4ad283279e00f247e9dbf20a745c16a356f664ef | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_09_example.sci | 67fbf11a1cba21d47dd6a608301b90a840039d11 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sci | 6_09_example.sci | //Example 6-9 Power Generation from a Sprinkler System
Vdot = 20 //flow rate of water entering the sprinkler [L/s]
N = 300 //speed of rotation of sprinkler [rpm]
D = 1 //diameter of each jet [cm]
l = 0.6 //normal distance between centre of each nozzle and axis of rotation [m]
rho = 1000 //density of water [kg/m^3] |
8037ce5a84706fb42b27fa37589a9e59dc3c1635 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GFS-GCCL-C/results/GFS-GCCL-C.abalone-10-1tra/result9s0.tst | a9b0991182480a03cbae670f8962a60e6905a47c | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,530 | tst | result9s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
de4d29c3e583b5670a07caec13362e9e3641e26a | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH1/EX1.4/1_4.sce | 97ff90a34ac7f6c85c22bddfe2e87f4b4d67fa20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | 1_4.sce | Pr = 1.033e05; // Required Pressure in bar
function y = pressure(p)
y = p^(-0.714);
endfunction;
g = 9.81; // Acceleration due to gravity in m/s2
H = ((2.5e05^0.714)/g)*intg(0,Pr,pressure); // Depth of atmosphere required in m
disp("Km",H/1000,"The depth of atmosphere required is ")
|
29596753bc8ef4a8b464bf504b8d67f715da0d4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.26/example3_26.sce | c56eb5ad93a841079e339645ae0dad8d5ad4b674 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | example3_26.sce | //example3.26
clc
disp("From O.C. test, P_i=Iron losses=75 W")
disp("From S.C. test, V_sc=9.5 V, I_sc=20A, W_sc=110 W")
disp("The meters are on H.V. side i.e. primary hence,")
z=9.5/20
format(6)
disp(z,"Z_1e(in ohm)=(V_sc)/(I_sc)=")
r=110/(20^2)
disp(r,"R_1e(in ohm)=(W_sc)/(I_sc)^2=")
x=sqrt((0.475^2)-(0.275^... |
5bc73c146cb881b116bb13fff340d1533dd7bc3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.15/Ex3_15.sce | 8cdda4789ff0e78ce605db1cba21a22d683f9016 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sce | Ex3_15.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.15
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
// Refer figure 3.17 page no. 101
S = 500 * 10 ^ 6; // Ra... |
db95ad79eaaba2a7061331fb3a85a0605cb24266 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.14/ex4_14.sce | 33842aa209b312e7121e17b9de581a25d08a167a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | ex4_14.sce | // Exa 4.14
clc;
clear;
close;
format('v',7)
// Given data
R1= 4;// in ohm
R2= 8;// in ohm
R3= 8;// in ohm
i1= 1;// in A (assumed)
h11= R1+R2*R3/(R2+R3);// in ohm
disp(h11,"The value of h11 in ohm is : ")
i2= -1/2*i1;// in A
h21= i2/i1;// unit less
disp(h21,"The value of h21 is : ")
v2= 1;// in V (assume... |
6f27f26591d9b95f8687c56bc96958a055181e7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.7/Ex4_7.sce | ec33900fbd289780921fa6844840476ee95e174c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex4_7.sce |
//Ex4_7
clc;
// Given:
dA = 206-238;
dA_Beta=0;
dA_Alpha = -4;
dZ_Alpha = -2;
dZ_Beta = 1;
nBeta=0; //random initialisation
dZ = 82 -92;
// Solution:
nAlpha = (dA- (dA_Beta* nBeta))/dA_Alpha;
nBeta = (dZ- (dZ_Alpha * nAlpha))/dZ_Beta;
printf("Number of alpha decays =%f and number of beta decays =... |
114915d1766f1f6b6d6c1e65c846bdf3e65c2eec | 29d0a9144c1926fef6ef23493d08728073758805 | /cfg/intop9-bgp08.tst | a5cbf048e5213652ea402dc554edff6d1eeb393f | [] | no_license | mikma/freeRouter | 47c1516edf6fc5c75cc6ce626cd7ce024147d5a5 | 96106c23a7144558ffb7fb831297194327ee3ef1 | refs/heads/master | 2023-06-08T06:51:14.563806 | 2020-01-22T14:56:13 | 2020-01-22T14:56:13 | 235,618,523 | 0 | 0 | null | 2020-01-22T16:46:19 | 2020-01-22T16:46:18 | null | UTF-8 | Scilab | false | false | 3,259 | tst | intop9-bgp08.tst | description interop9: bgp with labels
addrouter r1
int eth1 eth 0000.0000.1111 $rem1$
!
vrf def v1
rd 1:1
label-mode per-prefix
exit
int eth1
vrf for v1
ipv4 addr 1.1.1.1 255.255.255.0
ipv6 addr 1234:1::1 ffff:ffff::
mpls enable
exit
int lo0
vrf for v1
ipv4 addr 2.2.2.1 255.255.255.255
ipv6 addr 4321::1 fff... |
022fc1d61f280f688ca6a2be3343d5e434100295 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /axiom/tprolf.tst | 474e63fe057e0aef83e2f553d80c5784c808fac2 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 1,134 | tst | tprolf.tst | COMMENT | this is the example of App. F of the Prolegomena |
KNOW NATNUMS;
DECLARE INDVAR n m p q [NATNUMSORT];
DECLARE FUNCONST suc pred (NATNUMSORT) = NATNUMSORT;
DECLARE FUNCONST + * (NATNUMSORT,NATNUMSORT) = NATNUMSORT [INF];
DECLARE FUNCONST fact(NATNUMSORT) = NATNUMSORT;
DECLARE PREDCONST < 2 [INF];
AXIOM ON... |
3b79f9896fc1ebea620be90e8f2c11f0d5f68794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.15/Ex2_15.sce | 45826bb0f202022e69e7967eab9a07b40c7ef69a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex2_15.sce | //Determining the forces in bars AB and AC
//Refer fig 2.20(a) and (b)
//Select AB and AC as x and y axes
//Resolving the forces we get
F1=0 //N
F2=40*cosd(30) //N
printf("Force in bar AB is F1=%.0f N and force in bar AC is F2=%.1f N",F1,F2)
|
c32ff2a22b8c9c721a5571e9f6ea36f51a2e10e6 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualHartSci/macros/bdVpcConect_Adriel.sci | 3a304110d0369906b3a94d5a09fd87f96738c68f | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sci | bdVpcConect_Adriel.sci | function bdVpcConect()
global %VirtualProcessCommPath hrtConfig
path = getlongpathname(%VirtualProcessCommPath)+'xml';
hrtConfig.Process = xmlRead(path+filesep()+"hrtProcess"+".xml");
hrtConfig.Enum = xmlRead(path+filesep()+"hrtEnum"+".xml");
hrtConfig.selectedProcess = 1;
hrtConfig.selectedDisp... |
c7936080124ed446f7d2f1e37dd3a86ce806c2c2 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /various directions 5 hits small dots [1-shot].sce | 9c959cdf21478c5f9bface8953f625d3beb56f2d | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 75,772 | sce | various directions 5 hits small dots [1-shot].sce | Name=various directions 5 hits small dots [1-shot]
PlayerCharacters=player_char
BotCharacters=various_rot.rot
IsChallenge=true
Timelimit=75.0
PlayerProfile=player_char
AddedBots=various_rot.rot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=various_directions.map
MapScale=10.0
BlockProjecti... |
19b868d9d685409a04a0ce05a54b7ca67aa6425a | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_1/bushuev/E_new.sce | f59f4003ebdb4488a5d1d791fa857d13c9e774cb | [] | no_license | kirillin/ifmo | 6264ac42ec2031777145b39d4930f2f645e1d316 | 633919ba09d43814298c3a2145d5d6f72b5b068e | refs/heads/master | 2021-01-12T09:32:27.270130 | 2018-11-18T12:17:46 | 2018-11-18T12:17:46 | 76,181,268 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 924 | sce | E_new.sce | Dmax = 10
Dmin = 0.1
dD = Dmax - Dmin
l = (dD / 2)^2
m = 2 * l/3 * sqrt(l / 3)
d = (0.25 * 4.9^4 -0.5 * l * 4.9^2 - m * 4.9) / 0.01
d = 0.001
x0 = 10;
c = 10;
function e=E(x, l, m)
e = (0.25 * (x-x0)^4 - 0.5 * l * (x-x0)^2 - m * (x-x0))*d + c
endfunction
l = 5^2*0.25;
m = 0;
ee1 = zeros(1,n)
for i = 1:n
ee... |
9a39e4351e687e137e208d62a987f86a121508e9 | fda4ef2a0b488d4a352bc0579474ba974cae086e | /Linear Convolution.sce | f3bb4fb3cb24d12becea4669e9f91d09648bf286 | [] | no_license | Sid-149/Linear-Convolution | 6d5acfad57ff8f1e11764e1deeed8a8b7ada830c | 7c1b5ddfc1b6c2eb8f4fddbf5598f89376b1dac1 | refs/heads/main | 2023-01-21T17:27:18.429401 | 2020-11-17T03:51:32 | 2020-11-17T03:51:32 | 313,500,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Linear Convolution.sce | clear
x=input('Enter i/p sequence=');
h=input('Enter impulse response=');
y1=convol(x,h);
N1=length(x)
N2=length(h)
N=N1+N2-1;
h=[h zeros(1,N1-1)];
for n=0:1:N-1
y(n+1)=0;
for k=0:1:N1-1
if (n-k+1>0) then
y(n+1)=y(n+1)+x(k+1)*h(n-k+1)
end
end
end
disp('Linear Co... |
d8cb713107f0c0119059d85de1006dba778b908b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.6/Exa1_6.sce | 4debfc34003ebb0b46d535f6eee10323408e8db9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Exa1_6.sce | //Exa 1.6
clc;
clear;
close;
//given data
format('v',7);
StatorSlots=24//No. of stator slots
Poles=4;//No. of poles
SlotsPerPole=StatorSlots/Poles;// no. of slots per pole
coilSpan=1:6;//unitless
disp("If the sides of the coil are placed in slots 1 and 7, then it is full pitched, but if the coil slides are pl... |
e944a9f5ad42b27634586e044e48c487617f6166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.20/Ex1_20.sce | ea056e3da6c2624f87bfb9b05eb9e539d7036262 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | Ex1_20.sce | clc
// Variable Initialization
Vm=230//Supply Voltage in Volts
Ra=0.25//Combined Field and Armature circuit resistance in Ohm
N=1000 //Motor speed in Rpm
V=210//Rated voltage of motor in Volts
a=30//firing angle in Degree
Kaf=0.03 //Constant in N-m/A^2
Kres=0.075 //Constant in V-s/Rad
//Solution
//For semi... |
42649c53ed6b93b04049d76e9abd3cb7510dd758 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/transform/testLimitcMo.sce | 345dc840973fe2b7393ddf738c05d2ec0c7b9ca0 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | testLimitcMo.sce |
posefiMoi=[0 0 0.5 0*%pi/180 0*%pi/180 0];
posefcMoc=[1 1 0.4 10*%pi/180 10*%pi/180 100*%pi/180];
posefiMfc=[2 5 0 0 0 -0*%pi/180];
fiMoi = homogeneousMatrixFromPos(posefiMoi);
fcMoc = homogeneousMatrixFromPos(posefcMoc);
fiMfc = homogeneousMatrixFromPos(posefiMfc);
oiMo = inv(fiMoi)*fiMfc*fcMoc;
pvrai = pFromHomog... |
d4f4eb327109ca0adc5210bbd3483d7e4c88d9a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.10/example10.sce | fe885f0a5f62a31e13165234f9d273bf273a50a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | example10.sce | A =[-1 0 0;0 -2 0;0 0 -3]
B =[1;1;0]
x=[0 1 2]
p=cont_mat(A,B)
disp (p," controllability matrix=");
d=det(p)
if d==0
printf ("matrix is singular, so the system is uncontrollable");
else
printf ("system is controllable ");
end
s=%s
[r c]= size (A)
h=s*eye(r,c)-A // s*I-A
q=inv(h)
c=x*q*B;
disp(c,"requir... |
d4d69cba747f411ee86e93cdff3ff24d03d32cc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.13/4_13.sce | aa3ada8a169e545258efb3c2261acc3dd9693409 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | 4_13.sce | function [x,y]=polar_to_cart(r,theta)
theta=theta/180*%pi
x=r*cos(theta)
y=r*sin(theta)
endfunction
//converting v source to curr source
V=15
R=5
I1=V/R
[Ix,Iy]=polar_to_cart(2,-30)
I2=complex(Ix,Iy)
//nodal analysis
A=[0.7-0.1*%i,-0.5;-0.5,0.5+0.5*%i]
V=inv(A)*[I1;I2]
[rv1,thetav1]=... |
5a010ea5dbe33bcdb92ed58b48574f6ff75cd947 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/PR2/SCENARIOS/Pr2TableSimple.sce | 02ca5659c2438e25e966cfe0b6b64a5e00ca1daa | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,688 | sce | Pr2TableSimple.sce | #************************************************************
# Scenario of Ikea
#
# date : Thu Jul 28 20:29:21 2011
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT ORANGE_BOTTLE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.0... |
fd26fdfa3a3965304c4c7b6b80b4113a240b3ecd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH4/EX4.6/Ex4_6.sce | c3ea162db30e330c3bdcf1a06ffad6aaaab83052 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 896 | sce | Ex4_6.sce | //chapter 4
//example 4.6
//find wavelength and energy
//page 77
clear;
clc;
//given
h=1,k=1,l=1; // miller indices
a=5.63; // in Angstrom (lattice constant)
theta=27.5; // in degree (Glancing angle)
n=1; //order
H=6.625E-34; // in J-s (Plank's constant)
c=3E8; // in m/s (velocity of light)
e=1.6E-19;// c... |
fcbd24127d047b47d7ccd8c597950505993b8427 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.23/Ex1_23.sce | 3fe81cd3426ad9b4c5da241f24b0b6b1f9f5398d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,121 | sce | Ex1_23.sce | clc,clear
//Example 1.23
//To find trigonometric functions of various angles
//Note: Undefined ratios are commented to avoid divide by zero error
//zero degrees
//consider a point (1,0)
//Line segment joining (0,0) and (1,0) can be treated as triangle
x=1//base
y=0//height
r=1 //hypotenuse
sin_0 = y/r;
c... |
a1ba778e9c21122997c9da727bc802c905a1322d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH7/EX7.8/Exa7_8.sce | 8f69221482a0d6170878f7b09061a145ab111696 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Exa7_8.sce | //Exa 7.8
clc;
clear;
close;
//given data :
VP=-4.5;//in Volt
IDSS=9;//in mA
IDSS=IDSS*10^-3;//in Ampere
IDS=3;//in mA
IDS=IDS*10^-3;//in Ampere
VGS=VP*(1-sqrt(IDS/IDSS));//in Volt
disp(VGS,"IDS = 3 mA when VGS(in Volt) is : ");
gm=(-2*IDSS/VP)*(1-VGS/VP);//in mS
disp(gm*1000,"IDS = 3 mA when gm(in mS) is... |
4be9dfe3b5f8dc6b92c16c6ea377d17e4a3b654e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH5/EX5.12/Ex5_12.sce | d3cb87a58e93fd81e68ea9d8fb2e052edf841434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Ex5_12.sce |
//Variable declaration
Vcc=15. //supply voltage(V)
Rl=10. //load resistance(ohms)
//Calculations
//Part a
Immax=Vcc/Rl //max peak current(A)
Irmsmax=Immax/(sqrt(2)) //max rms current(A)
Pomax=Irmsmax**2*Rl //max output pow... |
345e9123035ab884a84b77c49686954d6ecd4ac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH4/EX4.23/4_23.sci | 60043a9bf098e4290cf166c7f9a5047ce15cf557 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | 4_23.sci | // determine the error
clc;
w=6;
wn=4;
u=w/wn;
eta=0.66;
M=1/{[(1-u^2)^2]+(2*eta*u)^2}^0.5;
Error=(M-1)*100;
disp(Error,'error (%)=') |
82e561a9a8feb18854532f82a5f483f4729dee6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH9/EX9.6/ex9_6.sce | 43b37620bb4b7f4433e127527f9641e15f96fd5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | ex9_6.sce | clc;clear;
//Example 9.6
//calculations
W=0.09;//wavelength in Angstrom
D=54;//scattering angle in degree
h=6.625*10^-34;//Plank's constant
c=3*10^8;//speed of light in m/s
e=1.6*10^-19;//the charge on electron in C
//calculations
dW=0.0243*(1-cosd(D));
W1=W+dW;
disp(W1,'wavelegth of scattered X-ray in A... |
0ac2f864cbab5d31f6fd2434deaf62ba85aeff6b | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testdeletefigure.sce | 9c605fa95c0ef399367a8d94d6b6ae628bd35c4a | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | testdeletefigure.sce | lines(10) //to delete
clf; //to delete
plot(); // opening the graphics window
F=gcf() // handle of type Figure
// close the graphics window
delete(F); // to delete
F //we no longer have access to F
|
4aad14bf84d942cab2bbe2f01221aa607c45c734 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH3/EX3.5/Exa3_5.sce | 65474b302e4ddaaf24ca8dcc5d046d409d681584 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | Exa3_5.sce | //Exa 3.5
clc;
clear;
close;
//Given Data :
format('v',7);
m=75-45;//in meter
L=300;//in meter
T=2500;//in Kg
w=0.9;//in kg/meter
x=L/2-T*m/(w*L);//in meters
disp(x,"x=");
disp("The negative sign of x shows that point A is on the side of O.");
x=L/2-x;//in meter
disp("Centre point P from O is "+string(L/2... |
f40c43ed5c69d92211ecaec820555e3114531adb | 52cbfb547384bc9612dc59f5280971ed5a701a9d | /Circular Convolution.sce | bc24c5eedd3b926101068dc95bb702c15f1fd5c8 | [] | no_license | allenbenny419/Scilab-Codes | efa5402bea6d03088f77dafcf9ed87bd1f93e915 | 48109cd70c8a66a56e87f88152e866565dd52362 | refs/heads/main | 2023-06-23T21:10:24.227426 | 2021-07-21T11:09:15 | 2021-07-21T11:09:15 | 388,086,261 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | sce | Circular Convolution.sce | clc;
clear all;
close;
x1=[1,2,3,4,5];//row
x2=[1,0,1,0];//row
N1=length(x1);//5
N2=length(x2);//4
N=max(N1,N2);//5
xn1=[x1,zeros(1,N-N1)]; //padding nil here,but changes acording to inp
xn2=[x2,zeros(1,N-N2)]; //padding by 1 here,but changes acording to inp
y=[zeros(N,N)];//intializing here 5x5(zero ... |
eba1f9a9fdf17b5af0386bc85926ea7e52d96929 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /TF2 endif (MGE mode).sce | 04aa1c2acca873516263d3f2c137ee3e5ed2258a | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,484 | sce | TF2 endif (MGE mode).sce | Name=TF2 endif (MGE mode)
PlayerCharacters=endif Soldier
BotCharacters=endif Soldier bot.bot
IsChallenge=true
Timelimit=300.0
PlayerProfile=endif Soldier
AddedBots=endif Soldier bot.bot
PlayerMaxLives=5
BotMaxLives=5
PlayerTeam=1
BotTeams=2
MapName=tf2endif.map
MapScale=1.3
BlockProjectilePredictors=true
BlockCheats=fa... |
de8d8179082656a385170b035440138463bfb70e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.26/Ex19_26.sce | aa507e42630b33fe8656148eaa74affbbca2e358 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex19_26.sce | //Ex19_26 Pg-970
clc
x=200 //1st input
y=125 //2nd input
z=x-y //subtraction
disp("For decimal system 200 - 125 = ")
disp(z)
a=dec2hex(z) //hexadeciaml output of 200-125
disp("For hexadecimal system C8 - 7D is")
disp(a)
b=dec2bin(z,8) //binary output of 200-125
disp("For binary system 11001000 - 0111... |
21d091d5a3f922a5d4016d8e9fa233e354b48662 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH11/EX11.2w/11_2w.sce | cbada15db0502398bc757c326cc5551a742cfe0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | 11_2w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 11.2w
//calculation of the distance from the earth's surface where resultant gravitational field due to the earth and the moon is zero
//given data
Me=6*10^24//mass(in kg) of the earth
Mm=7.4*10^22//mass(in kg) of the... |
75a083725c5eb2cde31b55a232f7c1029fd4dc57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.19/ex1_19.sce | 1fda20107e8bf201dda286fab84dee6945f67907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | ex1_19.sce | //Page Number: 43
//Example 1.19
clc;
//Given
sig=5;//mohm/m
er=80*8.85D-12;
eaz=0.1;
u=1.26D-6;
az=-log(0.1);
//(i) Range at 25Khz
f=25D+3;//Khz
w=2*%pi*f;//rad/sec
a=w*(sqrt((u*er/2)*(sqrt(sig^2/(w^2*er^2)+1)-1)));
z=az/a;//m
disp('m',z,'Range at 25khz:');
//(ii) Range at 25Mhz
f1=25D+6;//Mhz
w1=... |
d358be7874e17cac9c27766bbc90584610b57001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH10/EX10.6/10_6.sce | 70cf2f8121466f5ccf5c191dd88f2d15613f9cf6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | 10_6.sce | clc
//initialisation of variables
ds= 2 //in
n= 315 //rpm
G= 12*10^6
Lab= 5 //in
Lbc= 15 //in
Pa= 10 //hp
Pc= 40 //hp
Pb= 50 //hp
//CALCULATIONS
Tab= 63000*Pa/n
Tbc= 63000*Pc/n
angle= ((32*Tbc*Lbc*12/(%pi*ds^4*G))-(32*Tab*Lab*12/(%pi*ds^4*G)))*(180/%pi)
//RESULTS
printf ('angle of twist of gear C releative to a= %.2f d... |
7f3bd61ca20bbd25a17fc3c945f4bced67a82275 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH8/EX8.6/Ex8_6.sce | 4640616a0ff9b8e8ab45ae84658b6449235d6cb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | Ex8_6.sce | clc;
clear all
//Page 423
r=1//in in
us=0.20;// Coeffiecient of static friction between shaft and pully
//Vertical Force required to raise load
rf=r*us;//in, Perpendicular distance from the center Of pully to line of action
//summing moment about B
P1=(2.20*500)/1.8//lb , downward Force required to raise load
printf(... |
f507da300dd1f22f99f855c63b798b8f71649c43 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/XA36PEL/ATWM1_Working_Memory_MEG_XA36PEL_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 44817a40fcfb37aba5926deb6cfc4a8a12428d7f | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
b0b8230ccf57bc6304de2f2f0d9305b63b8cff9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH4/EX4.15.14/ex_4_15_14.sce | f742f5c1c3d9dcc0aa04ccb71e730a999e2148b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | ex_4_15_14.sce | //Chapter-4,Example4_15_14,pg 4-33
f=50*10^3 //frequency
v1=348 //velocity of ultrasound in atmosphere
v2=1392 //velocity of ultrasound in sea water
t=2 //time difference
//d... |
588dfa3226f5c0d5a11765d0bc4b509a6031c9c5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/tests/fmlelm.tst | b7cf39c660e28358683038111532499f70d5c7a4 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,572 | tst | fmlelm.tst | mode(-1)
if addf('1','1')<>'2' then pause,end
if addf('1','0')<>'1' then pause,end
if addf('0','1')<>'1' then pause,end
if addf('0','0')<>'0' then pause,end
if addf('1','-1')<>'0' then pause,end
if addf('-1','1')<>'0' then pause,end
if addf('-1','0')<>'-1' then pause,end
if addf('0','-1')<>'-1' then pause,end
if addf(... |
33caad015653dceaae9f5705160bb1781fe3f738 | af7cd799acb90ee773382c3b1b8630e092971cd8 | /tp-cn/test_gauss.sce | ed21c69fc1d96c8d17b45ef5ea57dd5054686c53 | [] | no_license | Souad742/my-repo | 1e080b1a593aa1f8f24edd2ed4a766680344510f | 3c0df0e0cf230cbd6160d8e9a08ca7b51bdbf324 | refs/heads/main | 2023-02-03T05:06:47.269245 | 2020-12-18T23:32:27 | 2020-12-18T23:32:27 | 305,127,993 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | test_gauss.sce | n=100;
A=rand(n,n);
xex = rand(n,1);
b = A*xex;
x = gausssolve(A,b);
fErrorB = norm(xex-x)/norm(xex)
bErrorB = norm(b-A*x)/norm(b)
|
7ae32e826fc8892c0769872b37458653aa68d28b | 0fe450b52908c4de1f70576ebfbce8d2b98ec427 | /src/test_ods_fsed_2_g.tst | f8f16a12fa5bdb33c9c860c3143091f04e6b8050 | [
"Zlib",
"BSD-3-Clause",
"MIT",
"OML"
] | permissive | technologiespro/ciyam | 41c75cce77fed8db16439b10698c6fd0db10d4d5 | 5a63b84251132b393221500edb0e285cc4f38a7d | refs/heads/master | 2020-12-02T10:05:46.529201 | 2017-07-09T08:55:53 | 2017-07-09T08:55:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,147 | tst | test_ods_fsed_2_g.tst | ** File Info
Version Id = 65536
Num Trans = 0
Num Writers = 0
Init Tranlog = 0
Total Entries = 5
Tranlog Offset = 0
Transaction Id = 37
Index Free List = 0
Total Size of Data = 29196
Data Transformation Id = 37
Index Transformation Id = 37
** Entry Info for: all
num: 0000000000000000 pos: 0000000000000000 ... |
6a4d24614d3212d859f372046b9c13c51eac9582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.39/Ex_1_39.sce | 040090adeb6fefa242984664e989436ed10fdb1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | Ex_1_39.sce | //Example 1_39
clc;
clear;close;
//Given data:
RL=8;//ohm
V=230;//V
Ip=100;//A
SF=2;//safety factor
di_by_dt_max=40/10^-6/2;//A/s
dv_by_dt_max=150/10^-6/2;//V/s
L=sqrt(2)*V/di_by_dt_max;//H
disp(L,"Value of L(H)");
R=L/(sqrt(2)*V)*dv_by_dt_max;//ohm
disp(R,"Value of R(ohm)");
IL_peak=(sqrt(2)*V)/RL;... |
3d0c83edba68677a146a765109473d22036dc9df | 872b5ff8852c926ca1261037de07449db7ac51db | /area-01/estime_raiz_bisseccao.sce | e1458440cc792aba1434a0eba0e71ad0cefaa1c4 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | estime_raiz_bisseccao.sce | // Questão 5
/* plotar o grafico e ver +- onde fica a raiz, daí só meter o menor
* valor em 'a' e o maior em 'b' */
a = -2 // x min
b = 2 // x max
step = 0.01
x = [a:step:b]; // pontos para o grafico
function u = f1 (x)
u = sin(x) + exp(x) // funcao para ser plotada
end
plot(x,f1); xgrid
/* Utilizando o métod... |
59b09bfa2a408cdc26fc4402947c30db85c3f1ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH16/EX16.1.b/16_1b.sce | c93f2b63f6c95834575cf26a319e74ed8a402f96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | 16_1b.sce | clc
//initialization of variables
Pb=75 //psia
Pc=15 //psia
k=1.4
Td=550 //R
Tb=1700 //R
cp=0.24
//calculations
Prd=1.4779
hd=131.46 //B/lb
Prb=90.95
hb=422.59 //B/lb
Pratio=Pb/Pc
Pra=Pratio*(Prd)
Ta=868 //R
ha=208.41
Prc=Prb/Pratio
Tc=1113//R
hc=269.27
Q1=hb-ha
Q2=hc-hd
Wnet=Q1-Q2
eta=Wnet/Q1
... |
9219bf1f09ff4ada22e382eebc3031db88ffaf8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH1/EX1.3/1_3.sce | 7e3c0dae4ea4da0634cf897dd4ae6aacebd43708 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | 1_3.sce | //Basic Circuit Concepts
//pg no-1.11
//example 1.3
disp("Iaf=x")
disp("Ife=x-30")
disp("Ied=x+40")
disp("Idc=x-80")
disp("Icb=x-20")
disp("Iba=x-80")
disp("Applying KVL to the closed path AFEDCBA:")//Applying KVL to the path AFEDCBA
disp("x=4.1/0.1")
x=4.1/0.1;
Iaf=x;
printf("\nIaf = %.2f Ampere", Iaf);
... |
ff8dd49fa4ff65a055955aae7145fb78de3eb0ce | 244971ae8af51184d278cdc2be1c80775413adae | /SSSFiberLEM.sci | a6edd1e7790aaa2485df4d247f01937378b7d407 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,184 | sci | SSSFiberLEM.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [Out,Steps_km]=SSSFiberLEM(In, Fiber, StepCtrl, g_Wkm, ShowDist?)
// Nonlinear Fiber
//
// Calling Sequence
// [Out,Steps_km]=SSSFiberLEM(In, Fiber, StepCtrl, g_Wkm, ShowDist?)
//
// Paramete... |
259e51183015f81978a45c5ddf14bbbdcba49681 | 6a0d5ad524ce9b230c7e35af224317d515bb8f2d | /ResilienceClosure/fctdyn.sce | 402068d5c658c54cd82f1114180955a1dd3388ab | [] | no_license | mcuilleret/Entropic | b562ded98cbb74ad55579b6be5730767f24f4f2b | 0dd4e8bacb312015cd6c3b04b732ebd69de4ac23 | refs/heads/main | 2023-08-13T07:07:02.684153 | 2021-10-05T10:28:19 | 2021-10-05T10:28:19 | 413,753,215 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,305 | sce | fctdyn.sce | function Q=tauxpredation(X,aij,gammaa)
for i=1:N_species;
for j=1:N_species;
Q(i,j)=aij(i,j)*X(i)*X(j)*gammaa(i);
end;
end;
endfunction
function Q=tauxpredation1(X,aij)
for i=1:N_species;
for j=1:N_species;
Q(i,j)=aij(i,j)*X(i)*X(j);
end;
end;
en... |
c42840d31b288426b05db52f714c85031cf24870 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Turkic/uzb.tst | 5179b133941f30e8310c8ffecaf309c06eb5b764 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 221,107 | tst | uzb.tst | sabab bo'lmoq V;PFV;FRML;FH;SG;2
tinglamoq V;PROG;FRML;IND;SG;2;PRS
ajratmoq V;PRF;SBJV;SG;2;INFM;PRS
faxrlanmoq V;PRF+PROG;COND;PL;1;PRS
harakat qilib ko'rmoq V;IND;SG;1;PST
o'xshamoq V;PRF+PROG;FRML;COND;SG;2;PRS
o'xshamoq V;PROG;IND;PL;2;PRS
qimor o'ynamoq V;COND;PL;1;PRS
harakat qilib ko'rmoq V;SBJV;PL;1;PRS
o'tmoq... |
279f8edc885d34e737edd1e80b5234fff9a37a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.16/16_16.sce | 9cbc5924b42465998bbcec30c0eef307a4d4cc2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | 16_16.sce | //pathname=get_absolute_file_path('16.16.sce')
//filename=pathname+filesep()+'16.16-data.sci'
//exec(filename)
//Volume flow rate(in m^3/kg):
V1=0.6
//Pressures(in bar):
p1=1
p2a=2.3
r=1.4
//Ratio of V1/V2:
r1=0.7//
//Pressure at state 2(in bar):
p2=p1*(1/r1)^r
//IP required for vaned compressor(in hp):
W... |
5a4792ab61cbcadd2686b7e614d7ffd9349f28e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.3/Ex1_3.sce | c2b139a6b9677d968cda94dbb9e87eeae50d7099 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | Ex1_3.sce |
clear
l1=20
e=(0.06/2) //consider mean elongation
l11=l1+e
ml=900
tl=(l11/l1)*ml
printf("\n true length1= %0.3f ",tl)
l2=20
e2=(0.06+0.14)/2
l21=20+e2
ml2=1575-ml
tl2=(l21/l2)*ml2
printf("\n true length 2= %0.3f ",tl2)
td=tl+tl2
printf("\n true distance= %0.3f meters ",td)
|
3c6d3d1ffb64fe6bd2a7d5f8bf9ec4ec515d9241 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH11/EX11.10/Ex11_10.sce | 047f0bd85d91d803fd78a0b0c8b17547a0554e21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex11_10.sce | clear;
clc;
P = 2.4;// tons
e = 18;// inches
n = 8;//no. of rivets
d = 7/8;// inches
h = 4;// inches
M = P*e;// ton-inches
d1 = 2;//
d2 = 6;//
square_r_sum = h*((0.5*h)^2 + d2^2) + h*((0.5*h)^2 + d1^2);//
r = sqrt(40);
F = M*r/square_r_sum;// tons
theta = atan(d2/d1)//radians
theta1 = theta*180/%pi// deg... |
b5972b2d2042b0f3b83f2f884ef10f0b0cfa5380 | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/conception/windowing/windowing.sce | a2db6a996e0f97a6b30e302a14065bde0c8a59f9 | [] | no_license | eewiki/asf | 02e06cec0465b28dd689dea801e6be6cbcd47eca | 8d0f55bd089f2e68d2b53aa76adbb02c07cdb166 | refs/heads/master | 2021-01-16T18:20:22.690176 | 2015-03-09T05:42:50 | 2015-03-09T05:42:50 | 18,419,213 | 34 | 30 | null | 2014-12-25T05:13:20 | 2014-04-03T21:42:46 | C | UTF-8 | Scilab | false | false | 1,567 | sce | windowing.sce | PI = 3.1415926535898
// Gaussienne
// w(n) = exp(-1/2*((n-(N-1)/2)/(teta*(N-1)/2))^2)
// avec
// N = signal width
// teta = a coefficient < 0.5
N = 100;
teta = 0.2;
n = 0:N-1;
w1 = exp(-1/2*((n-(N-1)/2)/(teta*(N-1)/2))^2);
// Hamming
// w(n) = 0.53836 - 0.46164*cos(2*PI*n/(N-1))
// avec
// ... |
209ce051486ba2d217c2579f2bbc56ab16480431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH8/EX8.3/S8_3.sce | de0131f3d1c4ef9531cbde8c1a6f7ec1e027ecf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | S8_3.sce | // sum 8-3
clc;
clear;
d=1.626;
A=2211;
m=0.145;
rm=3;
ri=(rm-(d/2));
sigma=A/(d^m);
W=(sigma*%pi*(d^3)*ri)/(32*(rm^2));
// printing data in scilab o/p window
printf("Ultimate tensile Strength is %0.1f MPa ",sigma);
printf("\n Force at which the spring hook fails is %0.1f N ",W);
//The difference in ... |
67b335ceeb114532364485af2999f0276e929d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH6/EX6.2/Ex6_2.sce | fb9cd8c5130556ed438643b2917ccd23d2b866a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | Ex6_2.sce |
clc
clear
//Input data
t=60;//The temperature of water while supplying it to desuperheater in degree centigrade
ws=200;//The amount of steam carrying in a steam line in t/h
p=35;//The pressure of steam in bar
ts=400;//The temperature to be maintained by the steam in degree centigrade
to=450;//The outlet tempera... |
4ea892cf864f98da54a3392926b5ca5573687669 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH1/EX1.6/Ch01Ex6.sci | de265e9cd55b35a8699c06f86ea8d654505c82f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sci | Ch01Ex6.sci | // Scilab Code Ex 1.6 Calculating Unit cell dimensions: Page-9 (2010)
d = 2.7D+03; // Density of fcc structure of aluminium, kg per metre cube
M = 26.98D-03; // Atomic weight of aluminium, kg per mole
n = 4; // No. of atoms per unit cell of fcc lattice structure of aluminium
N = 6.023D+23; // Avoga... |
fdc3eb3be94b56e0c5d015a3fc8945b8a43d6aa6 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Pasu Dodge Sparky.sce | 2eae1c6fe96e3e4ca6a847c0fcf269f9e1226e84 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51,174 | sce | Pasu Dodge Sparky.sce | Name=Pasu Dodge Sparky
PlayerCharacters=CSpasu
BotCharacters=test2.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=CSpasu
AddedBots=test2.bot;test2.bot;test2.bot;test2.bot;test2.bot;test2.bot;test2.bot;test2.bot;test2.bot;test2.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0;0;0;0;0;0
PlayerTeam=1
BotTeams=2;2;2... |
2d6d65bbe1e707994d88b3c2514a65eade35f9f2 | bbf1ae079309eca11270422d3f0d259d1515d430 | /numerical-tours/matlab/toolbox_graph/plot_surf_texture.sci | 4bd7e9fd394f8196d84bea9d1c7833dd049fe147 | [
"BSD-2-Clause"
] | permissive | ZichaoDi/Di_MATLABTool | 5e6a67b613c4bcf4d904ddc47c2744b4bcea4885 | c071291c63685c236f507b2cb893c0316ab6415c | refs/heads/master | 2021-08-11T07:28:34.286526 | 2021-08-04T18:26:46 | 2021-08-04T18:26:46 | 149,222,333 | 9 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sci | plot_surf_texture.sci | function h = plot_surf_texture(M, T)
// plot_surf_texture - plot a surface with a texture on it.
//
// h = plot_surf_texture(M, T);
//
// M(:,:,i) for i=1,2,3 are the 3D coordonate of the surface.
// T is a 2D image mapped on the surface.
//
// Copyright (c) 2010 Gabriel Peyre
n = size(M,1);
p = size(T,1);
... |
9087bc49dffec1726e4a2e060d2213a6e11a90a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH7/EX7.6.d/Chapter7_Ex6_d.sce | bc9e2b7e3fb38f53dd550816d60c1754b8b35911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,385 | sce | Chapter7_Ex6_d.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436
//Chapter-7 Ex7.6.d Pg No.300
//Title:Effect on dissolved oxygen concentration.
//======================================================================================================================
clear
clc
//INPUT
C_O2_criti... |
9f8a102a7a05ce28e9bcdba9e143998f8833eadf | d69ed580f23c687ea3ccf48bafbd561aac6931f4 | /gauss-elimination.sce | 19b546caabd2d1fe092c55b0690aff920e20781b | [] | no_license | AshayGowda/Linear_Algebra | 0b03fbedc7182283d7cd608ff6779afeb52f9ac3 | b635496a8697f64fad67e82c0e0dfd59bb44bc64 | refs/heads/master | 2021-01-02T16:17:42.453704 | 2020-06-03T19:19:22 | 2020-06-03T19:19:22 | 239,699,840 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | gauss-elimination.sce | clear;close;
A=[2,4,6;3,-2,1;4,2,-1], b= [14;-3;-4]
A_aug=[A b]
a=A_aug
n=3;
for i=2:n
for j=2:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(1,1);
end
a(i,1)=0;
end
for i=3:n
for j=3:n+1
a(i,j)=a(i,j)-a(2,j)*a(i,2)/a(2,2);
end
a(i,2)=0;
end
x(n)=a(n,n+1)/a(n,n);
for i=n... |
27e58ae8cfafc0a3293c5152f216d88639e5c043 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH4/EX4.13/4_13.sce | b25f146594086b6b92b464dba027714f0f1053f2 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | 4_13.sce | clc;
h1=3248;//kJ/kg
h2=2965;//kJ/kg
h2s=2753+[(7.126-6.929)/(7.172-6.929)]*(2862-2753);
eff=(h1-h2)/(h1-h2s);
disp("isentropic efficiency is:");
disp("%",eff*100);
s1=7.126;//kJ/kg K
s2=7.379;//kJ/kg K
T0=288;//K
loss=h1-h2+T0*(s2-s1);
disp("loss of energy is:");
disp("kJ/kg K",loss);
e=(h1-h2)/loss;
disp("effectiv... |
44c55597d0d69aa2c63c7a9f8048d7435f692081 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testFcolormap.sce | 169529466eb1470f99f02235643971ab5a047277 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | testFcolormap.sce | lines(10); // limits the number of rows displayed
F=gcf(); // new figure
size(F.color_map) // table of 32 colors
F.color_map // default table of colors
|
9558d784792143064ee1e17f927c961c8405d8e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH9/EX9.6/Example9_6.sce | ae37b0b79c2873ae910d9576bdeba2223621ed04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Example9_6.sce | //Given that
M = 1 //(say)to get the answer directly
Vi = 2100 //in km/h
//initial momentum
Pi = M* Vi
Vrel = 500 //in km/h
//Sample Problem 9-6
printf("**Sample Problem 9-6**\n")
//Assuming Vf as the final velocity of the hauler
Vf = poly(0, 'Vf')
Pf = 0.20*M*(Vf - Vrel) + (M - 0.20*M)*Vf
p = Pi - Pf
... |
8321e397b595b0937a6ef6f1855943c7d15ea0be | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH2/EX2.5/prob_2_5.sce | 78c917ddfa75609e5553023ffaa55d3733163bcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | prob_2_5.sce | clc;
//Assuming SI units for all quantities
//page no 33
//exa 2.5a
//approximation of square signal to sine signal with minimum energy
t=[0:.1:2*%pi];
t0=0;t1=2*%pi;
y=integrate('(sin(t))^2','t',t0,t1);
disp(+'joule',y($),'energy of sine signal=');
//to calculate value of c
t2=0;t3=%pi;
g=integrate('sin(t)'... |
5fa96aa5ec56a520c86149006bb35c4d25386801 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/tmp/aiTask_test.sce | 45030957e82f5b422cdca58c4624fd5b3eb1b156 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 124 | sce | aiTask_test.sce | mdaqAITaskInit(1, [-10,10], %f, 10000, 5)
mdaqAITaskStart();
data = mdaqAITaskRead(50000, 10)
mdaqAITaskStop();
plot(data)
|
1348399c6977368cdd84682d39f71cbf8a5f92e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.5/i_5.sce | 0105e964ae282eb9dadb320e387aff61da6c1a64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | i_5.sce | //Current Calculation using ohm's law.
clc;
clear;
V=220;
R=80;
// Using Ohm's Law V=I*R
I=V/R;
disp('amperes',I,'The Load Current =')
|
ea808a7f2388541e16c8d56824cc732c009e1934 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH9/EX9.5/9_5.sce | c2885272f90d74f16f97c039e6ce37b46fd680bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 9_5.sce | clc
//initialisation of variables
P= 1 //atm
T= 60 //F
P1= 4 //atm
e= 1.3
R= 55.15 //lbf/lbm R
m= 778
//CALCULATIONS
T2= (T+460)*(P1/P)^((e-1)/e)
W= R*(T2-(T+460))/(1-e)
W1= W/m
//RESLUTS
printf ('Work associated with the process= %.1f Btu/lbm ',W1)
|
a448a2f5acedee29e383e3c5bf24bed6eb9bc297 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.3/Ex7_3.sce | c75ee8a651e7ff3dd314d2d2f170d855ff443039 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex7_3.sce | clear;
clc;
//Example 7.3
R1=51.2;
R2=9.6;
Rc=2;
Re=.4;
Rsi=.1;
Vt=0.026;
Cc=1;
Vcc=10;
Vbe=0.7;
b=100;
Rb=8.08;
Icq=1.81;
gm=Icq/Vt;
printf('\ntransconductance=%.3f mA/V\n',gm)
r=b*Vt/Icq;
printf('\ndiffusion resistance=%.2f KOhm\n',r)
x=r+(1+b)*Re;
y=x*R2/(x+R2);
Ri=y*R1/(R1+y);
printf('\ninput ... |
c3008e5cdc58ec78b7fe8eb069bdc2a6ff4ea0f0 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab4_prinscript.sce | 1c15163b99fa69e9b5fc2d402e37ce970898ef07 | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | lab4_prinscript.sce | x=5;
f=sin(x);
a=0;
b=3.14;
n=50;
h=(b-a)/n;
i=0;
for i=0:n-1
x(i)=a+i*h
x(i+1)=x(i)+h;
end
disp(i);
|
d8fd929221c9cde3793b27e944e823de6e32816b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH8/EX8.12/Ex8_12.sce | b2532a0da168de10bbaa6b6b40974cb2c7f90698 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | Ex8_12.sce | // exa 8.12 Pg 236
clc;clear;close;
// Given Data
d=6;//mm
Do=75;// mm
tau=350;// N/mm.sq.
G=84;// kN/mm.sq.
printf('\n (i) neglecting the effect of curvature')
dm=Do-d;// mm
C=dm/d;// spring index
Ks=1+0.5/C;// shear stress factor
//tau=Ks*(8*Fmax*C)/(%pi*d**2)
Fmax=tau/(Ks*(8*C)/(%pi*d**2));// N
printf('\n Axial lo... |
535f43a7a9a94c75b271a3b2d3e78989fd493c17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.4/ex1_4.sce | 8fc4e7cd9c4229ce4d478247a75cb321b9554316 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | ex1_4.sce | clc;
v=330; //velocity in m/sec
n=560; //frequency in Hz
l=v/n; //calculating wavelength
disp(l*30,"Distance travelled in 30 vibrations in m = "); //displaying result |
6f762aa96733730faa39057190c8fa5d0fafad29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH10/EX10.15/10_15.sce | 88b6ec610af559c6e9a7fe84e12e0a88e42b229d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | 10_15.sce | clear; clc; close;
V = 12;
P = 250*10^(-3);
I = P/V;
disp(I,'Current drawn(Amperes) = ');
|
33185dd111c29b63caa2750b5a2ed74828806914 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_7.tst | 1e51d129d7cdfab135a2436829c4614976808cc3 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 498,749 | tst | 5.20_7.tst | 20 28:1 282:1 1030:1 1151:1 1158:1 1169:1 1276:1 1331:1 1637:1 1776:1 1799:1 1914:1 1926:1 2135:1 2352:1 2773:1 3605:1 4198:1 4558:2 4665:1 4713:1 4805:1 4897:1 4911:2 4956:1 5014:2 5201:1 5787:2 5928:1 5954:1 6220:1 6891:1 7151:1 7171:1 7179:1 7222:1 7363:1 7613:1 7686:1 7814:1 7846:1 7963:1 8183:1 8229:1 8355:1 8383:... |
433ba7b7c6888f19cfa2ee2b1a4df83fdb632609 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH13/EX13.17/ex13_17.sce | 2ec212b26cfcf35c2133929274d9d0f9751214ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | ex13_17.sce | clc;
clear all;
a = 2.88e-10; //Lattice constant
rho = 7200; // Density of the metal in Kg per cubic meter
n = 1/(a^3*rho); // Number of units cells present in 1kg of metal
disp('',n,'Number of units cells present in 1kg of metal is')
|
723e2b17e1b917c2db1fc86a4f32625d2b0b4c41 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peak2peak/peak2peak2.sce | dd9784cc94a26bae9733ee8c5cd65e27bd52f5ab | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | peak2peak2.sce | //check o/p when the i/p vector contains imaginary elements
n = 0:99;
x = [%i 2 4];
maxmin = peak2peak(x);
disp(maxmin);
//output
// !--error 202
//max: Wrong type for argument #1: Real matrix expected.
//at line 31 of function peak2peak called by :
//maxmin = peak2peak(x);
//the in built function 'max' in Sci... |
446c9e9728982d204e6381f07e39082d7aa89678 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH5/EX5.1/5_1.sce | 0dcb9281c750598be06c0bd25a652d2e077b1d70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | 5_1.sce | pathname=get_absolute_file_path('5_1.sce')
filename=pathname+filesep()+'5_1data.sci'
exec(filename)
L=[(h^2 +AB^2)^0.5;BC;(h^2 +CD^2)^0.5;CD;BC;AB;h;(h^2 +BC^2)^0.5;h];
A=atan(h/AB),B=atan(h/BC),D=atan(h/CD);
lFC=Load2;
P=[
0 0 sin(D) 0 0 0 0 sin(B);
cos(A) 0 0 0 0 1 0 0;
cos(A) -1 0 0 0 0 0 0;
si... |
72fdc059be34d32337cd6afdfb5f25e579ffa85e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.11/6_11.sce | 38bff98e63c8267dce8db7a744ecb5867f01ec3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sce | 6_11.sce | //example 6.11
//rommberg's method
//page 229
clc;clear;close;
deff('y=f(x)','y=1/(1+x)');
k=1;
h=0.5;
x=0:h:1;
l=length(x);
for i=1:l
y(i)=f(x(i));
end
area=0;//trapezoidal method
for i=1:l
if i==1|i==l then
area=area+y(i)
else
area=area+2*y(i)
end
end
area=area*(h/2);
... |
8ad976323cf1ced3b648a33affab67cffca3aa6c | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /test-deprecated/testAVErreur.sce | ad3a0a6b4a511a68bcceeef999bc5ea4c3d0aa45 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,235 | sce | testAVErreur.sce | // this code test the asser visu
// given as an input to Andreis function
// for step computing
// Andrei
//exec('LoadMarche.sce');
clear
path=get_absolute_file_path("scilab-src");
disp('HOME:'+path),
getd(path + "src/graphisme"); // pour charger un repertoire en entier
getd(path + "src/transformation");
g... |
8245f4ba1843e4309e5608634b4b9374c4c51d32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.33/Chapter3_example33.sce | b88175a25e702792526efa87dc538cf276030cc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 964 | sce | Chapter3_example33.sce | clc
clear
//Input data
d=18//Bore in cm
l=37.5//Stroke in cm
N=220//Speed in r.p.m
//Mean effective pressure in kg/cm^2
//Firing
pp=5.9//Positive loop
pn=0.248//Negative loop
//Missing
nn=0.432//Negative loop
bhp=8.62//Brake horse power in h.p
ex=100//Explosions per minute
vg=0.101//Gas used in cu.m per m... |
8887ae82a2817a76256216dc5ac69e106dca41bb | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/CMAES/CMAES perf 0.sce | 55e6dff8afa4108bd40d57e0b77c857e01426f59 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,085 | sce | CMAES perf 0.sce | clear
function y = frozenbrock(x)
if size(x,1) < 2
error('dimension must be greater one');
end
N = size(x,1)
y = 100*sum((x(1:N-1).^2 - x(2:N)).^2) + sum((x(1:N-1)-1).^2);
endfunction
function y = frastrigin(x)
if size(x,1) < 2
error('dimension must be greater one');
end
N... |
2939abdd9121a17354c6d74ad2bda0a65e0d3295 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH4/EX4.2.2/4_2_2.sce | d6e68af0fdb449065d257bbe6a7fbcd7448553e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sce | 4_2_2.sce | clc;
// page no 122
// prob no 4_2_2
//Two resistor at room temp are given with BW=100KHz
R1=20000
R2=50000
k=1.38*10^-23 //Boltzman constant in J/K
T=290
BW=100*10^3
//Determination of thermal noise voltage for 20Kohm resistor
En1=(4*R1*k*T*BW)^(1/2);
disp('uV',En1*(10^6),+'a)i)The value of RMS noise voltag... |
1e52bb72daae9c0ee754aad8b36bac5a628cc30a | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/series.sci | e54048efe52dd6a18f295604de56605b45f2810e | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | sci | series.sci | function c=series(a,b)
c=a*b;
endfunction
|
7d04ca4547662222a51ef202f03323690741b621 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH3/EX3.10/Ex3_10.sce | d0d0f64e5d3e47da4a1559025a9034136218c423 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex3_10.sce | ////Given
Z=2
E=13.6 //ev
E0=10.04 //ev
//Calculation
Ei=Z**2*E
E1=-Ei
E3=E1/(3.0**2)
Ee=E0+E3
//Result
printf("\n Required stopping potential is %0.0f V",Ee)
|
1702e375a6124d7628b99e666d068dab3810ac61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH11/EX11.7/11_7.sce | c0efb19e8afe58d7af8e103105a0dc33343aecb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | 11_7.sce | clc;
clear;
pratio=0.82;//ratio of static to stagnation pressure
T=68;//degree F
//for (a)
//for the value of pratio given Ma is calculated as
Ma1=0.54;
k1=1.4;
Tratio1=0.94;//T/T0
T1=Tratio1*(T+460);// degree R
V1=(Ma1*(53.3*T1*k1)^0.5)*(32.2^0.5);//ft/sec
//for (b)
k2=1.66;
Ma2=((((1/pratio)^((k2-1)/k2))... |
2012af58f4c5467e0d6da7bb4fc808b71e4c7fc3 | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/factsav.tst | 4b494b02ca014843cf0046dc425c72b0bf613690 | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | tst | factsav.tst | (unwatch all)
(clear)
(dribble-on "Actual//factsav.out")
(batch "factsav.bat")
(dribble-off)
(clear)
(open "Results//factsav.rsl" factsav "w")
(load "compline.clp")
(printout factsav "factsav.bat differences are as follows:" crlf)
(compare-files "Expected//factsav.out" "Actual//factsav.out" factsav)
(close factsav)
|
1dc9216e6b78d1082ee9cb003a72c0f0cb105456 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH39/EX39.4/Example39_4.sce | 49c21356b4556e3830cfcab0b510e6865015221c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Example39_4.sce | exec('degree_rad.sci', -1)
//Given that
lambda = 22*10^-12 //in meter
conv = 1.6*10^-19 //ev to J conversion factor
E = 56*10^3*conv
theta = dtor(85) //in rad
h = 6.62*10^-34 //in J.s
Me = 9.1*10^-31 //in kg
c = 3*10^8 //in m/s
//Sample Problem 39-4a
printf("**Sample Problem 39-4a**\n")
deltaL = h... |
9316523b4c469733461f2398cb78c48184ee3834 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /Self_tuning_controller/ConventionalTuning_Vikas/PIDControllersetpointchange/pid_bda.sci | b2c916daf41ca0f0430c5438c212ba21c62128f6 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sci | pid_bda.sci | mode(0)
function [temp] = pid_bda(setpoint,fan,K,Ti,Td)
global temp heat_in fan_in C0 u_old u_new e_old e_new e_old_old
global heatdisp fandisp tempdisp setpointdisp sampling_time m name
e_new = setpoint - temp;
Ts=sampling_time;
S0=K*(1+(Ts/Ti)+(Td/Ts));
S1=K*(-1-((2*Td)/Ts));
S2=K*(Td/Ts);
u_new = u_old + S0*e_n... |
7f1b84865b6109cc66ee8d21ff3077e4ac8cf748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH10/EX10.14/Ex10_14.sce | 3bed8ce66a81bd9b1dbba28a946c5e06034f8a5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,736 | sce | Ex10_14.sce | //CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 14
clc;
clear
disp("CHAPTER 10");
disp("EXAMPLE 14");
//VARIABLE INITIALIZATION
p=10*1000; //in Watts
I_nl=8; //no load line current in Amperes
p_ni=660; //input power at no load in Watts
I_fl=18;... |
ecf7d0ac435ee19f6d61a4ac13cfc87d7eb7b745 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH6/EX6.18/6_18.sce | 2dd922d5d20c62c6ccee191b827f21f234b0c3dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | 6_18.sce | V=400
P=900
pf=0.8
Pph=P/3
Vph=V/sqrt(3)
Iph=Pph/Vph/pf
Zph=Vph/Iph
theta=acos(pf)
Zph=Zph*exp(-%i*theta)
disp(Zph) |
29f3ca78a221fad42511ac6920db470011feefc8 | c7ae4be7c00d277ebf8f41b417dac91c03fea434 | /optimization/gradient_descent_conjugate/optim_fonctions.sci | 6b6baab3155fbf15e53a483e6ddbf631398c96b8 | [] | no_license | xsher/data_science | dfa829f2cbb68822f356afcf32dbd967b63675b8 | bf4e619f361d27c635a2c99e903df6b25e071f90 | refs/heads/master | 2020-09-09T17:59:41.318865 | 2019-12-03T09:26:50 | 2019-12-03T09:26:50 | 221,519,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,339 | sci | optim_fonctions.sci | function [J,G]=cost1(v);
n = length(v)
J = 0
G = []
for i=1:n
J = J + (v(i) - 1)^2
gradient = 2*(v(i)-1)
G = cat(1, G, gradient)
end
endfunction
function [J,G]=cost2(v);
n = length(v)
J = 0
G = []
for i=1:n
J = J + (v(i) - i)^2
gradient = 2*(... |
a5148177686b3beb36b3ea8c25e5b391f77737a2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH3/EX3.23/ex3_23.sce | ca2a6ed73066c3904c379bcf863c317ef3832dd9 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | ex3_23.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate the regulation of transformer
//Exam:3.23
;
;
//(I_2*R_a2/E_2)*100=1
Rs_d=1;//Percentage resistive drop
//(I_2*X_a2/E_2)*100=5
Re_d=5;//Percentage reactive drop
//power factor=cosd(q1)=0.8 (lagging)
q1=acosd(0.8);
//Voltage regulation= ((I_2*R_a2*cosd(q1)+I_2*... |
ddcce02b0a87604fb42fa3699bc7bdb0f55583b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH11/EX11.9/Ex11_9.sce | eec7918582c15adb15d14f2dc4f9cdd182bbfd7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | Ex11_9.sce | clear
//
//
//
//Variable declaration
NA=0.20 //numerical aperture
n0=1.33 //refractive index of water
n2=1.59 //Cladding refractive index
//Calculation
n1=sqrt((NA**2)+(n2**2)) //core refractive index
x=sqrt((n1**2)-(n2**2))/n0
theta0=asin(x) //acceptance angle(radian)
theta0=the... |
c4bf3c265e98889793b11aeaa2ed89b3e759d35a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH3/EX3.4/Ex3_4.sce | 1262f800bfd4eabb61539dae2c88f4baea17e420 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex3_4.sce | clc
Tc=405.5 //temperature in kelvin
Pc=112.77 //pressure in bar
T=473 //temperature in kelvin
Tr=T/Tc
mprintf("Tr=%f\n",Tr)//ans vary due to roundoff error
Pr=1.9 //obtained from compressibility chart in the book with given conditions
P=Pc*Pr
mprintf("P=%fMPa",P/10)//ans vary due to roundoff error
|
1c42209e48ae3496d919d73b0f502c4654196916 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH13/EX13.2/ex_13_2.sce | b757b23692500cdad2490f734b33fdd7de22f174 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 573 | sce | ex_13_2.sce | //find length of key
clc
//solution
//given
d=45//mm
fyts=400//N/mm^2'//for shaft
w=14//mm
t=9//mm
fytk=340//N/mm^2//for key
Fs=2
pi=3.14
//let l be length of key
tmaxs=fyts/(2*Fs)//N/mm^2
tmaxk=fytk/(2*Fs)//N/mm^2
tmax=(pi/16)*tmaxs*d^3//N-mm
//tmax=l*w*tmaxk*d/2
l1=(tmax*2)/(w*tmaxk*d)//
printf("the ... |
76829f01339e84a137a62f2fdebaba779dacc3c9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.8/Ex3_8.sce | 044b8464befbef192be600f147280fab8596b045 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex3_8.sce | errcatch(-1,"stop");mode(2);//Ex:3.8
;
;
I_sc=19;//in uA
R=1000;
R_m=968;
V_out=I_sc*(R*R_m/(R+R_m));
printf("Voltage produced = %d uV",V_out);
exit();
|
ee162cf0710aeb5eea83bf6424bee98f9383be35 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/P2_numerico_oberdan/M12 - Passo_Múltiplo_e_derivação/M12 - un-1_encontre_coeficientes.sce | 20818fb813abac9a2dc675a98d71f8200b1cd9e6 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | M12 - un-1_encontre_coeficientes.sce | // Os x sao os pontos onde a f(x) e' calculada
// Usa quando Un+1 = Un-1 + H [ C1Fn+0 + C2Fn-1 + C3Fn-2]
// ^ ^ ^
//M12-q5-q6
x(1) = 1;
x(2) = 0;
x(3) = -1;
// Daqui pra baixo nao muda pra esse padrao de = Un-1...
b(1) = 2;
b(2) = 0;
b(3) = 2/3;
for i=1:3
M(1,i)=1;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.