blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4ad1619e688809553508655edee6c5264f7cb672 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH5/EX5.12/exa5_12.sce | 62e0478257618f13e2c4084bbe98c246935cbd9e | [] | 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 | 295 | sce | exa5_12.sce | // Example 5.12
// Complete response calculations
// From figure 5.21(b)
R=4;
L=0.1;
function i_dot= fun(t,i)
i_dot= 4000*sin(280*t)-40*i;
endfunction
i_0=0;
t_0=0;
t=0:0.001:0.225;
i=ode(i_0,t_0,t,fun);
plot(t,i);
xlabel('t');
ylabel('i(t)')
title("Complete response i(t)")
|
de4ac1becb06ada6fa243379bf512515cf800876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH17/EX17.1/17_1.sce | 0080d8677769dd9f413890f2528ae68fc48ab06e | [] | 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 | 155 | sce | 17_1.sce | clear ;
clc ;
Isc= 25e3;
i=2.55*Isc;
L=1;
r=0.24;
F=2.046*(i^2)*10^-5/r;
mprintf("the force on busbar per meter length =%d kgfper meter",F/1e3);
|
d773eb6669ba4b77558361c529ccad7b18b25754 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/genfac3d.man.tst | f9cd4675dc4e16c344ab6a2523525e8e7e8675f6 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 97 | tst | genfac3d.man.tst | clear;lines(0);
t=[0:0.3:2*%pi]'; z=sin(t)*cos(t');
[xx,yy,zz]=genfac3d(t,t,z);
plot3d(xx,yy,zz)
|
6d6a1ec81c286b23aed58a8db63fd6ab70b7cb57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH10/EX10.29/example10_29.sce | 3d8d876e96968fab4b5282b90f65925311e392ff | [] | 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 | 434 | sce | example10_29.sce | clc
// Given that
H = 1 // magnitude of magnetic field vector A/m
e0 = 8.85e-12 // electric permittivity of space
mu0 = 1.2567e-6 // magnetic permittivity of space
c = 3e8 // speed of light in meter/sec
// Sample Problem 29 on page no. 10.48
printf("\n # PROBLEM 29 # \n")
r = sqrt(mu0 / e0) // ratio of E,H
E = H * r
p... |
f2ec6b7698fe5433755b0c596e33be92e9283e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH7/EX7.7/Ex7_7.sce | 8ec7ff5b30ed936735c0249dc5209459ca2e1938 | [] | 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 | 522 | sce | Ex7_7.sce | // exa 7.7 Pg 208
clc;clear;close;
// Given Data
d=50;// mm
tau=42;// MPa
sigma_c=72;// MPa
printf('for key to be equally strong in shear & crushing - \n')
b=d/4;// mm
printf(' b= %.2f mm. Use b=15 mm.',b)
b=15;//mm
//2*b/t=sigma_c/tau for key to be equally strong in shear & crushing
t=2*b/(sigma_c/tau);// mm
printf('... |
065c65bc741c1b71790e9ef6e5805d663b6acdee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH10/EX10.5/Ex10_5.sce | 4b761cb5a50736de20af03a44ea33f655a9d2ec5 | [] | 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 | 394 | sce | Ex10_5.sce |
// Example 10.5
/// Given Z=R+iXl; i.e Z= 10+i10
R=10; // Resistance
Xl=10; // Inductance
f=50; // Frequency
L=Xl/(2*%pi*f); // Value of Inductor
disp(' The Value of Resistor is = '+string(R)+' Ohm');
disp(' T... |
7db75bc08d11fbfe9804806e8eae32bc5a608fe3 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Nilo-Sahan/dje.tst | a3299126a3ab9913d91313684f46abb86c90c29a | [] | 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 | 204 | tst | dje.tst | daay-si V;FUT
kayni V;FUT
diran V;FUT
hantum V;FUT
daay-si V;PRS
fayri V;PST
chauwayndi V;PST
sinttini V;PRS
tutaiye V;FUT
foh V;PST
kaiye V;PST
bann V;PST
chayndi V;FUT
goroh V;PST
foh V;FUT
daabu V;PST
|
8cccfc7e1602925bb3d233e55f9d688931af69ab | 037362195179268c71b89f6485fb796c82311d07 | /Integration Approach/agglomerative_clustering.sce | 4e69377eed8887427508cc0ed14ce0596e91f4fd | [] | no_license | SoumitraAgarwal/machine-learning-Toolbox-SCILAB | 34a6884fd0138548955e836836181df0c8169ab1 | ef4dc44a9676a2b63e8c8fa0ce7c0452a98b44fa | refs/heads/master | 2020-03-15T03:59:52.960122 | 2017-08-28T16:36:20 | 2017-08-28T16:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 935 | sce | agglomerative_clustering.sce | pyImport matplotlib
mpl = matplotlib;
py = pyBuiltin();
pyImport numpy
np = numpy;
pyImport sklearn.cluster
cluster = sklearn.cluster
pyImport sklearn.metrics
metrics = sklearn.metrics;
n_features = 2000;
t = np.pi * np.linspace(0, 1, n_features);
//def sqr(x):
// return np.sign(np.cos(x))
... |
87aff035748e81be563985a9cf6a48a23fe9edef | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH7/EX7.47/ex_7_47.sce | 6aa12c5c0f4a468e4678c76feee25fdcd6aadbb3 | [] | 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 | 667 | sce | ex_7_47.sce | clc;
A=[2 1 0;0 2 1;0 0 2];
V=[2 0 0;0 2 0; 0 0 2];
N=[0 1 0;0 0 1;0 0 0];
z=N*N*N;
if z==0 then
disp("N is a nilpotent of index 3");
else
disp("N is not nilpotent")
end
if V*N==N*V then
disp("V and N commute")
else
disp("V and N dont commute")
end
syms t
//e^(A*t)=e^(v*t)*e^(N*t)
e=spe... |
f1a1017d7e582489fd1ec91b47be8b49d5475373 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.19_7.tst | c1f308239b070e2826e3bc3e14dc6d49d71f1013 | [] | 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 | 3,885 | tst | bow.19_7.tst | 19 13:1.0 44:1.0 311:0.2 975:1.0
19 21:0.09090909090909091 27:0.017543859649122806 346:0.5 603:1.0
19 13:1.0 91:0.25 1048:1.0 1381:1.0
19 21:0.09090909090909091 27:0.017543859649122806 346:0.5 421:1.0
19 13:1.0 22:0.1111111111111111
19 21:0.09090909090909091 22:0.1111111111111111 27:0.017543859649122806 311:0.2 1319:1.... |
e5460e5da26db1841171189ad5714240acedb99a | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /GOLD-TEST/fin.tst | d5d935d4f81541afd8463b63eba9d7079a79ad06 | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,128,482 | tst | fin.tst | sitronellaali sitronellaaleitta N;PRIV;PL
ponteva pontevaan ADJ;IN+ALL;SG
päämaja päämajojen N;GEN;PL
coquerelinkääpiömaki coquerelinkääpiömakeilla N;AT+ESS;PL
olympiapaikka olympiapaikkoihin N;IN+ALL;PL
megaspori megaspori N;NOM;SG
proportionaalinen proportionaalisissa ADJ;IN+ESS;PL
avittaa avitit V;IND;SG;2;PO... |
fcd9c07775a6e631714f1b0301bcd163043524d4 | 89dea31a969e428f3ba6bbe7e01abe63875ecc6e | /scilab/randnumbs.sce | 5975d2c166d268a8812f8415e1377f1d942346de | [] | no_license | arvinsingh/b_tech | 9603a83121f8b6beb7ee7d4aae9c2a27599b6f92 | 40e4d29ddfbe13d613709d8303faaccd9bb2db33 | refs/heads/master | 2020-03-19T14:40:00.460378 | 2018-06-08T15:25:19 | 2018-06-08T15:25:19 | 136,634,452 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | randnumbs.sce | count = 0
for r =round(rand(1,1000,"uniform")*1000)
if r > 150 then
if r < 250 then
count = count + 1
disp([count r])
end
end
if count == 30 then
break
end
end
|
8837394d7f22b9ad47827b21236764b3ee1d80fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.3/S_2_3.sce | 16c6ab169fa4c7c1f55ad099fc46e571d57747c5 | [] | 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 | 928 | sce | S_2_3.sce | clc;
F1=725;// N
F2=500;// N
F3=780;//N
theta=acos(840/1160);//radian, Angle made by F1 with -X axis
alpha=acos(3/5);//radian, Angle made by F2 with -X axis
beta=acos(12/13);//radian, Angle made by F3 with X axis
F1x=-F1*cos(theta);//N, Horizontal component of F1
F2x=-F2*cos(alpha);//N, Horizontal component ... |
cc7b4b5eed9acfee8085008285ee61a2ace6003d | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH7/EX7.1/Example7_1.sci | 7da550bc4a7de076ebb2311152777c555d70aad6 | [] | 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,585 | sci | Example7_1.sci | //Chapter 7_Operational Amplifier Characteristics
//Caption : Bipolar Differential Amplifier Parameter
//Example7.1: The following specification are given for the dual input,balanced output bipolar diferential amplifier:
//Rc=2.2 kOhm,Re=4/7kOhm,Rs=50 ohm,Vcc=10V,Vee=-10V and Bf=Bo=100. Assume Vbe=0.7V.
//Dete... |
1e1e41d383ac5bc074d94ad99511f6392cd69ad6 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /JustMonika's Apex Trainer.sce | 5aaec7f444dabfbe02b69669d2a4f11b98bad7b7 | [] | 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 | 173,809 | sce | JustMonika's Apex Trainer.sce | Name=JustMonika's Apex Trainer
PlayerCharacters=Ascended Tracking
BotCharacters=moni1.bot;moni2.bot;moni3.bot;moni4.bot
IsChallenge=true
Timelimit=90.0
PlayerProfile=Ascended Tracking
AddedBots=moni1.bot;moni2.bot;moni3.bot;moni4.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;0
MapName=ascendedstr... |
164efb1eeb8100c3ce9e9305ee417dcd4fe5d1bb | 7d8beb39000d2a95f50e45da16938847d4e74fed | /trajectory-20180709.sce | 94f6d0909f95e65b45b7d215f642457ddfae45b7 | [] | no_license | TheMagicNacho/artemis-trajectory | 12ff3ea967ca0da8a1754ad4ff709b2433485fd8 | f87e7de768ac6580232c9b04f0cf407abf31f457 | refs/heads/master | 2020-03-19T10:23:33.660658 | 2018-06-09T21:41:35 | 2018-06-09T21:41:35 | 136,366,001 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | trajectory-20180709.sce | // !!!!! VARIABLES !!!!!!!//
tstep = 1; //sec - interval for graphing
AA = 88; //degrees - Angle of Attack from horizon
T = 1650245.73705; //N - Thrust
// DOUBLE CHECK THE THRUST
M0 = 200000; //g - initial mass of vehicle
V = 11000; // m/s - velocity
// !!!!!constants don't change !!!!!!//
mdot =... |
77c38d3a3b07d47b810c59e8fc700204f6d75c7a | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kStop.sci | c59bd8c96c2af5f6f8e6c67e44353f97a90a071c | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sci | kStop.sci | function [r] = kStop(ref)
// Ouput variables initialisation (not found in input variables)
r=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KSTOP Send stop command to Khepera
//
//kStop(ref)
// Specify a zero speed for the left and right wheels.
// Use the reference obt... |
1f8c7d587aa0b00a9c98fa15b9f9a4eb3fd72e72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.8/Ex5_8.sce | 127c6f36f517a005e752772f726227936b738723 | [] | 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 | 504 | sce | Ex5_8.sce | // Scilab Code Ex5.8: Page-287 (2008)
clc; clear;
h = 6.62e-027; // Planck's constant, erg-s
c = 3e+010; // Speed of light, cm/s
phi = 3.31e-012; // Work function for material, erg
lambda0 = h*c/phi; // Wavelength of incident radiation, cm
printf("\nThe maximum wavelength of radiation which would star... |
5b5ab88cf77ee7e915eb7e9dca7ff61647076025 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /model for routing/mukhil.sce | d18ea3f04b3b67a9ab59b2cfe3dd1129e865692f | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,865 | sce | mukhil.sce | clc
clear
kk=25
pop=10
iter=100
st=1+round(2*rand(1,kk))
pet=[15 13 15 10 14 14 19 13 15 14 12 19 15 14 19 15 15 12 17 19 15 17 15 17 16]
for i=1:kk
plt(1,i)=pet(1,i)+1+round(2*rand(1,1))
eet(1,i)=pet(1,i)-1-round(2*rand(1,1))
elt(1,i)=plt(1,i)+1+round(2*rand(1,1))
end
xx=[11 1.5 5.5 2 8 6.5 38 14 7 37 37... |
0aa420bb078a6151c43b2a3437f4061bb0b68e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH6/EX6.7/Ex6_7.sce | 70abac79a2a4d7d2f729c21764a6dff831d1ef67 | [] | 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 | 688 | sce | Ex6_7.sce | clear
//
//
//Initilization of Variables
P=3750*10**6 //N-mm/sec
n=240 //Rpm
q_s=160 //N/mm**2 //Max shear stress
//Calculations
//d2=0.8*d2 //mm //Internal Diameter of shaft
//J=%pi*32**-1*(d1**4-d2**4) //mm**4 //Polar modulus
//After substituting value in above Equation we get
//J=0.05796*d1**4
T=P*60*(2*%pi*n)... |
c2d7eeb1acef17ebb1d83aac349322d55c20ded6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.7/Ex4_7.sce | 354459e8b8e9928bfd120b3cdbbdd890faffbf3b | [] | 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 | 274 | sce | Ex4_7.sce | //Example 4_7 page no:172
clc
I1=20;//direct current in conductor(in amps)
I2=20;//sinusoidal peak current in conductor (in amps)
ret_current=sqrt((20^2+(20^2/2)))
disp(ret_current,"The resultant current in conductor is(A)")//in text book value is rounded to 2 digits
|
277bc143f70887fc6c9668d0c0afb94816bae97a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/SAT_f.sci | d4a1a853558c3f4fb61c3dfb2b6095c153a62278 | [
"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,371 | sci | SAT_f.sci | function [x,y,typ]=SAT_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz]=graphics(1:2)
thick=xget('thickness');xset('thickness',2)
xpoly(orig(1)+[4/5;1/2+1/5;1/2-1/5;1/5]*sz(1),..
orig(2)+[1-1/5;1-1/5;1/5;1/5]*sz(2),'lines')
xset('thickness'... |
20dc0b6cdf40519de5d5a166b89738bf609090b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH8/EX8.4/C8P4.sce | 1dea7ab6259d3034e6196ea6170c1de417dd5ba7 | [] | 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,029 | sce | C8P4.sce | clear
clc
//to find angular acceleration of grindstone
//to find total angle turned through during slowing down of grindstone
// GIVEN:
//refer to problem 8-3 and from page no. 165
//refer to the figure 8-7 from page no. 165
//initial angular speed of grindstone
w0z = 8.6//in rad/s
//final angular speed of g... |
71ef939aac71168a16ffd03d5f7a3b6273ad8e89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH4/EX4.16/ex4_16.sce | 70817dd70f640acf928b57db10ddcde89dd23ad2 | [] | 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 | 199 | sce | ex4_16.sce | clc;
r=1.74*10^6; //radius in m
gm=1.6; //gravitational constant of moon in m/sec square
v=sqrt(r*gm); //calculating velocity
disp(v,"Velocity in m/sec = "); //displaying result |
33eeb7ccd90c87de3453adc6ec72a82012a5561c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.28/Ex5_28.sce | ce161a25ea1ab9fd93ee3abf33e21271876fc3e0 | [] | 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 | 386 | sce | Ex5_28.sce | clear;
clc;
b = 9/2;// inches
D = 12;// inches
d = 10;// inches
t = 1/2;// inches
f_w = 1000;// lb/in^2
m = 18;//m = E_s/E_w
f_t = m*d*f_w/D ;// lb/in^2
M_w = f_w*(1/6)*2*b*D^2;// lb-inches
M_s = f_t*(1/6)*t*d^2;// lb-inches
M = M_w + M_s;// lb-inches
printf('Skin stresse in steel plate is, M_s = %d lb-inch... |
3e511e9801ea7d16021cf2857bb447a5c1f4f1b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.14/exa_8_14.sce | e1ecb2471e8c36dc66b3d5b3a1238ba3af831ba6 | [] | 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 | 886 | sce | exa_8_14.sce | // Exa 8.14
clc;
clear;
close;
//given data
f=75;// in MHz
f=f*10^6;// in Hz
// For an 8-bit converter reference voltage
V_REF= 100;// in volt
// For setting D7=1
Vo_7= V_REF*2^7/2^8;//in volt
// For setting D6=1
Vo_6= V_REF*2^6/2^8;//in volt
// For setting D7=1 and D6=1
Vo_76= Vo_7+Vo_6;//in volt
// For... |
d98e6db3dc144f860e5e16f971164cbd571cc710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH5/EX5.1/Ex5_1.sce | 9498e8949dbcb1a680187560effc7ff26de9628a | [] | 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,408 | sce | Ex5_1.sce |
//Variable Declararion
L=18 //Latitude of earth station(degrees)
PE=-73 //Longitude of earth station(degrees)
Pss=-105 //Satellite location(degrees)
aGSO=42164 //Circumference of earth (km)
R=6371 //Radius of earth(km)
//Calculation
function [ans] = mycross(A,B)
i = A(2)*B(3) - B(2)*A(3)
j = A(1)*B(3) ... |
ed53dac5fe43f6d212a80946351f730b2b160ff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH3/EX3.3/Example3_3.sci | e46ce2414b811fb2451e07ac04b7c4b2effded82 | [] | 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 | 500 | sci | Example3_3.sci |
clear;
clc;
printf("\t Example 3.3\n");
T1=293; // Entering Temperature of Water, K
T2=313; //Exit Temperature of water, K
m=25/60;//Condensation rate of steam, kg/s
T3=333; // Condensation Temperature,K
A=12; //area of exchanger, m^2
h=2358.7*10^3; //latent heat, J/kg
U=(m*h)/(A*((T2-T1)/log((T3-T1)/(... |
0aeab647b652a9994f56b3fd9e62cef400390f6b | 76cd50cd5e5d8e4afa2af9b79740e2cff65ab2c8 | /backwardNewton.sce | 7f22f30abe6aec674920f4bbb1c1e12ca918c47d | [] | no_license | ankitparekh21698/Numerical-Techniques-Lab | 60de11c65db0be65acc14a055cb5b57ca3158e26 | c3ba81f085f22dab8a3f93e6f86ea956a886e410 | refs/heads/master | 2022-12-17T21:32:04.681008 | 2020-09-10T16:07:17 | 2020-09-10T16:07:17 | 280,810,961 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | backwardNewton.sce | clc();
xr = input("enter the value of xr = ");
x = [10 15 20]
y = [227.04 362.78 517.35]
disp(y(1,2))
y21 = (y(1,2)-y(1,1));
y32 = (y(1,3)-y(1,2));
y31 = y32-y21 ;
disp("First Difference D1 = ")
disp(y21)
disp("First Difference D2 = ")
disp(y32)
disp("Second Difference D1 = ")
disp(y31)
r = (xr-x(1,3))/(x... |
671caf40556e338e7bbd87c2bfad0007988f8d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.9/Example_7_9.sce | 1ad3384eedd4aaf99cc6b922c965130e6bba70af | [] | 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 | 691 | sce | Example_7_9.sce | // Chapter7
// Page.No-274
// Example_7_9
// Design of wide bandreject filter
// Given
clear;clc;
fh=200; // Low cutoff freq in Hz
fl=1*10^3; // High cutoff freq in Hz
C2=0.01*10^-6; // Assumption
R2=1/(2*%pi*fl*C2);
printf("\n Resistance R2 of highpass section is = %.1f ohm \n", R2) // Result
C=0.05*10^-6;
... |
7cba1eb3a56f889eea3c523a09b60eb8f66a95f8 | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/Markov-Markets.sce | 3738cc52e98439566bbe6886d6f3e1c6fe12b35f | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 601 | sce | Markov-Markets.sce | //Serie definition
markov=[0.9 0.075 0.025; 0.15 0.8 0.05;0.25 0.25 0.5]
start=[0 1 0]
identity=[1 0;0 1]
resultat=start*markov^1000
//Exemple of markov matrix from Markov.pdf
start=[0 1]
markov=[-0.2 1;-1 -0.2]
control=[2.5 2.5]
gaussian=[0 0]
for n=1:1000
//gaussian=[rand() rand()]
gaussian=grand(2,"mn",0,1)
//With... |
39333263dac21613de1a6d2c7a00cf5302a6865b | 7a1adf0a5d79d7bcd6706889d8257746a118d373 | /oldScenarios/children_dev2.sce | 5c6ffe6330c5576f2c49bbdc1c0bd704557de8c5 | [] | no_license | stakar/Go_NoGo | c8cddf1eff6b62b7a4bfdb850c774031cd401fcc | fd2ef2b919ad66e825aeb37b5ceaddac7682813a | refs/heads/master | 2020-04-12T15:01:13.369575 | 2019-07-04T08:23:53 | 2019-07-04T08:23:53 | 162,568,405 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,740 | sce | children_dev2.sce | active_buttons = 2;
response_matching = simple_matching;
default_all_responses = false;
default_font_size = 160;
default_background_color = 222, 222, 222;
default_text_color = 25, 25, 25;
begin;
# ponizej zdefiniowane obiekty będą
# modyfikowane z poziomu PCL
# --- obiekty text ---
text {caption = "GO";
font = "T... |
c5600719ea995416ef6608ec0b7d83380b2f52f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.19/Ex5_19.sce | fb3fd9d2959aba42fee500395b01768e4d769ed8 | [] | 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 | 335 | sce | Ex5_19.sce | //Ex:5.19
clc;
clear;
close;
h=200;// height in km
B=20;// angle of elevation in degree
B1=B*3.14/180;// angle of elevation in radians
R=6370;// radius of earth in km
D=2*h/tan(B1);// in km
D1=2*R*((3.14/2)-(B1)-asin((R*cos(B1))/(R+h)));// transmission-path distance in km
printf("The transmission-path distanc... |
d8c5a25f32f8160c3c1fb26c152ba51a8ea891a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH9/EX9.6.a/9_6a.sce | 113e6cc4868aec3ffc47141df9363bcd5583d4d9 | [] | 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 | 211 | sce | 9_6a.sce | clc
clear
//Initialization of variables
C=3
phi=3
R=1
Sc=0
function V=fun(C,phi,R,Sc)
V=2+C-phi-R-Sc
endfunction
//calculations
V=fun(C,phi,R,Sc)
//results
printf("Degrees of freedom = %d ",V)
|
cf483f8d38c1703468e8bef5b5bc479a49d94cf7 | 05df9394f5d45c0bddbd52e4aad8c8210e9e2743 | /Scilab/Runge_Kutta.sce | 158f0ba8623c16f3d3c4d76aa65feb20a1ec3240 | [] | no_license | pikabing/Scilab | a9fd34b70be3bd552f47fafc409bf7c88573ac7a | 87f2cc1914bfdb6c24a54960e9c49191bbd1f1ad | refs/heads/master | 2020-03-10T09:34:56.522084 | 2018-04-12T21:51:52 | 2018-04-12T21:51:52 | 129,311,712 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | Runge_Kutta.sce | /*method to solve by runge-kutta method*/
// Solve differential eqn
function[y1] = runge_kutta(x0,y0,xn,h)
deff('[z] = f(x,y)','z= x+y')
while (x0 < xn)
k1 = h*f(x0,y0)
k2 = h*f(x0 + h/2,y0+ k1/2)
k3 = h*f(x0 + h/2,y0 + k2/2)
k4 = h*f(x0 + h, y0 + k3)
k = (k1 + k... |
22d034f6d67ad633cdc35f305ef53691395a30e5 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.16/EX5_16.sce | 253f61eed60dbbea472ed5436dc4379697204418 | [] | 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 | 1,251 | sce | EX5_16.sce | clc;funcprot(0);//Example 5.16
//Initilisation of Variables
Tmi=10;..........//Temperature of air degrees celcius
Tw=20;.............//Temperature of the depth wall in degrees celcius
H=0.3;...........//Height of the duct in m
w=0.5;.........//Width of the duct in m
L=10;............//Length of the duct in m
U=1... |
e6ac833ea1406ef78600aad2b3947d9b96deba05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH19/EX19.1/Ex19_1.sce | a49321a70738550f3c684489066d324747449987 | [] | 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 | 369 | sce | Ex19_1.sce | //example-19.1
//page no-561
//given
pE=0.05
//let E-Ef=EE
EE=0.4 //eV
k=8.614*10^-5
//we know that
//p(E)=1/exp((E-EF)/k/T)
//putting above values in above equation we get
T=EE/k/log(1/pE-1) //K
printf ("the temperature at which there is a probability of 5 percent for an electron to occupy energy state wh... |
737b081e5124f1ac4a9346f81b5d8e3c9c06d236 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/uralic/mdf.tst | 02fffec0978a8d40aafcc00e8caf987d68a883f6 | [] | 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 | 438,851 | tst | mdf.tst | абрикос N;NOM;DEF;PL;LGSPEC1
абрикос N;NOM;PL;PSS1S;LGSPEC1
абрикос N;GEN;PL;PSS1S;LGSPEC1
абрикос N;GEN;DEF;PL;LGSPEC1
боевой ADJ;SG;1;LGSPEC1
боевой ADJ;LGSPEC1
аттестат N;GEN;SG;LGSPEC1
аттестат N;NOM;SG;LGSPEC1
аттестат N;GEN;SG;PSS1P;LGSPEC1
студентонь ADJ;LGSPEC1
студентонь ADJ;DAT;SG;LGSPEC1
студентонь ADJ;LGSPE... |
dc2deb5590952e40065c7431bbe099d5c2a60014 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/custom_2.sce | 75e48e568a93bcf1de205cdf6c7a0ebdc5f7ae01 | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,434 | sce | custom_2.sce | sce1.0
# camera
eyepos 750 75 150
eyedir -0.2 1.0 0.3
eyeup 0.0 0.0 1.0
wdist 20.0
fovy_deg 70
nx 1280
ny 640
#options
max_recursion 8
aasample 2
# scene
ca 0.1 0.1 0.1
background 0 0 0
{
# cylinder cube frame around bottom plane
cr 0.8 0.0 0.8
cp 0.1 0.0 0.1
sh... |
b7617d90b525a3ac8f41ecfe73fa09e230877291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH17/EX17.11/Ex17_11.sce | 118bab3cda0cad2d3941427c05b2ed2fb3701bb7 | [] | 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 | 444 | sce | Ex17_11.sce | clear;
clc;
//Example 17.11
b=25;
iB=1;
iC=2;
ic=(iB+iC)/(1+1/b);
printf('\ninternal collector current=%.3f mA\n',ic)
ib=ic/b;
printf('\ninternal base current =%.3fmA\n',ib)
iD=iB-ib;
printf('\nSchottky diode current=%.3f mA\n',iD)
iC=20;
ic=(iB+iC)/(1+1/b);
printf('\ninternal collector current=%.3f mA\n'... |
e68a34f70cb6d71226c0f082bee7f84aa0148498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH2/EX2.7/exa_2_7.sce | 0dbcdd4d83edb27cbb812afa195923ed9395bca8 | [] | 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 | 119 | sce | exa_2_7.sce | // Exa 2.7
clc;
clear;
close;
// Given data
Ad= 10^5;
CMRR= 10^5;
Acm= Ad/CMRR;
disp(Acm,"Common mode gain");
|
c9c70a345fd20c07f9515977479f2a3c92cb9e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.4/example11_4.sce | b58d2650a3a5da9fffb4601c759869bae0495483 | [] | 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 | 185 | sce | example11_4.sce | //Chapter 11
//Example 11_4
//Page 275
clear;clc;
er=4;
l=1000;
d_out=1.8;
d_in=1;
c=er*l*1e-9/41.4/log10(d_out/d_in)/10;
printf("Capacitance of the cable = %.3f uF \n\n", c*10e6);
|
e760ded3330034217c5a86a44d97da65bc839399 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/elem/modulo.sci | 24632d8711b89e92cd063a5c460747017e494099 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 84 | sci | modulo.sci | function [i]=modulo(n,m)
//i=modulo(n,m) returns n modulo m.
//!
i=n-int(n/m)*m
|
c713588e1c1f4bb6fd0b9940f64a54e42d551f13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH7/EX7.6/Ex7_6.sce | df799b4957811e67b90ee33499004adbda7cd808 | [] | 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 | 646 | sce | Ex7_6.sce | clc
// initialization of variables
clear
P=35 //kN
Phi=5*%pi/9
E=72e9 //Pa
L=3 //m
Ix=39.69*10^6 //mm^4
Iy=30.73*10^6 //mm^4
Ixy=0
//calculations
P=P*1e3
Ix=Ix*10^-12
Iy=Iy*10^-12
alpha=atan(-Ix/(Iy*tan(Phi)))
M=P*L/4
Mx=M*sin(Phi)
yA=-118*10^-3 //m
xA=70*10^-3 //m
xB=-xA
yB=82*10^-3 //m
S_comp=Mx*... |
ce612b3371a3bad2695f313fef75f6db5ce262a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH6/EX6.3/Ex6_3.sce | b873a470dc05f81204d7c9f226847e9b7114ca9d | [] | 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 | 669 | sce | Ex6_3.sce | //Flux density, field intensity and permeability
//Example 6.3(pg 213)
clc
clear
l=0.4//mean circumference in m
N=200//tunrs
Uo=4*%pi*(10^-7)//permeability of free space in H/m
a=5*(10^-4)// cross section area in m^2
I=6.4//current in Amp
f=0.8*(10^-3)//flux in Wb
fd=f/a//flux density in Wb/m^2
fi=I*N/l//Fie... |
26ddcec2f96a06ea5448c9ed5fee1ea3c17517df | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH12/EX12.3/P12_3.sce | fc846661908b9f7a78a499f3be8967204df6652f | [] | 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 | 240 | sce | P12_3.sce | //Example 12.3
//Signal-to-quantization Noise ratio
clear;
clc;
b=[7 9 11 13 15];//Given values of b
K=[4 6 8];//Given values of K
for i=1:5
for j=1:3
SNR(j,i)=6.02*b(i)+16.81-20*log10(K(j));
end
end
disp(SNR,'SNR,A/D = '); |
21662da04e693acdde37213ed80475444df9d665 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/examples/link-examples/ext11c.sce | a3e9b5e08142b4598eb41b8c7f30597819176429 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 263 | sce | ext11c.sce | //Copyright INRIA
//Passing a parameter to argument funtion of ode
files=G_make(['/tmp/ext11c.o'],'ext11c.dll');
link(files,'ext11c','C');
param=[0.04,10000,3d+7];
y=ode([1;0;0],0,[0.4,4],'ext11c')
//param must be defined as a scilab variable upon calling ode
|
f1653fa1199b4beeaa715ca7b8054d1ecc6dfe0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.22/3_22.sce | 56fa15ab4cda5e90cff404e1402a58c10d38637b | [] | 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 | 232 | sce | 3_22.sce | clear;
clc;
Pr=90e6
pf=.9;
S=Pr/(3*pf);
P=Pr/3
Q=sqrt(S^2 - P^2);
V1=220e3/sqrt(3);
V2=220e3/sqrt(3);
R=15
X=50;
tr=sqrt(1-(((R*P)+(X*Q))/(V1^2)));
mprintf("tap setting tr= %.4f, ts=%.3f",fix(1e4/tr)/1e4,tr)
|
d1d253d2cdad0f98f077f401d4e8cca8fb655683 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3564/CH1/EX1.6/Ex1_6.sce | 984185d3e4f442a1c30a00e9154626645f886a9f | [] | 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 | 942 | sce | Ex1_6.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Introduction to Fluid Mechanics, 3rd Ed. William S. Janna Chapter - 1 Example # 1.6 ")
//Solving part a
disp("Part a)")
//Mass of air in kg
m = 4;
//Using Appendix table A.6 for properties of air
//Specific h... |
ce882fde1c0a68a21ed0e095dd3440109d131f59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH1/EX1.9/Ex1_9.sce | 1d0512a7c7c8cf00ff6f33ed7dc6d8aa167c1a1e | [] | 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 | sce | Ex1_9.sce | //Ex 1.9
clc;
clear;
close;
format('v',5);
Beta=20;//unitless
IObyIREF=1/(1+2/Beta);//Current gain
disp(IObyIREF,"Current gain : ");
|
a681b583394c5f2be0743ebd75e93511f79c8be3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH12/EX12.5/ex5.sce | 83aabc92aee3ce72693ada82064234390e39c16e | [] | 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 | WINDOWS-1252 | Scilab | false | false | 556 | sce | ex5.sce | //example 5
//Evaluating the hfg of a Substance from the P-v-T Data
clear
clc
vg=0.035969 //in m^3/kg
vf=0.0008161 //in m^3/kg
vfg=vg-vf //in m^3/kg at 20°C
dT=24-16 //change in Temp. in C
Psat1=646.18 //saturation presssure at 24 C in kPa
Psat2=504.58 //saturation pressure at 16C in kPa
dP=Psat1-Psat2 //Di... |
15a0794e5d3b31e1fb7bf424442cd5430ab75aed | ddc2bfc3e1d587ceef787a861dc69a929132cb2e | /cp/SCRNX.TST | 969bbe6bea1eefcc6305af687ef5e6717f61b887 | [] | no_license | bigwood177/smcSource | d01f46418e571486fc76b03894e2ff084e95d36d | 35c7250973a93a6e30498dd87cb805762bc91528 | refs/heads/master | 2023-03-15T10:08:52.898056 | 2021-03-10T12:50:43 | 2021-03-10T12:50:43 | 283,564,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134,984 | tst | SCRNX.TST | ;scrnx.tst - in test for lighting up default key mod
;SCRNX.DBL ;isam
; 3-9-04 - RE_PRICE_ROUTINE in test
; 1/15/03 installed - note that material multiplier not activated!!
SUBROUTINE SCRNX
;
; 16-MAY-1997 SSQ: ADD QTY BREAK PRICING.
; 01-JUN-1998 SSQ: CHANGE "INCH" CHAR FROM "," TO "+"
; 11-Nov-1998 SSQ: ... |
6bb1cddea4005767f87df041c37a037ceefdafa9 | 44a15e4bb1e6caceda9ee02880890d520e993306 | /Foundation Code/Audiovisual_Control_File_et.sce | 9efe30f059f8c088640ced1c75f60ac04925223d | [] | no_license | CNL-R/TripleSequences | 3ac8be0b491b3a77e3a5fd859c9580d6be650a78 | 46d75c6d074b4e011961916a908c1d21d8944784 | refs/heads/master | 2021-01-01T19:14:21.755538 | 2017-08-16T21:18:27 | 2017-08-16T21:18:27 | 98,548,330 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,589 | sce | Audiovisual_Control_File_et.sce | #Declaring parameters
active_buttons = 1; # Number of Buttons Used
button_codes = 1; # Button Code (Tag Number)
#refering the PCL file associated with this scenario file
pcl_file = "Audiovisual_Control_File_et.pcl";
#Duration of Port Code (Tag Number) in milliseconds
pulse_width = 5; ... |
e4352f0f036dc670004e48a129f405a499825b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH5/EX5.13/Figure5_13.sce | 61a4c618009a38235afd6b4a04912c3475534f10 | [] | 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 | 712 | sce | Figure5_13.sce | //clear//
//Caption:u-Law companding
//Figure5.13(a)Mulaw companding Nonlinear Quantization
//Plotting mulaw characteristics for different
//Values of mu
clc;
[Cx,Xmax] = mulaw(x,mu)
Xmax = max(abs(x));
if(log(1+mu)~=0)
Cx = (log(1+mu*abs(x/Xmax))./log(1+mu));
else
Cx = x/Xmax;
end
Cx = Cx/Xmax; //n... |
ea045958822de611661a693e4ca3f084329bf879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH5/EX5.16/Ex5_16.sce | 009345b0c431a82d7d3a8ee592465b0371a0e1af | [] | 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 | 682 | sce | Ex5_16.sce | clear all; clc;
disp("Scilab Code Ex 5.16 : ")
//Given:
T = 85; //Nm
G = 26; //GPa
t = 10; //mm thickness
a = 60; //mm side
l = 1.5; //m
//Average Shear Stress:
area_m = (a-t)*(a-t);
avg_shear = (T*10^3)/(2*t*area_m); //tou_avg = T/(2tarea_m);
//Angle of Twist:
ds_t = (4*(a-t))/t;
phi = (T*10^3*l... |
8af4e58ddce04b4ee517aa4f5049bdc95dcaf9f5 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /plot3d1.sce | f02a5d4cca804884cd57b1d0ba5ef1bf6a2762b9 | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | plot3d1.sce | //Program to plot 3D graph using plot3d1
a = linspace(-8,8,41)';
b = linspace(-8,8,41)'
[xx, yy] = meshgrid(a,b);
c = sqrt(xx.^2 + yy.^2)+%eps;
plot3d1(a,b,c)
|
638b342fe6f50ff7643ebefdb67aa80424c428f6 | b12941be3faf1fd1024c2c0437aa3a4ddcbbfd67 | /normal2/fase_1.tst | 64e6b1c735fb5b0235c4a1fbe95350452f02dc8e | [] | no_license | JanWielemaker/optica | 950bd860825ab753236ce1daa399ee7a0b31b3ee | 3a378df314b5a60926b325089edac89c00cc8c6d | refs/heads/master | 2020-06-12T14:22:46.567191 | 2019-06-21T11:24:41 | 2019-06-21T11:24:41 | 194,328,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,719 | tst | fase_1.tst | /* Questionaire created by optica toolkit
Date: Mon Mar 16 19:11:44 1998
*/
question(1, '1.11',
'Wanneer komt het snijpunt van de uittredende lichtstraal met de hoofdas verder van de lens te liggen?',
[ 'Als je de hoek die de invallende straal met de hoofdas maakt vergroot.',
'Als je de lamp een st... |
5195b8bf44fbb8ad9d6a8f07e24a83a82b7f27c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH16/EX16.3/PS_3.sce | 499d03d302a4ea8b9156ba0ca33e993ef80fe71f | [] | 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 | 984 | sce | PS_3.sce | // sum 16-3
clc;
clear;
d=30;
W=5*10^3;
p=5;
rm=45/2;
u1=0.15/cosd(14.5);
u2=0.15;
dm=d-(p/2);
alpha=atan(p/(%pi*dm));
phi=atan(u1);
Tr1=W*((dm*tan(alpha+phi)/2)+(u2*rm));
Tr1=Tr1*10^-3;
n1=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm));
T1=W*((dm*tan(phi-alpha)/2)+(u2*rm));
T1=T1*10^-3;
n2=dm/2*tan(alp... |
db63c666daaf8582ddc555619d655f74bbcce85a | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH2/EX2.2/example2_2.sce | 35c7ffdc93abc2961142dc6d7bc17fb2968f4be3 | [] | 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 | 131 | sce | example2_2.sce | q1=-1.6*10^(-19);
q2=29*1.6*10^(-19);
r=10^(-10);
k=9*10^9;
f=k*q1*q2/r^2;
disp("the force of attraction (in N) is"); disp(f); |
dac00175ff3e9e5944fd123b2ff4090d9012a149 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH16/EX16.23/16_23.sce | ae3f5370f5e61ea80cfb59e4dfb02026d3b37f38 | [] | 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 | 381 | sce | 16_23.sce | //CLC
x1= 6 //m
x2= 4.5 //m
y1= 3 //m
y2= 3 //m
Fba= 40 //KN
Fbc= 20 //KNm
//CALCULATIONS
MFba= -Fba*(y1+y2)/8
MFbc= Fbc*x1^2/12
x= sqrt(x1^2+x2^2)
DFba= (4/(y1+y2))/((4/(y1+y2))+(4/(x1)))
DFbc= 1-DFba
DFcb= (4/x1)/((4/x1)+(3/x))
DFcd= 1-DFcb
//RESULTS
printf("DFba = %.2f",DFba)
printf("DFbc = %.2f",DF... |
5c29c71d2c802806612ddeb9ce82d0ab580fe1af | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH6/EX6.4/example6_4.sce | a8badcbe0886c24fa0458cc33d85cf4061444441 | [] | 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 | 972 | sce | example6_4.sce | // Find id,Vds,slope of operation of JFET
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 6-4 in page 275
clear; clc; close;
// Given data
Ids=12*10^-3; // Drain current in mA
Vp=-4; // Peak voltage in V
Rd=1*10^3; // Drain resistance in k-ohm... |
8f6370c26d1f1b24085080cb31b7fd0707618628 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH9/EX9.5/Ex9_5.sce | 44dccd75b376259c245aecb13d67880f49542b92 | [] | 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 | 614 | sce | Ex9_5.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 9
//example 9.5
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Ra=1;//armature resistance in ohm
KQ=3;//field constant
V=320;//Terminal voltage in volts
n=1000;//motor speed in rpm
omega=(2*%pi*n)/60;
Ea1=K... |
09e65ef6880f87936112efcf9614be79d683568c | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.6/Example3_6.sce | c4e1372afa781240714cb7587446b63b74728a8a | [] | 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 | 758 | sce | Example3_6.sce | //Example 3.6
//Program to estimate Material dispersion parameter and rms pulse
//broadening per kilometer
clear;
clc ;
close ;
//Given data
lambda=0.85*10^(-6); //metre - WAVELENGTH
L=1; //km - DISTANCE
MD=0.025;//MATERIAL DISPERSION = mod(lamda^2*[del^2(n1)/del(lamda)^2)
c=2.998*10... |
3eaf1537d7de7ada238fd85a12c19e3b3444deef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH4/EX4.11/Ex4_11.sce | 639d3aa224b1820adc4391920cf8bf3fad5e9937 | [] | 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 | 865 | sce | Ex4_11.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 4.11\n\n\n");
// Chapter 4 : The Second Law Of Thermodynamics
// Problem 4.11 (page no. 159)
// Solution
//Let is assume that a Carnot engine cycle operates between two temperatures in each case.
t=1000; //(unit:fahrenheit)
//converting temperatures ... |
5a4d100211a985705729a04de2c892942d518071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH5/EX5.11/Chap5_Ex11_R1.sce | 6fcdebaf40b7c7241df1cf9de396faba650116ca | [] | 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,726 | sce | Chap5_Ex11_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-5,Example 11,Page 175
//Title: Entropy change of the gas
//================================================================================================================
clear
clc
//INPUT
V=2;//volume of i... |
a749043c0722abbbd608e6dcf5afaefd57d86d44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.1/Ex3_1.sce | 6c1f6164a2d51fff421ed5e222229d3af0c6c101 | [] | 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 | 994 | sce | Ex3_1.sce |
// Examle 3.1
A=0.113; // Area of parallel plate
eo=8.854*10^-12; // Permittivity of free space
er=10; // Relative Permittivity
d=0.1*10^-3; // Distance between 2 Plate
C=(eo*er*A)/d; // The value of capacitor U... |
cc42f6961530620ecca70d9487c1e8dbc6a0a206 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH9/EX9.10/ex9_10.sce | b106c8d34220e5ce20988725754072afeb3a8334 | [] | 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 | 406 | sce | ex9_10.sce | // Example 9.10
format('v',6)
clc;
clear;
close;
// given data
R_C= 3.6;// in kΩ
R_L= 1.5;// in kΩ
V_CEQ= 4.94;// in V
I_CQ= 1.1;// in mA
// The quiescent power dissipation of the transistor,
P_DQ= V_CEQ*I_CQ;// in mW
r_L= R_C*R_L/(R_C+R_L);// in kΩ
PP= 2*I_CQ*r_L;// in V
// The maximum ac load power,
P_... |
188380cc64bea70bd3e5a135b8d27aecdd4a40ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH8/EX8.16/8_16exam.sce | 697bc3782277eb243daefadd89c852375bfad023 | [] | 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 | 460 | sce | 8_16exam.sce | //Engineering and Chemical Thermodynamics
//Example 8.16
//Page no :403
clear ; clc;
//Given
A = 6349 ; //[J/mol]
B = -384 ; //[J/mol]
R = 8.314 ;
T = 20 + 273 ; //[K]
k = 0.000001 ;
disp(" Example: 8.16 Page no : 403") ;
function y816 = f816(x_a) , y816 = R * T * (1/x_a + 1/(1 - x_a)) - 2 * A +6 * B ... |
9a294956ddd0fd19eb2813265743d5c0d0a07081 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.5/12_5.sce | 960de0ecfac6d595fa1bf01de3d61b164f20b319 | [] | 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,832 | sce | 12_5.sce | //To find velocity and angle turned
clc
//Given:
T=40, t=20
N1=2000 //rpm
phi=20 //degrees
addendum=5, m=5 //mm
//Solution:
//Calculating the angular velocity of the smaller gear
omega1=2*%pi*N1/60 //rad/s
//Calculating the angular velocity of the larger gear
omega2=omega1*t/T //rad/s
//Calculating the pitc... |
fb317e48b945a57a18568a77bcbe6b058f99b286 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH6/EX6.1/Example6_1.sce | 44d26c48f55ace44bd5f6e6d3ee90f5044072f1a | [] | 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 | 586 | sce | Example6_1.sce | //Example 6.1
//Program to Plot the Characteristics and
//Determine Dynamic Plate Resistance
clear;
clc ;
close ;
//Given Circuit Data
V=[0 0.5 1 1.5 2]; //V
I=[0 1.6 4 6.7 9.8]; //mA
//Plotting
plot(V,I);
a= gca ();
xlabel ('Plate Voltage (in V)');
ylabel ('Plate Current (in mA)');
title ('STATIC CHARAC... |
9fd9b1a75fa8fcc3bd44867ea52458ae7a9d5a84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH6/EX6.3/6_3.sce | 80429d81d367b9e4b3ae5d5b0817f866051a62a3 | [] | 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 | 262 | sce | 6_3.sce | N2=79.2;//percentage of Nitrogen in air//
O2=20.8;//percentage of Oxygen in air//
b=76.93;//Weight percent of N2 in air//
printf('Weight percent of N2 in air=b=%f',b);
a=100-b;//weight percent of O2 in air//
printf('\nWeight percent of O2 in air=a=%f',a);
|
9657c8c695109b004870759b3ddfadafba500020 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH9/EX9.5/Ex9_5.sce | f2767ee81794d7f6fe166df52caf727088122d9a | [] | 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,583 | sce | Ex9_5.sce | //Calculate the values of change in Gibbs energy and Equilibrium constant in biocchemical processes, Equilibrium constant for standard state .Also calculate the Gibbs energy change using both physical chemical standard state and biochemical standard state
//Example 9.5
clc;
clear;
R=8.314; //Gas constant ... |
9c8c7e800e6c95373224f28dcfd117dba36ac67b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH2/EX2.3/2_3.sce | fa1f5f19f4286e659db27e4b9bee58efe7836d7a | [] | 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 | 367 | sce | 2_3.sce | clc;
//at 110 bar, vg=0.01598m^3/kg which is less than the actual specific volume of 0.0196m^3/kg
//hence it is superheated
v=0.0196;//m^3/kg
p=110;//bar
//from tables
h=2889;//kJ/kg
t=350;//C
disp("temperature is:");
disp("C",t);
u=h-(p*10^5)*(v/1000);
disp("enthalpy is:");
disp("kJ/kg",u);
disp("spec... |
aa405d1e23c48db521c322a55025627b384a34f3 | 2cf6f8d7936597ab1c688f089cedebf458285ee2 | /factorise.sce | 392e14276ce18f7ea31964eee1a62f3fcf3f6b04 | [] | no_license | WilliamDidier/Identification_conductivite | fbcff840fdcf41b96e5c57e44ec14c8da71ccba1 | e4eca12da93b85bb72da66209939a7a5288f5f04 | refs/heads/master | 2021-04-06T01:24:03.608385 | 2018-03-12T11:30:34 | 2018-03-12T11:30:34 | 124,878,899 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | factorise.sce | function [ldinf, ldiag]=factorise(diago, sdiag)
n = size(diago, "*")
ldinf = zeros(1,n-1)
ldiag = zeros (1,n)
ldiag (1) = sqrt(diago(1))
for i = 2:n
ldinf(i-1) = sdiag(i-1)/ldiag(i-1)
ldiag(i) = sqrt(diago(i)-ldinf(i-1)^2)
end
endfunction
|
cfff48616eca12f1113d1ea0e0140cb13d68e623 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/demos/bike/macros/velo2.sci | 86d15cb5a81b2b876dcf84e72dca3da23fb0de92 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 919 | sci | velo2.sci | function []=velo2()
// empty wheel : the shortest
// (geometric calculations made by param3d)
// Copyright INRIA
t= t*180/%pi;
p= p*180/%pi;
xe=[xmin,xmax,xmax,xmin,xmin]
ye=[ymin,ymin,ymax,ymax,ymin]
//plotting frame
param3d(xe,ye,zmin*ones(1,5),t,p," ",[1,0],rect);
//param3d(xprear(1,:),xprear(2,:),xprear(3,:), t,p,... |
1deee69ad7542071b59baeff9212471ec7061188 | 707d28b087c840493d2dedc9605e6efe3b12b238 | /pol.sce | ffccd2e6a014ea09e3bbca7e7305b39a42ecd7a8 | [] | no_license | jahufford/scilab_scripts | c6403d3b37e7d26a988747577512f7d4e6eba748 | 2da481b39317e92e03dc3fe1de7bbefe59bc2526 | refs/heads/master | 2020-03-22T14:41:32.600224 | 2018-07-08T19:48:56 | 2018-07-08T19:48:56 | 140,197,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,976 | sce | pol.sce | function y = pol(mag,ang)
y = complex(mag*cos(ang),mag*sin(ang));
endfunction
function ang = angle(arg)
ang = atan(imag(arg),real(arg));
endfunction
function fr=freqresp(h,sr)
//sr = sr*2;
if length(sr)==1 then
w = -%pi:1/sr:(%pi- (1/sr));
else
w = sr;
end
fr = ze... |
e794a194401c33f8a45e96ee2b673595901b6c4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH3/EX3.9/3_9exam.sce | 7587079a9d34b62118543a3e1a89d4d0aeea6469 | [] | 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 | 501 | sce | 3_9exam.sce | //Engineering and Chemical Thermodynamics
//Example 3.9
//Page no:129
clear ; clc ;
//Given
P = 1 ; //[bar]
p_O2 = 0.5 ; //[bar]
p_N2 = 0.5 ; // [bar]
n_O2 = 1 ; //[mol]
n_N2 = 1 ; //[mol]
R = 8.314 ; // J/mol K
del_S_1_O2 = -n_O2 * R * log(p_O2 / P) ;
del_S_1_N2 = -n_N2 * R * log(p_N2 / P) ;
del_S_2 =... |
a21c79bd3e5b7526544b9525b0db248086fe4170 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH3/EX3.6/Ex_3_6.sce | afb7417c5f72f2167256f44a16b78d2ea898e0a7 | [] | 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 | 300 | sce | Ex_3_6.sce | //Example 3_6
clc;
clear;close;
//Given data:
R=2;//in ohm
XL=10;//ohm
f=4;//kHz
Toff=12;//micro sec
//Solution :
Toff_time=Toff*1.5;//micro sec
theta=2*%pi*f*10^3*Toff_time*10^-6;//radians
Xc=tan(theta)*R+XL;//ohm
C=1/(2*%pi*f*1000*Xc);//F
disp(C,"Value of Capacitance in F : ");
|
f92b8f026aabc2a5df21e7c270dc25c7471cbb60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH10/EX10.2/Ex10_2.sce | e380593b43ad977a26a32651c02bfae24f46b020 | [] | 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 | 729 | sce | Ex10_2.sce | //===========================================================================================
// chapter 10 example 2
clc
clear
// Variable declaration
h = 6.63*10^-34; // plancks constant in J.s
c = 3*10^8; // velocity of light in m
E = 5.6; // bandgap in eV
... |
f5e6f2200fa3e48b8fa152713e8a8d6d1e5b8b15 | b7339a0cd7d82e85754b81dc8ba7659c293a76e6 | /TP0/test1.sce | 19fd6d5bcc9b2c6343c096af1ad046b7fe328f45 | [] | no_license | EzequielPostan/Machine-Learning | f9a7079b93229579fcd1064acace846cf55bd064 | a43c0d982a17df5ff9460585318d9fcdc686bd9d | refs/heads/master | 2020-06-04T22:48:01.153166 | 2015-04-06T15:32:19 | 2015-04-06T15:32:19 | 33,487,121 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | test1.sce | // test1.sce
// Código Scilab para corrobarar los resultados de los ejercicios a) y b)
// con un test de dimensión 2 y 200 casos de prueba (n=200 d=2)
//
// Si se desea tenes más casos de prueba, modificar el valor de n_div_2
// (el mismo debe ser igual a la cantidad de datos de cada clase, n/2)
//
clear()
n_div... |
ee84b5ec3a0e03ddc7d18798817e8a8851df3064 | c565d26060d56f516d954d4b378b8699c31a71ef | /Vikas_self/codes/SelfTuning_Vikas/PIDControllersetpointchange/pidselftuned40to45.sce | 1f45d365264bdae877bbcb035974ef54fd4eb02e | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 18,720 | sce | pidselftuned40to45.sce | 0.100E+00 0.196E+02 0.000E+00 0.290E+02
0.110E+01 0.196E+02 0.000E+00 0.940E+01
0.210E+01 0.196E+02 0.000E+00 0.290E+02
0.310E+01 0.196E+02 0.000E+00 0.940E+01
0.410E+01 0.196E+02 0.390E+02 0.940E+01
0.510E+01 0.196E+02 0.390E+02 0.940E+01
0.610E+01 0.197E+02 0.390E+02 0.940E+01
0.71... |
6533d0c763d5dcf26c5ee870d6f4c2d05ee8ef6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH12/EX12.4/Ex12_4.sce | 75e0a1ee30a302f893de290306f585bf2f4421e1 | [] | 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 | 462 | sce | Ex12_4.sce | //Example 12_4
clc;clear;funcprot(0);
// Given values
T_0=473;// T_0=T_1 in K
P_0=1400;// P_0=P_1 in kPa
// Properties
k=1.289;//The specific heat ratio of carbon dioxide
//Calculation
//T_1=T_c/T_0
T_1=2/(k+1);
T_c=T_1*T_0;//The critical temperature in K
printf('The critical temperature T*=%0.0f K\n',T_c... |
8b256e8d3466be7b398a7e65a8c81e2cf1e8d0fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.18/Chapter6_Example18.sce | 747948d47999201c1c419d3a199f96dad45572cf | [] | 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 | 715 | sce | Chapter6_Example18.sce | clc
clear
//input data
p=1;//The pressure in atm
V1=1.000;//The specific volume of one gram of water in cm^3
V2=1677;//The specific volume of one gram of steam in cm^3
l=540;//Latent heat of vaporisation of steam in cal/gram
//Calculations
P=76*13.6*980;//The pressure in dynes/cm^2
T=100+273;//The temp... |
6bfa6c9ae91383b48dfc15fa8a25661384f6796d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/frep2tf.man.tst | 5caa8800a954ca302fa6f8755c07117ed07d7838 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 823 | tst | frep2tf.man.tst | clear;lines(0);
s=poly(0,'s');
h=syslin('c',(s-1)/(s^3+5*s+20))
frq=0:0.05:3;repf=repfreq(h,frq);
clean(frep2tf(frq,repf,3))
Sys=ssrand(1,1,10);
frq=logspace(-3,2,200);
[frq,rep]=repfreq(Sys,frq); //Frequency response of Sys
[Sys2,err]=frep2tf(frq,rep,10);Sys2=clean(Sys2)//Sys2 obtained from freq. resp of Sys
[frq,r... |
7a611f698066b4e9ed5ff32fb494fce5da0d8671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH17/EX17.2/17_2.sce | b50a48500bf66257c63f3b8a91fe872a0c014f39 | [] | 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 | 262 | sce | 17_2.sce | clear//
//Variables
SCR=75.0;I2t=75.0;
IS = 100.0 //Current (in Ampere)
//Calculation
tmax = I2t / IS**2 //Maximum allowable time (in seconds)
//Result
printf("\n Maximum allowable time is %0.3f ms.",tmax * 10**3)
|
d3a0b3857be9b9a6f79426353e690d205564ccb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH3/EX3.8/Ex3_8.sce | 548d5a637f986fb7ff03e1fa4ac0d9c78e085c33 | [] | 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 | 674 | sce | Ex3_8.sce | clc
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
L =10^-4
disp("L= "+string(L)+"cm")//initializing value of length
Dn =220
disp("Dn= "+string(Dn)+"cm^2/s")//initializing value of electron diffusion coefficient
//n(x) = 10^16*exp(-(x/L)) cm^-3
//Derivative of n(x) for x =0 i... |
6feaab9bc16738dc2f750b9dad6d0261be4d5f65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH14/EX14.2/Ex14_2.sce | abae991ad146d4ea385e3847c47edab9864a60e9 | [] | 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,238 | sce | Ex14_2.sce | //===================================================================================
//Chapter 14 example 2
clc;
clear all;
//variable declaration
D = 16; //output voltage in V
//calculations
Dn1 = D/(2^1); //first MSB output in V
Dn2 = D/(2^2); //second MSB... |
e026858d2914a20d328bd85a2ed76552bf7e3613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH1/EX1.9/ex_9.sce | 9db6665a002b3422fb8ddaaf291029f3e1a2e385 | [] | 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 | 401 | sce | ex_9.sce | // PG (24)
xT = %pi
xA = 3.1416
yT = 22/7
yA = 3.1429
xT - xA // Error
(xT - xA)/xT // Relative Error
yT - yA // Error
(yT - yA)/yT // Relative Error
(xT - yT) - (xA - yA)
((xT - yT) - (xA - yA))/(xT - yT)
// Although the error in xA - yA is quite small... |
3f923d2fe1f73f28e298e13e2e2d5fcb03997b7b | 0320d75d635104b38bca383bde2d5a012d0ccd4f | /Comp Org/assign4/a4/test1.tst | 689801a170ec5a7792cd74b62021092278733ac4 | [] | no_license | sbkohel/Class_files | 97d4392d977d1de715eadba674ccb042195fd383 | 4a4cced4c23fab038b45ac54649e9831c45ea9b7 | refs/heads/master | 2018-12-29T21:11:59.492247 | 2014-12-17T02:02:20 | 2014-12-17T02:02:20 | 15,176,186 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | tst | test1.tst | load Larc.hdl,
set RAM4K[0] %X8101, // 1. li R1 1 R1 <-- 1
set RAM4K[1] %X8202, // 2. li R2 2 R2 <-- 2
set RAM4K[2] %X9FFF, // 3. lui R15 -1 R15 <-- -256
set RAM4K[3] %X0312, // 4. add R3 R1 R2 R3 <-- 3
set RAM4K[4] %X141F, // 5. sub R4 R1 R15 R4... |
a8912bd4c534e6073dac24a8b8e0e1db165f31dd | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /chcca.sce | 70aa8a339d3800fb03eeedcff2713cd6610ac458 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | chcca.sce | function X = chcca(A,P,C)
if(A==%F)
disp('This is rediculous')
elseif(P==%F)
disp('This can be considered')
elseif(C==%F)
disp('This has to be stopped immediately')
end
M = [];
u = rand(200,2,'normal');
for i = 31:200
A = [u(i:-1:i-30,1);u(i:-1:i-30... |
e774b91ea669877da744d4c97310fcd72260f58a | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/probes/probe4.tst | 5e51b91a4c86ebeb4e9fc46ef4b08f416beefb6d | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | tst | probe4.tst | # @Harness: probes
# @Result:
# @Program: simple.asm
# @Purpose: this tests the operation of the low-level probing infrastructure
probe A { remove B 0x000; | insert B 0x000; }
probe B { | }
main {
insert A 0x000;
insert B 0x000;
}
result {
0 A.before;
0 B.before;
1 A.after;
1 B.after;
}
|
3867febc09795f4348017a1ac0b99a898b0a849e | dd081178a01e5263b083753afad51a784e175786 | /src/Presentation Files/scripts/ASSR_test1.sce | 766100d3469a5efdb62a2f83b1c91adab4bed8ad | [
"MIT"
] | permissive | CognitiveNeuroLab/ASSR | 1cd096e49dee171d3a17ea69f0f5096f66b1e39c | 52f4b8903dfad22f83b0235cba9e13d280d52c88 | refs/heads/main | 2023-07-11T00:26:53.158049 | 2021-08-09T18:03:22 | 2021-08-09T18:03:22 | 394,374,527 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,484 | sce | ASSR_test1.sce | scenario = "ASSR_test1";
no_logfile = false;
scenario_type = trials;
active_buttons = 1;
button_codes = 255;
default_background_color = 0, 0, 0;
default_text_color = 255, 0, 255;
default_font_size = 18;
write_codes = true;
pulse_width = 10;
pcl_file = "ASSR_test1.pcl";
begin;
# port codes:
# 2 = BA is standa... |
782b0ab4515adb126f47867a0b87a0489b8991d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.13.a/data10_13.sci | 9923ba5f193c2ff12ab8cc35673812bff0a874a8 | [] | 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 | 267 | sci | data10_13.sci |
//(Springs) Example 10.13
//Initial preload on the spring Pmin (N)
Pmin = 50
//Maximum operating force on the spring Pmax (N)
Pmax = 150
//Wire diameter d (mm)
d = 3
//Mean coil diameter D (mm)
D = 18
//Ultimate tensile strength of the spring Sut (N/mm2)
Sut = 1430
|
082f85a1eedb5644241c65357d4108db5d4b8054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH7/EX7.2/chapter7_ex2.sce | b2ad67e700171d5e7569f43eaed97ae1b3d2afae | [] | 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 | 810 | sce | chapter7_ex2.sce | clc
clear
//input
//given e.m.f. equation is e=340sin(314t)V and current equation is i=12sin(314t-0.7)A
t=0.0015;//time in seconds after which the e.m.f. is zero and increasing positively
vm=340;//maximum voltage in volts from voltage equation
im=12;//maximum current in amperes from current equation
phi=0.7//p... |
cb54be0895558aa89b4684ec31b918f9bc617ce1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH13/EX13.1/Ex13_1.sce | bb4095fccbfa99f596eed30a59b885b286dca011 | [] | 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 | 664 | sce | Ex13_1.sce | //Example 13_1
clc();
clear;
//To find the maximum velocity and acceleration and the same when x=10cm
xo=0.4 //Units in Meters
k=24.5 //Units in N/M
m=2 //Units in Kg
vmax=xo*(sqrt(k/m)) //Units in meters/sec
printf("Maximum velocity is Vmax=%.1f Meter/sec\n",vmax)
amax=(k*xo)/m ... |
d04c5694d0151c2d93065f0c35e1be959f16e815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH6/EX6.6/Ex6_6.sce | ad60c12c60bd5070f6c31859e912050fb037d9d8 | [] | 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,459 | sce | Ex6_6.sce | // Example 6.6
clear all;
clc;
// Given data
rho_F = 0.0145; // Density of Uranium-235 in the mixture in g/cm^3
rho_M = 1; // Density of Water in the mixture in g/cm^3
M_M = 18; // Molecular weight of water
M_F = 235; // Molecular weight of Uranium-235
... |
e62af9b368a40a130ed35def1f43dda164bf7dc9 | 4e607be37f710c46bb946354885cc96ae6341553 | /apps/domaci1/testfajl1.tst | 3c72d7197fdaa25cfb6dc081e27812f1152cafdf | [] | no_license | pavleprica/linux-0.01RAF | aefb601ff2e5369a8aea780e8d01a26c57e3d279 | e26438042c3cb6a395d9543a1ea1de36f344231a | refs/heads/master | 2020-04-27T12:10:34.316063 | 2019-06-06T19:51:58 | 2019-06-06T19:51:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16 | tst | testfajl1.tst | 202
3
4
302
400
|
ca4005b121551d8e20479dae592c2a436ddf1cfc | 584105ff5b87869494a42f632079668e4c3f82de | /wrapppers/help_files/KalmanFilter.sci | 02750995cad251beba007b1cebe59e47e2cffd4b | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 822 | sci | KalmanFilter.sci | function [output] = KalmanFilter(varargin)
[lhs,rhs] = argn(0)
if rhs>10
error(msprintf(" Too many input arguments"));
end
select rhs
case 0 then
a = opencv_KalmanFilter();
case 2 then
a = opencv_KalmanFilter(varargin(0),varargin(1));
case 4 then
a = opencv_KalmanFilter(varargin(0),varargin(1),varargin(2... |
93fb3b7531b60f468538f98b10581357dd2352a6 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /_Original_Files/PresentationFiles_Templates/ATWM1_Localizer_MRI_MySubjectID/ATWM1_Localizer_MRI.sce | 7197db433ba50c344a8df24409d5b537b892bd66 | [] | 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 | 2,744 | sce | ATWM1_Localizer_MRI.sce | # ATWM1_MRI_Localizer
scenario = "ATWM1_Localizer_MRI";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons ... |
fb7efc5020e76862e74908bd0d06e4be5aeced86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH6/EX6.3.d/Example_6_3d.sce | 1d5db01ac2f98e7a7dea30ca02a275fd5caecf5b | [] | 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 | 344 | sce | Example_6_3d.sce | clear;
clc;
printf("\tExample 6.3\n");
//From draph in the question
//stress and strain can be obtained
printf("\n\tPart D");
//From stress-strain curve
//Strain corresponding to stress of 345 MPa is 0.06
l0=250; //Initial lengt in mm
e=0.06; //strain
dl=e*l0;
printf("\nChange in length i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.