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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e270f3f93243dc5aac9ab24574d7ae8c889ca223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH4/EX4.6/Ex4_6.sce | 986565b3c9022e68f57598edc57213ce901fbf1b | [] | 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 | Ex4_6.sce | clc;
clear;
l=1.8 //distance between plates in cm
E=3/2 //in V
t=0.6*10^-3 //time taken by the pulse in s
del_t=236*10^-6 //pulse width in s
//Calculation
vd=l/t //in cm/s
myu_p=vd/E
Dp=(del_t*l)^2/(16*t^3)
mprintf("1)\nHole mobility= %i cm^2/Vs\n",myu_p)
mprintf("2)\nDiffusion coefficient= %2.2f cm^2/s... |
7d0eab730d71b2f095228855c8233993672af97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH10/EX10.3/exm10_3.sce | b64b0a3911c7fd8968586e0237133fd98021d8b4 | [] | 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,178 | sce | exm10_3.sce | // Example 10.3
// Write a program to calculate the subject-wise and student-wise totals
//and store them as a part of the structue.
//Defining array of structures
student=[struct('sub1',45,'sub2',67,'sub3',81,'total',0)
struct('sub1',75,'sub2',53,'sub3',69,'total',0)
struct... |
8b7f8ac369c831d6950241fc61c70a23fe768713 | d90572834954fc62cfa8e217134d569c22501303 | /men/newtona.sci | 23fa6e6d403f0d07748d6895db7f825db5341134 | [] | no_license | AdamDomagalsky/semestr5 | 4b5323aa401390c28decb05d91b25615c7f32d65 | cbece915cbbbbeec9da8b45e76abd19cedfab229 | refs/heads/master | 2021-03-24T13:16:46.452469 | 2018-06-12T07:51:40 | 2018-06-12T07:51:40 | 107,386,876 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sci | newtona.sci | E=10^(-3)
x=poly(0,'x')
f=x^4+x^2+2+3*%i
x0=1
df=derivat(f)
x1= x0-horner(f,x0)/horner(df,x0)
it=1
while abs(x1-x0) > E
x0=x1
x1=x0-horner(f,x0)/horner(df,x0)
it = it + 1
end |
c01c858cbe2fea0508d0a8e820da5dd1e1053d92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH1/EX1.10/Ch01Ex10.sce | 183f896cc4cf423c6ef56c15f247fbf09bb28e67 | [] | 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,513 | sce | Ch01Ex10.sce | // Scilab Code Ex 1.10 : Page-24 (2006)
clc; clear;
function str = structure(r_ratio)
if r_ratio > 0.732 then
str = 'Caesium Chloride';
else if r_ratio < 0.732 & r_ratio > 0.414 then
str = 'Rock Salt';
else if r_ratio < 0.414 then
str = 'Rutile'
... |
79a7fe98dd7ce85c8c579983239204894218efb8 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Minecraft PvE Training.sce | 935e191193924dec2bd5d55b4019b8976ddd172d | [] | 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 | 67,558 | sce | Minecraft PvE Training.sce | Name=Minecraft PvE Training
PlayerCharacters=crafter
BotCharacters=BlockBot.bot
IsChallenge=true
Timelimit=600.0
PlayerProfile=crafter
AddedBots=BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockBot.bot;BlockB... |
15b82ce8cda77172aec51b6ff6c60aafcbc1c4dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH10/EX10.1/10_1.sce | d7e873ef171748073cfe4140f7a699beda84e780 | [] | 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 | 393 | sce | 10_1.sce | //clc();
clear;
//To determine the specific heat per Kmol and highest lattice frequency
T=20; //specific heat
Td=1850; //numerical temperature
K=1.38*10^-23;
N=6.02*10^26;
R=K*N;
a=%pi^4;
b=12*a*R*T^3;
Cv=b/(5*Td^3);
printf("specific heat in Joule/kmol-k is");
disp(Cv);
h=6.626*10^-34;
Vd... |
1022d2613d7ead000ccdc8a4c1f07bb05cbe0315 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH7/EX7.5/Ex7_5.sce | e6639a76e17c3f2e7e2f01cbbb28e77b4af039f6 | [] | 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,529 | sce | Ex7_5.sce | // Given:-
p1 = 3.0 // entry pressure in Mpa
p2 = 0.5 // exit pressure in Mpa
T1 = 320.0 // entry temperature in degree celcius
T0 = 25.0 // in... |
46629a0c6f665f8e2d19c90f6e9b767c2ca6a786 | e7607c4e9e4b6dde6632b4ec7b0e2d5fce49b455 | /04.sce | a53320bf12d7569d1bf46d5086508e24b204c3c0 | [] | no_license | sbednarz/scilab2 | e9ae532ac7d0f128dfb9ab818099c848ebc121e4 | fd71642815991339eb854aec8700be4685542e27 | refs/heads/master | 2021-06-12T12:20:00.919646 | 2017-04-05T13:09:10 | 2017-04-05T13:09:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | 04.sce | // dysocjacja słabego kwasu
// K = x**2/(A0-x)
function y = model(x)
K = 1e-4
A0 = 0.1
y = K - x**2/(A0 - x)
endfunction
guess = 1e-5
[x,v,i] = fsolve(guess, model)
disp('wynik:')
disp(x) // wynik
disp(v) // jak blisko zera
disp(i) // 1 to OK
// policzyć A0 dla ...
// A <=> B + C + D
// K = ...
// K=... |
80c5471683212fbf1958d3d495c5e278f58dabb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH8/EX8.3/8_3.sce | 63c1bbaceac7a4894689064163c3c8c29b5e8d57 | [] | 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,215 | sce | 8_3.sce | clear;
clc;
// Illustration 8.2
// Page: 482
printf('Illustration 8.3 - Page: 482\n\n');
// solution
// A - water vapor B - air
//*****Data*****
T = 328; // [dry bulb temperature, K]
P_total = 1; // [atm]
H = 30; // [relative humidity, %]
//*****//
P_vapA = 15.73; // [vapor pressure of water, kPa]
... |
4bdb6e3a036db083079444074a533f9518da62d3 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/align.sci | 3f18999e55573a57d4937ce3c2a902b7bb3685fe | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,568 | sci | align.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
42bc203c7839777d95a0cd9f1aa39df77d5c2d05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH5/EX5.11/exa_5_11.sce | 5a95b8d2e923656378835905a061bba4c6226fc0 | [] | 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 | 306 | sce | exa_5_11.sce | // Exa 5.11
clc;
clear;
close;
// Given data
Vmax= 255;// in volt
Vx= 180;// in volt
f=10;// in kHz
f=f*10^3;// in Hz
t= (Vmax-Vx)/(2*%pi*f*Vmax);// time taken to read the unknown voltage in second
t=t*10^6;// in micro second
disp(t,"Time taken to read the unknown voltage in micro second");
|
36fb45fedad945b7295f449137226a44d02c4840 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH16/EX16.10/Ex16_10.sce | 5539e21dcf0b155b3adde8c46ab3f96af7837849 | [] | 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,489 | sce | Ex16_10.sce | //Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.10
//To Find (i)The Weight of Loaded Cylinder and energy stored by the Cylinder (ii)Ther Power supplied by the Accumulator (iii)The Diameter of ram of an ordinary Accumulator.
clc
clear
//Given Data:-
... |
6fbd58a70a5cea418567a579120167dc570b5fa3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/coff.man.tst | f45aef7e5090be7bea9a727f2941ccf251e7433b | [
"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 | 63 | tst | coff.man.tst | clear;lines(0);
M=[1,2;0,3];
[N,d]=coff(M)
N/d
inv(%s*eye()-M)
|
84655851289d43f5624a6428af38308081723427 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.8/ex2_8.sce | 8cc0b2cdcb199e0ae0169b520daab02f2fb55175 | [] | 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 | ex2_8.sce | // Exa 2.8
clc;
clear;
close;
format('v',7)
// Given data
R1 = 4;// in ohm
R2 = 24;// in ohm
R_L = 16;// in ohm
V1 = 20;// in V
V2 = 30;// in V
// V1-R1*I-R2*I-V2 = 0;
I= (V1-V2)/(R1+R2)
// V1-R1*I-Vth = 0;
Vth = V1-R1*I;// in V
Rth = (R1*R2)/(R1+R2);// in ohm
// current through 16 ohm resistor
I_L = ... |
5b94181471a91de5a42e35f0d0f9baa1f5155c8f | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/UserMenu_Standard/02_Space travel/01_Models/03_Voyager/Voyager.SCI | 1553a1e6e19cc0be77bb1c53a0bec2f96508e2c8 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 328 | sci | Voyager.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\space\models\_animatemodel.sci");
tr=transformation;
#tr.rotate(vector(1,0,0),-0.5*Pi);
#tr.translate(vector(-4,-2,0));
animatemodel(datadir+"\Models\voyager","voyager","3DS",tr,0.03,t... |
d154f8e2ee152e071a7ba312b8b92c37e246e1de | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH15/EX15.19/15_19.sce | 87ab79acc26185be23dee1af1bdf5d3a63299f00 | [] | 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 | 492 | sce | 15_19.sce | errcatch(-1,"stop");mode(2);//Chapter 15, Problem 19
;
I=100e-6;
V=2e-3; //supply voltage
f=200e3; //frequency
L=50e-6; //inductance in henry
R=V/I; //resistance in ohm
C=1/((2*%pi*f)^... |
e1d80d957d0d098be4271acdd92a5d8e6715db73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH3/EX3.2/Example3_2.sce | 6bc54c7d689230911c64ee458f7eaf9f9b14530c | [] | 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 | Example3_2.sce | //V = Vmax*sin(omega*t) i = imax*sin(omega*t-phi)
close();
clear;
clc;
Vmax = 155.6;
omega = 377;//Deg
imax = 7.07;
phi = 36.87;
f = omega/(2*%pi);
T = 1/f;
phase_angle = phi*%pi/180;
mprintf('frequency f = %0.0f Hz\nT = %0.4f s \nphase angle betwwen v and i = %0.2f rad',f,T,phase_angle); |
923045f054d9a210cc6cf837df9ffbaff4a7f61c | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/example.tst | 8ad6d824383131a2edf308fe6cd1606319d15ee9 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 2,638 | tst | example.tst | (set-sequence-operator-recognition FALSE)
(set-dynamic-constraint-checking FALSE)
(set-strategy depth)
(unwatch all)
(watch rules)
; mab.clp test
(clear)
(open "example.rsl" example "w")
(load "compline.clp")
(load "mab.clp")
(reset)
(progn (dribble-on "mab.out") (run) (dribble-off))
(printout example "mab.clp differen... |
2d88c8f84d9c6c619ff95a4aebe4be19038b5404 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH1/EX1.3/1_3.sce | d0fbe7497eb45f6edd9939bcdd1df2ff5822f579 | [] | 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 | 350 | sce | 1_3.sce | clc
clear
//Initialization of variables
vis=2.5/10 //N s/m^2
D=15 //cm
N=180
dy=0.0001 //m
l=0.15 //m
b=0.25 //m
r=0.152 //m
//calculations
dv=%pi *D*N/60/100
Tau=vis*dv/dy
Tor=Tau*%pi*l*b*r/2
P=Tor*2*%pi*N/60
//results
printf("Power required = %d W",P)
disp("The answer is a bit different due to round... |
6ab02169b599c3fe5fdca79b9f72953d0bed8349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH43/EX43.8/Example43_8.sce | 4e609fd39c7abcb1ebde0154e262f092a0f529d8 | [] | 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,116 | sce | Example43_8.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 5: ELECTRIC TRACTION-SPEED TIME CURVES AND MECHANICS OF TRAIN MOVEMENT
// EXAMPLE : 5.8 :
// Page number 782-783
clear ; clc ... |
c6040944aa60afd6a57685d1682807264b8e0dfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH13/EX13.1/13_1.sce | 43f13dc2acb49e1c1f2e764be5f126399b3dda8a | [] | 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 | 390 | sce | 13_1.sce | //Pilot and his bomber
//refer fig.13.3
h=2000 //m
u=(600*1000)/(60*60) //m/sec
//initial velocity in vertical direction
//gravitational acceleration=9.81 m/sec^2
//if t is the time of flight
t=sqrt((2000*2)/(9.81)) //sec
//during this period horizontal distance travelled by the bomb must be (d)
d=u*t //m... |
7e007b7686c9b2d8d88ce1b29539051f61c47b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH11/EX11.3/Ex11_3.sce | 0e1dd8aaad94a798c12d6ef6a245861f285fc97f | [] | 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 | 626 | sce | Ex11_3.sce |
//Variable declaration
T1=1200. //temperature(k)
T2=1000. //temperature(k)
Ww=1.2*10**5 //work function(eV)
k=8.62
Ie1=200 //emission current density
T3=1500. //temperature(k)
//Calculations
Ie2=Ie1*(T2... |
7373772ded323304d83f5615a6a7826de4383ba4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH12/EX12.4/124.sce | c453eecf242d45c00287f384cb51781b4da154dc | [] | 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 | 246 | sce | 124.sce | // problem 12.4
H=150
Q=6
N=400/60
D1=1.2
x1=20
x2=90
B1=0.1
u1=3.142*D1*N
Vf1=Q/(3.142*D1*B1)
Vw1=Vf1/tand(x1)
Vw2=0
w=9810
g=9.81
P=w*Q*Vw1*u1/(g*1000)
disp(P,Vw2,Vw1,"whirl component at inlet and outlet,power developed in Kw")
|
c88c48f7909bf90eb46357636a06d640456b9a04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.5/Chapter3_Example5.sce | a9e09651efa2815bf85025092b769680c0bfa330 | [] | 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 | 642 | sce | Chapter3_Example5.sce | //Chapter-3, Example 3.5, Page 55
//=============================================================================
clc
clear
//INPUT DATA
L=0.2;//Thickness of the wall in m
T=[1000,200];//Surface temperatures in degree C
ko=0.813;//Value of thermal conductivity at T=0 in W/m.K
b=0.0007158;//Temperature coeffic... |
b6f0ff5e730e3ae25e7619341a9399df2f95c687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.10/10.sce | 57968e49396717683912d2a7030fd421aa3c4343 | [] | 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 | 270 | sce | 10.sce | clc
clear
//input
v=15*10^3 //voltage
p=80*10^3 //power
r=430 //resistence
v1=150*10^3//stepped value
//calculation
i=p/v//cable current
i1=p/v1//stepped up cable current
k=i*i/(i1*i1)//ratio of power loss
//output
printf("the ratio of power loss is %d",k)
|
ab9bc320df35ee468140a3de9d0d63d98bd89831 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.2/ex5_2.sce | d2ce1d782fbaba37758d14c1b3554a6b6fd87c2a | [] | 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 | 320 | sce | ex5_2.sce | // Exa 5.2
clc;
clear;
close;
// Given data
R1 = 10;// in k ohm
R_F = R1;// in k ohm
disp(R_F,"The value of R_F in kΩ is");
C = 0.001;// in µF
C = C *10^-6;// in F
f_c = 10;// in kHz
f_c = f_c * 10^3;// in Hz
R = 1/(2*%pi*f_c*C);// in ohm
R = R * 10^-3;// in k ohm
disp(R,"The value of R in kΩ is");
|
f9cf990a5b6caa35b6c0a0a13eae54167fdee098 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH4/EX4.6/exe4_6.sce | a774a1ac9fbf719bfe41894bef385641057874b9 | [] | 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 | 358 | sce | exe4_6.sce | // Example 4.6: drain resisitance
clc, clear
//Given DATA
Vdd=10;//in volt
ID=0.4;//in mA
mu_nCox=20;//in uA/V^2
W=100;//in um
L=10;//in um
Vt=2;//in Volt
//Formula : ID=mu_n*Cox*W*(VGS-Vt)^2/(2*L)
VGS=sqrt(2*L*ID/(mu_nCox*10^-3*W))+(Vt);//in Volt
Vd=VGS;//
R=(Vdd-Vd)/ID;// resistance in killo ohms
disp(R,... |
27b5933a90fad6a952ea50307e2046487543b697 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/seamlessClone/test2.sce | d2b5edca9c68de5f8b78ee1744e6c4a0fa7146b1 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 250 | sce | test2.sce | //using a complete white mask
dst = imread("../images/color3.jpg");
src = imread("../images/cartoon.jpg");
[rows cols] = size(src)
mask = zeros(rows,cols);
mask(50:100,1:cols) = 255;
output = seamlessClone(src,dst,mask,[75 120], 1 );
imshow(output);
|
2c59ec8c5a7fadbad07fccc90326317cf57f3f30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.2/Exa_6_2.sce | 65326f232452b209276e40d273d8cdd7821fd58e | [] | 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 | 374 | sce | Exa_6_2.sce | //Exa 6.2
clc;
clear;
close;
format('v',8);
//Given Data :
p=5;//bar
x=0.98;
ts=151.84;//degree C
hf=652.8;//KJ/Kg
hfg=2098;//KJ/Kg
vg=0.373;//m^3/Kg
disp(ts,"Temperature of steam in degree C : ");
h=hf+x*hfg;//KJ/Kg
disp(h,"Enthalpy of steam in KJ/Kg : ");
v=x*vg;//m^3/Kg
disp(v,"Specific volume in m... |
55b50a4545391c6c3eaa44ac8fc6858787e5c975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.36/ch1_ex_36.sce | 2b032eb5b501bf9ec55e37e319b204aa70c07413 | [] | 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 | 996 | sce | ch1_ex_36.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 36
disp("CHAPTER 1");
disp("EXAMPLE 36");
//VARIABLE INITIALIZATION
I=10; //current source in Amperes
v=10; //voltage source in Volts
r1=4; //top resistance in Ohms... |
98cf928095d18bc7443e480b53b6c85db69f154f | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q02d.tst | fff5da50e5238677f097648295912126feedcd16 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | tst | q02d.tst | 0
0.20
bbaaab 1
baaa 1
abbbbb 1
aabbab 1
aaaa 0
bbbaaaa 0
bbaabba 0
aaabbbb 0
|
21cceb358faa3897f3a1cd6f393e486627f16b07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH21/EX21.6/21Ex6.sce | b7f3b82d3fcf90a457b547396b053a07c899d37f | [] | 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 | 224 | sce | 21Ex6.sce | //chapter 21 Ex 6
clc;
clear;
close;
a1=1008; t1=2; a2=1164; t2=1.5;
sInterestDiff=a2-a1;
sInterest2=sInterestDiff*t1/t2;
p=a1-sInterest2;
rNew=(sInterest2/(p*t1))*100;
printf("The new rate is %d percent",rNew);
|
ea171495e5a97532171031ebc24f332237e3485a | ea619b33cae5a486fb22da8bdcfe0bc7d81c3032 | /test/testcases/directed/rred2.tst | 558c18e7da0946f80ca3fc92ebd72bbbb19babb3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexvonduar/optimized-routines | 714ab0a7b8d7d28fc689b0bae1e7a885fd461a69 | f59c54e97e2023a5981679b14637d8ee2abe2d2d | refs/heads/master | 2020-03-08T14:07:45.302916 | 2018-11-27T09:34:42 | 2018-11-27T09:34:42 | 128,176,402 | 0 | 0 | Apache-2.0 | 2018-11-27T09:34:43 | 2018-04-05T08:05:10 | C | UTF-8 | Scilab | false | false | 42,499 | tst | rred2.tst | ; rred2.tst
;
; Copyright (c) 1999-2018, Arm Limited.
; SPDX-License-Identifier: MIT
func=rred op1=4139eb71.48f354d6 result=3c8d0afa.32c646ca.18a res2=00000001 errno=0
func=rred op1=414344ba.16f4f99a result=3cc23686.da4d2965.916 res2=00000003 errno=0
func=rred op1=414a4327.087660e3 result=bccb599f.84bc5cab.fb1 res2=00... |
e0a1e21f94fb0cf048489199a0e5588878ba886d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.2/Ex3_2.sce | 614bbafda6edccd3232eb8ed005a8a075fe5a7b1 | [] | 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 | 512 | sce | Ex3_2.sce | //EX3_2 PG-3.15
clc
disp("Refer to the figure-3.8 shown")
Vin=0;//cut-in voltage for an ideal diode is zero
Rf=0;//forward resistance for an ideaal diode is zero
disp("For an ideal diode")
Vm=15;
Vdc=-Vm/%pi;
printf("\n DC output voltage is %.2f V\n ",Vdc)
disp("-ve sign indicates that voltage is negative wrt ... |
c18404295aa622a299e4d672eafea257f5ede1e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH10/EX1.6/Ex_B_1_6.sce | daa084f43b68773515d1c01b40f54cedf8664493 | [] | 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 | 345 | sce | Ex_B_1_6.sce | //Part B Ex 1.6
clc;clear;close;
format('v',5);
Av=10;//voltage gain
Ri=1;//kohm
Ro=10;//ohm
Vs=2;//V(Sensor voltage)
Rs=100;//ohm(Sensor resistance)
RL=50;//ohm
Vi=Vs*Ri*1000/(Rs+Ri*1000);//V
Vo=Av*Vi*RL/(Ro+RL);//V
Po=Vo^2/RL;//W
Pi=Vi^2/Ri;//mW
Ap=Po*1000/Pi;//Power gain
disp(Ap,"Power gain");
//Answe... |
006eb5ff2a3dc6ea603bf91c9612fec4e7a0af2f | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/na_k/nak_md.tst | 4f3bf051ac7f07a12599a38516e8671bd1bfda66 | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 1,500 | tst | nak_md.tst | Time = 0.000
Temperature = 302.00
Volume = 0.00
Pressure = 5.55E+07
Energy = 0.000E+00
Time = 0.002
Temperature = 298.70
Volume = 15.70
Pressure = 5.94E+07
Energy = -1.878E+04
Time = ... |
f1eee1f72dde3db78fad593fcdbf1887367a1fc1 | 793c335f1b908533abaf8a266b47e942ee70b973 | /logs/parsed_tree.tst | f82f527b5bbed279005d285a19ee98eddad69e5d | [] | no_license | ani555/E1-246-Assignment3 | 3d287fac1199986a719843d0629da034f15cd46a | 861195a3582e65a5c05bfc1c0c1d0c36956ef727 | refs/heads/master | 2020-05-15T20:57:09.387733 | 2019-04-21T19:22:56 | 2019-04-21T19:22:56 | 182,490,251 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | tst | parsed_tree.tst | (S
(NP (DT the) (NN movie))
(VP (MD will) (VP (VB be) (NP (VBN released) (JJ next) (NN week))))
(. .))
|
aa14d53cbd6cc0f3d693479dc1bd466925512972 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/inc-after-fw.tst | d31ed51b963cf66a89c2a4254263580eec4f3d6b | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 142 | tst | inc-after-fw.tst | ## Test incorporate command - after case with --firewall
set testmode
read <min.fi
@min(=C) incorporate --after --firewall sample.tar
write -
|
51b6cc3a8a9c6120a199d07282b1ea3b3ffafe69 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Chemistry_R._Chang_884.zip/Chemistry_R._Chang_884/CH5/EX5.1/Example5_1.sce | e8f7886accd05f6fd37faf85d3b600423f5d4cda | [] | 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 | 237 | sce | Example5_1.sce | errcatch(-1,"stop");mode(2);//Pressure Units
;
;
printf("\t Example 5.1\n");
Pbaro=688;//pressure in mm Hg
Patm=Pbaro/760;//pressure in atm
printf("\t the presuure in atmospheres is : %4.3f atm\n",Patm);
//End
exit();
|
3cb220ad8ccf0090b8d378f8b966e0065f67c135 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%lssflss.sci | c690a54da6b247ece8ecedb1042db03eb3362dd9 | [
"MIT",
"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 | 379 | sci | %lssflss.sci | function [s]=%lssflss(s1,s2)
// s=[s1;s2] in state-space
//!
// origine s. steer inria 1987
//
[s1,s2]=sysconv(s1,s2)
[a1,b1,c1,d1,x1,dom1]=s1(2:7)
[a2,b2,c2,d2,x2]=s2(2:6)
[n1,n1]=size(a1);[n2,n2]=size(a2)
[p1,m1]=size(d1);[p2,m2]=size(d2)
a1=[a1 0*ones(n1,n2);0*ones(n2,n1) a2]
c1=[c1 0*ones(p1,n2);0*ones(p2,n1) c2]
... |
42f47b381d464179c7e25a3aa4d75865e9885da2 | 94c9fb094976265935872b32b6e6a4fd9454ef31 | /tp_reg_trace_mod_simp_1.sce | 69d9d1b3475a280076ff4349043382ca40f2bd4a | [] | no_license | dtbinh/tp-scilab | 6d2373af479d9cb1d1494f3ccc5abcae0697b8ac | 4c41c77eb4a4021022fa91614cfe4f7a4417f4e5 | refs/heads/master | 2021-01-10T12:23:53.166922 | 2013-12-19T17:23:18 | 2013-12-19T17:23:18 | 49,208,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | tp_reg_trace_mod_simp_1.sce | // tracé de la droite
z=1:0.1:8; t=gam(1)+gam(2)*z;
plot2d(r1,X,-2,"111","Age",[1,0,8,16]);
plot2d(z,t,[1],"000");
|
675406942ff2aba3c2fadf42ab7dca50483147bc | 3dfde5edd2a32028f4eb7cf329c7f784043fa6c0 | /filters.sci | dfac0594efd13cb210631c55b338cc20ebcc91f2 | [] | no_license | Chadys/mini_toshop | b26fb5f94c77c70e82e167c8a201a92a67d731a6 | a3f0a49f669a5a3b0b3afd952b5a44383ee2a7d0 | refs/heads/master | 2021-01-18T20:19:43.794349 | 2017-04-13T14:14:44 | 2017-04-13T14:14:44 | 86,955,863 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,875 | sci | filters.sci | function flt = moyenneur(T)
// filtre flou uniforme
// param : T = taille du filtre
// nombre impaire (idéalement entre 3 et 15)
if ~exists("T","local") then
T=3
end
if ~modulo(T,2) | T<3 | T>15 then
error('T must be an odd number between 3 and 15!');
end
flt = ones(T,T) * 1/9
endfuncti... |
87d6d769a722ccbc6627e97287fac36ef8f1c337 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/redef_enc_02.tst | 4df959d644d86bc7a297c559c02c0dd6690a9ce1 | [] | 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 | 188 | tst | redef_enc_02.tst | // @Harness: verifier
// @Purpose: "Test for redefinitions of format"
// @Result: "RedefinedFormat @ 7:10"
architecture redef_enc_01 {
format F = { a[3:0] }
format F = { a[7:0] }
}
|
b50a2b43a20cbca993892d569a08302f632a0637 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH13/EX13.3/Ex13_3.sce | 65974b03c9f81a0785465cf466354a120c2bb7d3 | [] | 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 | Ex13_3.sce | //Ex13_3
clc
Rf = 1.5*10^6//feeback resistance
Cf = 1*10^-9//capacitance across feedback
f0 = 1/(2*%pi*Rf*Cf)//frequency of oscillation
disp("Rf = "+string(Rf)+"ohm")
disp("Cf = "+string(Cf)+"F")
disp("f0 = 1/(2*pi*Rf*Cf) = "+string(f0)+"Hz")
|
034f002cd4da765029ebeabb6d1468001a7babbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.68/Ch2_2_68.sce | a4cf6342fea78a335a34f88da128b8e7e35e7636 | [] | 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 | 806 | sce | Ch2_2_68.sce | clc
disp("Example 2.68")
printf("\n")
disp("Calculate the line regulation, output resistance, load regulation & ripple rejection ratio")
printf("Given\n")
printf("1 Resistance are in ohms \n 2 Current are in ampere \n 3 voltage sources are in volt\n")
//input voltage
Vi=16
//output voltage
Vo=6
//load current... |
f35c8d37ee7c690a01646f9f68f5a7e14d91b6df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH14/EX14.13/Ex14_13.sce | 811014bbbc788cf9d2e2ef24499c73ad6b92cbd0 | [] | 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 | 221 | sce | Ex14_13.sce | clc;
Av=120;
Cbc=0.000000000006;
CinM=Av*Cbc;
CoutM=Cbc;
disp('Farad',CinM,"CinM=")//The answers vary due to round off error
disp('pFarad',CoutM*1000000000000,"CoutM=")//The answers vary due to round off error
|
2a10715a3b4eadf5267744593409485fe105dee3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.14.2/Example6_14b.sce | 20241230c3c4befc6b703772f119b1bb2d614b20 | [] | 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 | 443 | sce | Example6_14b.sce | clc
//Given that
c = 3e8 // speed of light in m/s
ratio = 1.95e+03 // Ratio of relativistic mass and rest mass
// sample problem 14b page No. 227
printf("\n \n\n # Problem 14b # \n")
printf("\n Standard formula used \n m = m_o/ sqrt ( 1- (v/c)^2)")
ratio_1 = 1 /(2* ratio^2) // calculation of ratio of velocit... |
c92efa9f38450eafe46e04f6fd204d8621a998db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.8/108.sce | fee61853cac6c3c4791d7da9d09f0c6eaed3931e | [] | 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 | 204 | sce | 108.sce | // problem 10.8
d2=0.6
Q=15/60
N=1450/60
V1=2.6
g=9.81
y2=30
w=9810
Vf1=V1
Vf2=V1
u2=3.142*d2*N
x=Vf2/tand(y2)
Vw2=u2-x
Hm=Vw2*u2/g
P=(w*Q*Hm)/1000
disp(P,Hm,"head developed, pump power")
|
f77052cf0906bbd5d0fecea75618cda6717f227c | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/determinism-016.tst | 6d7aeac8c2c37256960fcd55901b69ab820b1f92 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21 | tst | determinism-016.tst | ../inputs/mini-14.ssv |
ab7f76814b1d886ff7cad22a5d708da5c4a3cad8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH3/EX3.3.A/additional_ex_3.sce | c665cb5e00b4f13e543d01c809454016231f2702 | [] | 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 | 409 | sce | additional_ex_3.sce | clc;
clear;
disp("efficiency(n)=(useful power/total power)*100%");
disp(" =total sideband power/(total sideband power+carrier power)*100%");
syms m Pc
N=[((m^2)*Pc/2)/(Pc*(1+(m^2)/2))];
disp("*100% ",N);
disp("----------------------------------------------------------------");
m=0.7 //modulation index... |
98fe5446d88272220d7fc44163f0325371b44eef | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH6/EX6.1/example1_sce.sce | f8a55a2324564f8679d9f216f3054298962f61a9 | [] | 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 | 116 | sce | example1_sce.sce | //chapter 6
// example 6.1
//page 246
Gm=55*10^-6;
C=8.75*10^-12;
Fh=Gm/(2*3.14*C);//Fh=f-3db
disp(Fh)//result |
549614e138c015983af84b181dd2b8436d443e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH31/EX31.2/31_2.sce | 0bfb1426e809ad6c03d36bd1f3319bdab46c5130 | [] | 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 | 308 | sce | 31_2.sce | clear//
//Variables
fo = 2.2 * 10**6 //Frequency (in Hertz)
//Calculation
f1o = fo * 2**0.5 //New frequency (in Hertz)
//Result
printf("\n It will work at frequency of %0.2f MHz when capacitance is reduced by 50 percentage.",f1o * 10**-6)
|
1cfa91dad86c8739f97e98259560f4120508cb43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH6/EX6.5/Ex6_5.sce | fa46b80c9cbfda8dce6e5fcb2a536b93b6def01e | [] | 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 | 583 | sce | Ex6_5.sce | //Ex6_5
clc
VBB = 1
VCC = 12
IC = 12*10^-3
VCE = 4
beta = 80
VBE = 0.7
disp("VBB = "+string(VBB)+"V")//base supply voltage
disp("VCC = "+string(VCC)+"V")//collector supply voltage
disp("IC = "+string(IC)+"A")//collector current
disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
disp("beta ... |
aba5aa1d0f1f7d5ad1c5a6cca14e999432b5b35d | 6bd47868c9c7b3e9469b27f60a4757816a62060b | /Turunan Numerik/turunan2.sci | 89eb7ec4c9bc29c2f6353c1f37d5f4c82b463443 | [] | no_license | fahrioghanial/Program-Metode-Numerik | 555401132e47516ff38ab7d38e1056c16e45ab1a | 83cfe9144c72a3adbabbe71923f32ab6209b02e8 | refs/heads/master | 2023-02-28T16:14:24.353765 | 2021-02-04T08:04:46 | 2021-02-04T08:04:46 | 335,882,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,130 | sci | turunan2.sci | /*
Nama : Mohamad Fahrio Ghanial Fatihah
NPM : 140810190005
Deskripsi : Program Turunan Kedua
*/
clear;
clc;
printf('\nProgram Penghitung Turunan Kedua\n');
X = [0.10 0.12 0.14 0.16 0.18 0.20];
Y = [0.004 0.006 0.008 0.011 0.015 0.018];
printf('Diketahui Data Berikut:\n');
printf('x\tf(x)\n');
for i=1:6
printf('%.... |
2d01861c83f1258fb189df6308a17272c5f9742f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.4/Chapter1_example4.sce | 22f8ea8c7f50048de5f5f5737e4afe8b778f2c7d | [] | 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 | 363 | sce | Chapter1_example4.sce | clc
clear
//Input data
//A small ball is released from height of 4r measured from the bottom of the loop, where r is the radius of the loop
//Calculations
ar=(6*9.8)//Radial acceleration in m/s^2
at=(9.8*sind(90))//Tangential acceleration in m/s^2
//Output
printf('Radial acceleration is %3.1f m/s^2 \n Tange... |
bbd1fd32da03ed235a9729adddab230d5334a8ce | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%lnc.sci | a93cc591232e454552174f786f4642ea7fa955be | [
"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 | 61 | sci | %lnc.sci | function [r]=%lnc(l1,l2)
//%lnc(l1,l2) : l1==l2
//!
r=%t
|
ac19f29913b54e68664af9c29c38a809faa77f99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH18/EX18.4/Ex18_4.sce | e65f5e06f04f620d950eaa3ea3bc08b66c541449 | [] | 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,465 | sce | Ex18_4.sce | //Calculations on oil engine
clc,clear
//Given:
n=4 //Number of cylinders
d_o=5 //Diameter of orifice in cm
Cd=0.6 //Coefficient of discharge for orifice
d=10.5,l=12.5 //Bore and stroke in cm
N=1200 //Engine speed in rpm
T=147 //Brake torque delivered in Nm
m_f=5.5 //Fuel consumption in kg/hr
CV=43100 //Calor... |
673fa48dbf07066cf50beb165016e2b73c4e912d | 9adf1bc6de8cda036ee25fde7a658b3ca8cdf477 | /TABELLE/src/results/stratPG-C.nursery/.svn/text-base/result6s0.tst.svn-base | abb1d2e15bce64480c263abb83a15a95c4b8cd43 | [] | no_license | deepak0431/granada | fc9acf52590a1315805702af41d87760ef089545 | 077460440ded909242697d5f0fd1de8526c53ac6 | refs/heads/master | 2021-01-10T11:58:32.017549 | 2011-12-15T01:51:29 | 2011-12-15T01:51:29 | 51,353,969 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,708 | result6s0.tst.svn-base | @relation nursery
@attribute parents {pretentious, great_pret, usual}
@attribute has_nurs {critical, very_crit, less_proper, proper, improper}
@attribute form {incomplete, foster, completed, complete}
@attribute children {1, 3, more, 2}
@attribute housing {critical, less_conv, convenient}
@attribute finance {inconv, ... | |
63dd02a201edbc09deffb200ee56e8bfe5b6905d | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH13/EX13.4/Example13_4.sce | cdbf348c131c1c07b2cbfc533e76d947c01febae | [] | 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 | 604 | sce | Example13_4.sce | //Example 13.4
clear;
clc;
Kv=10^4;
wx=10^3;
pm=45;
wz=wx;
wp=(wz^2)/Kv;
C=0.1*10^(-6);
R2=1/(wz*C);
R1=(1/(wp*C))-R2;
printf("(a) Designed Passive Lag-Lead Filter :");
printf("\n R1=%.2f kohms",R1*10^(-3));
printf("\n R2=%.2f kohms",R2*10^(-3));
printf("\n C=%.1f uF",... |
7ba975cd3e227515fcff68d4d440ef339cb616a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH3/EX3.20/Exa3_20.sce | 390c2ee90763b9348766b15cbb17a069905e67ef | [] | 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 | 293 | sce | Exa3_20.sce | //Exa:3.20
clc;
clear;
close;
E_g=-163.53;//in volts
I_a=40;//in amperes
R_a=0.2;//in ohms
V=220;//in volts
V_a=E_g+(I_a*R_a);//in volts
alpha_a=acosd(V_a*%pi/(2*V*sqrt(2)));
disp(alpha_a,'Firing Angle (in degrees)=');
P=V_a*I_a*(-1);
disp(P/1000,'Power Supplied (in Kilo-Watts)=') |
00e3fecf649ef3e73e25238eac79c482e8ff05a5 | adad792a303b401b6e5f683f5ffed0dce8bb89cb | /Lan_inter_pol.sce | 530a7fceb6a933e0c6d96016cf228fb34535e264 | [
"MIT"
] | permissive | RDxR10/Numerical-Analysis | db114772f1a915e96d364a2cdb5c92e868da2640 | 10325dd514aa6ae9180dca7ae3a04f7deda5ca56 | refs/heads/master | 2020-09-11T18:51:42.948671 | 2019-11-24T16:01:44 | 2019-11-24T16:01:44 | 222,158,105 | 0 | 0 | null | 2019-11-19T17:10:11 | 2019-11-16T20:53:58 | Scilab | UTF-8 | Scilab | false | false | 321 | sce | Lan_inter_pol.sce | function symboliclagrange(X,Y)
x = poly(0,"x")
for i=1:length(Y)
l(i)=1
for j=1:length(Y)
if i~=j
l(i) = l(i)*(x-X(j))/(X(i)-X(j))
end
end
end
L=0
for i=1:length(Y)
L = L+Y(i)*l(i)
end
disp(L)
endfunction
... |
b7cdef66fe2393d2f3db03de55bb246afd8e378b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/TD78LPW/ATWM1_Working_Memory_MEG_TD78LPW_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 7fcdf778c91247cd2a3a3faef157c98da835b34d | [] | 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,384 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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_monitor... |
4e853940fa37bce6b06336174ac0a6790d731b36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH2/EX2.2/Ex2_2.sce | 4b9a127c6bb33e44876d439ce772e14c7e705138 | [] | 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 | 819 | sce | Ex2_2.sce | clc
// Given that
h=15 // Height of spur in cm
l= 50 // Length of cast in cm
w= 25 // weidth of cast in cm
h1= 15 // Height of cast in cm
g= 981 // Acceleration due to gravity in cm/sec^2
Ag= 5 // Cross sectional area of the grate in cm^2
Dm = 7800 // Density of molten Fe in Kg/m^3
Neta = 0.00496 // Kinetic viscosity ... |
e1ad20a3bc4041c4c9f7b552300dbe6359a7d07a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.10/4_10.sci | 697189e77bf0a59fe2dd6a8a9db5977ae06f2148 | [] | 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 | 146 | sci | 4_10.sci | // 4.10
clc;
Fc=430-370;
disp('At 403 change in frequency')
Fc1=403-370;
Fuel_level=Fc1*3000/Fc;
printf("\nFuel level =%.1f L",Fuel_level)
|
e2086316edf4445fc81b7acbe83e0cd0108ea1e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.5/example4_5.sce | 0b92713a793f139b2e6daeea99991efc1ba7322e | [] | 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 | 387 | sce | example4_5.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.5
// Page 121
printf("Example 4.5, Page 121 \n \n");
// solution
v = 1 //[l] water (basis)
// 1 mol (100mg) CaCO3 gives 1 mol (56) Cao
// use table 3.3 and eg 3.9
x = 56*390.6/100 //[mg/l] lime ... |
ede2802a5182376bd4e10153c96de6eb3514e4bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH5/EX5.3/5_3.sce | 6fd3415ab3cb0721473563613a658cc7e1091869 | [] | 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 | 145 | sce | 5_3.sce | clc
//initialisation of variables
Q= 10 //gpm
d= 1 //in
//CALCULATIONS
v= Q*4/(%pi*d^2*3.12)
//RESULTS
printf ('veloctity = %.1f fps',v)
|
c468e0f0a7c7f76bf4a494b5a56dad59b2e80be4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.24/Ex9_15_24.sce | b441837e280f1cce589d7c31b0c70bcbe4f222fc | [] | 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 | 284 | sce | Ex9_15_24.sce | //Section-9,Example-1,Page no.-E.51
//To calculate the ionic mobility of K+ ions.
clc;
l=0.04
t=4000
I=6*10^-3
A=0.3*10^-4
k=1.0
v=l/t //Velocity of the ion(ms^-1)
F_s=I/(A*k) //Field strength(Vm^-1)
I_mo=v/F_s
disp(I_mo,'Ionic mobility of K+ ion(m^2V^-1s^-1)')
|
4003bc427c5748ac598c4d97cba01784b997340c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.2/20_02.sce | da746575a6971f4d3d09f4a3a284243548b26c41 | [] | 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 | 403 | sce | 20_02.sce | clear;
clc;
V=3000e3;
r1=30;
r=5000e3;
vb2=11e3;
vb3=33e3;
x=.2;
Xt=.05*r/V;
Xl=r1*r/(vb3^2);
xtotal=(x+Xt+Xl)*%i;
MVA=r*%i*1e-6/xtotal;
Ifault=MVA*1e6/(sqrt(3)*vb3*%i);
Ir=real(Ifault);
Ii=imag(Ifault);
Imod=sqrt((Ir^2)+(Ii^2));
Iangle=atand(Ir/Ii)-90;
Imod=round(Imod);
MVA=round(MVA*10)/10;
mprintf... |
92e8b3211bb97363294dbddacf80dbd1bc893c4a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/util/g_sqrt.sci | 968957b6ad0293e4d293a7d877179ec6a2bdf865 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 66 | sci | g_sqrt.sci | function sp=g_sqrt(a)
[ij,v,mn]=spget(a)
sp=sparse(ij,sqrt(v),mn)
|
137c66fb888a1f69194dd69e42c0df30a233b2f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.9.1/Ch03Exa3_9_1.sci | e5968f3454dda2f4f4b84b7423f6225236c8a2bc | [] | 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 | 478 | sci | Ch03Exa3_9_1.sci | // Scilab code Exa. 3.9.1 : To calculate the age of uranium mineral: Page no. 143 : (2011)
t_h = 4.5e+09; // Half life of mineral, years
D_c = 0.6931/t_h; // Decay constant of minerals, years^-1
N_1 = 6.023e+023/238; // Number of nuclei in 1g of Uranium
N = 6.023e+023*0.093/206; // Number of nuclei in 0.093g of lead
t ... |
4b179c2911505a7f5e86581c5c9b46420db0f48a | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.24/ex2_24.sce | 413a28f0f536c9b4b42fa46052f199d719d002c3 | [] | 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 | 532 | sce | ex2_24.sce | //Caption:Percentage change in speed of a d.c. motor
//Exam:2.24
clc;
clear;
close;
V=240;//supply voltage(in V)
R_a=0.5;//armature resistance(in Ohm)
I_1=100;//armature current (in Amp)
I_2=50;//changed armature current(in Amp)
E_1=V-R_a*I_1;//induced emf(in V)
E_2=V-R_a*I_2;//changed induced emf due to I_2
... |
5a04e131394aa83625e2857df476e283db943826 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH6/EX6.7/Ex6_7.sce | 27d986f1f48968ae4a33e320f437605c2729e28b | [] | 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 | 623 | sce | Ex6_7.sce | clc;
eff_C=0.7042; // Efficiency of the compressor
eff_T=0.71; // Efficiency of the turbine
Q=476.354; // Head added in kJ/kg
WR=0.0544; // Work ratio
T01=300;// Total inlet temperature in kelvin
Cpa=1.005;// Specific heat of air at constant pressure in kJ/kg K
Cpg=1.147;// Specific heat of fuel at constant pre... |
85b0ce2a1dc0d804b86fc18e1806c1d23d6b954d | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/PhHiddenData.sci | d5333cd1f096d47a331f84c431eaebc22b5aeb27 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sci | PhHiddenData.sci | // 08.08.22
function Out=PhHiddenData()
global PHHIDDENDATA;
Out=PHHIDDENDATA;
endfunction;
|
9ae53756b7710b330b84bca54b52390154e03030 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH15/EX15.16/Ex15_16.sce | 8a87694aa03a6ccdd12fc4cd8f0fff4ee7f333ba | [] | 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 | 317 | sce | Ex15_16.sce | clear;
clc;
//Example 15.16
Vz=6.3;
Vbe=0.6;
Veb=0.6;
Vo=8;
R1=3.9;
R2=3.4;
R3=0.576;
Ic3=(Vz-3*Vbe)/(R1+R2+R3);
printf('\nbias current =%.3f mA\n',Ic3)
Vb7=Ic3*R1+2*Vbe;
printf('\ntemperature compensated reference voltage=%.2f V\n',Vb7)
R13=2.23;
R12=R13*Vo/Vb7-R13;
printf('\nR12=%.2f KOhm\n',R12)
|
325cfd1bf75450b883b21e312b1a74c98c74c6c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH9/EX9.3/Ex9_3.sce | 7344f0eac6a3ea0893638ca5025c4fd47056a9b2 | [] | 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 | 268 | sce | Ex9_3.sce | //Chapter 9, Example 9.3, Page 245
clc
clear
//Find fluence and H
Sp = 10**9
dt = 600
r = 1500
E = 0.03103
phi = Sp*dt/(4*%pi*r**2)
H = 1.602*10**-10*E*phi
printf("fluence = %e cm^2\n",phi)
printf(" H = %f microSv\n",H*10**8)
// Answer may vary due to round off error
|
99015759f2870327f670134caf16a37b7ff4617a | be79bec46a532a2d059c03f59f67a1f501c2e371 | /test/testcases/directed/log.tst | c7e4f797feb856e3f34ece39750138885a68a36f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sycomix/optimized-routines | 5987a6a4cab10c469cc147d1d8e667fd4d8ae94a | e875f40f0b2ad71c5381a431e6d71829770c7ab7 | refs/heads/master | 2020-03-30T22:15:08.212539 | 2018-09-18T09:36:04 | 2018-09-18T09:36:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,786 | tst | log.tst | ; Directed test cases for log
;
; Copyright (c) 2018, Arm Limited.
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses... |
ac7ed23ea834e559d9da3892460d2a0f7a58e594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH4/EX4.20/Ex4_20.sce | 735e05895f63772a5051d4bebb55d3c6092e8030 | [] | 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 | 588 | sce | Ex4_20.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex4_20
clc;
clear;
R=0.05;// Resistance in ohm
N0=1000;//Speed in rpm
Rf=46;// Resistance in ohm
I1=75;//Current in A
I2=150;//Current in A
I3=250;//Current in A
V=230;// voltage in V
Eb=230;//Ba... |
fc535e58d21840275527683d066502791b70cdad | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.5f/eg4_5f.sce | afda4e25370f9bb68d255244b5d9f7a0b9b8dedb | [] | 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 | 348 | sce | eg4_5f.sce | //As scilab does not symbolic computations, this example is solved taking N=5
prob = 1/5 //probability that a letter is put into the right envelope
EX1 = 1*prob+0*(1-prob);
EX2 = 1*prob+0*(1-prob);
EX3 = 1*prob+0*(1-prob);
EX4 = 1*prob+0*(1-prob);
EX5 = 1*prob+0*(1-prob);
EX= EX1 + EX2+ EX3 +EX4 + EX5;
disp(EX,... |
87fb7cbc70624d214657a33741f4782c1a8ff1f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH2/EX2.13/ex_2_14.sce | 22d6f0f5bbb88981637121f99c909289605abe9a | [] | 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 | 306 | sce | ex_2_14.sce | //Example 2.14 //Resolving power
clc;
clear;
//given data
c=12.5D-5;// grating element in cm
w=5D-5;// wavelength used in cm
N=40000;//no. of lines on grating
n=c/w;// order for maximum resolving power
n=floor(n);//n should be integer
P=n*N;// maximum resolving power
disp(P,"Resolving power ")
|
2c95dade626f1a567c81b8df6b7ae048e0800144 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH7/EX7.6.b/7_6_soln.sce | 961695b9c2a5241ca1c96d8832f9be5b327f1674 | [] | 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 | 960 | sce | 7_6_soln.sce | clc;
pathname=get_absolute_file_path('7_6_soln.sce')
filename=pathname+filesep()+'7_6_data.sci'
exec(filename)
// Solution:
// theoretical flow-rate,
Q_T=(V_D*10^-6)*(N/60); //m^3/s
Q_T=fix(Q_T)+(fix(ceil((Q_T-fix(Q_T))*10^5))/10^5); //m^3/s ,rounding off the answer
// volumetric efficiency,
eta_v=(Q_T/Q_A)*100; //%
/... |
349c8a278df1f8f0fd9bef2e34cddacb63fb95c8 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH4/EX4.14/ex_4_14.sce | c6d1bcbbf811337166e773abafb82d7c4a91a146 | [] | 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,320 | sce | ex_4_14.sce | //find stress 1.)when supports are unyielding 2.)when supports yield by 0.1 mm
clc
//solution
//given
t1=37//deg celcius
t2=20//deg celcius
Es=210*10^9//N/m^2
Ed=74*10^9//N/m^2
as=11.7*10^-6//per degree celcius
aa=23.4*10^-6//per degree celcius
ds=0.05//m
da=0.025//m
ls=0.6//m
la=0.3//m
pi=3.14
//refer f... |
fb3e1e08256ca21aa35661a1556ac30a1e770929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH2/EX2.7/2_7.sce | 4536091470ffc89393d2cf2b3679edcccd2251b9 | [] | 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 | 2_7.sce | //acids and bases//
//example 2.7//
N1=1/10;//normality of NaOH//
N2=1/20;//normality of HCl//
V1=1;//volume of NaOH in lit//
V2=1;//volume of HCl in lit//
printf("Since NaOH is stronger than HCl,the resultant solution will contain excess of NaOH");
V=V1+V2;//volume of resultant solution//
N=(N1*V1-N2*V2)/V;
p... |
b9b451a86bcf70d526819569d0a6479c6aaaba85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH13/EX13.4/13_4.sce | be8a78670f108e89667cbd6ace7feb2a46e07f26 | [] | 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 | 330 | sce | 13_4.sce | clc
//initialisation of variables
h1= 1371 //Btu/lb
h2s= 1149 //Btu/lb
h3= 118 //Btu/lb
Q1= 1253 //Btu/lb
W= 156 //Btu/lb
Qw= 680 //Btu/lb
//CALCULATIONS
Qh= h1-W-h3
y= W+0.9*Qh
r= y/Q1
x= Qh+Qw
z= y/x
//RESULTS
printf ('Fraction of energy supplied = %.2f ',r)
printf (' \n Fraction of energy supplied= %... |
b17ef7acc2bf4d6f7c4d39812e13e66e194a96ec | 1cd726d8d89a8862be33ddcf214e11697981b87a | /SCILAB/Assignment-2.sce | 92f84ad695537fcab241ed21ce87954db4ad23ca | [] | no_license | raghavatreya/raghavnetbeanproject12 | d05194eb9fda37fbcadd3b98d5c5f1a6eecc28e4 | 39a70aa5ab6b818caa3ffe6d53d94b56d372ab65 | refs/heads/master | 2021-01-01T04:11:54.479691 | 2016-04-30T06:54:59 | 2016-04-30T06:54:59 | 57,429,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,200 | sce | Assignment-2.sce | // ans : 1 ------------------------------- 13 9 7
disp("1. Check value of variable -ve,+ve or zero using if-else")
x=input("Enter value : ") // input x
if x>0 then
disp("x is +ve")
elseif x==0 then
disp("x is zero")
else
disp("x ix -ve")
end
// ans 2 ---------------------------------
disp("While ... |
77d02000526ec4d979ab34e001ba23fa488ea061 | 5d82f71e1a123a1668d57610279c729e0da1f75d | /SMORA/scripts/SCILAB/plot_IVW_graphs.sci | 83688ed2168a381a784178cdada3ea6755b9e621 | [
"MIT"
] | permissive | jdtechio/smora-code | 7e43d967619b2284d47980b098f9ee30560b2f08 | 5e8ab18878bcb65aa945931c018292cd677f981c | refs/heads/master | 2020-06-14T08:14:48.608702 | 2016-12-12T20:25:31 | 2016-12-12T20:25:31 | 75,209,681 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,163 | sci | plot_IVW_graphs.sci | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
FILENAMES = ["statistics_online_SMORA_L.txt", "statistics_online_SMORA_XL.txt"];
tests = length(length(FILENAMES));
for i = 1:tests
FILENAME = FILENAMES(i);
Array = csvRead(FILENAME, ";",[],[],[],[],[],[2]);
pwm = Array(:,1... |
cf8f7056abab1baea68764941093d840a826b5e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.35/Ch04Ex35.sce | e433ea0f41bff69d026363756281ca1fa0a30691 | [] | 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 | Ch04Ex35.sce | // Scilab code Ex4.35: : Pg:188 (2008)
clc;clear;
N = 500; // Number of fringes
x = 0.01474; // Distance traversed by the mirror when N fringes cross the field of view, cm
//Since x = N*Lambda/2, solving for Lambda
Lambda = 2*x/(N*1e-08); // wavelngth of light, angstrom
printf("\nThe wavelength of light ... |
09d692324248d9f25720f5800d70ac18c4674f18 | 2eac84edf941c64588fef76f10d02309aabcb2fb | /Library/Math/Scilab/starter.sce | 8700a6a8baa9455eb1ef5965930fa96ba3c79e0b | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,232 | sce | starter.sce | // This file was generated by createLibraryStarter.sce on 03-03-2017 01:17
mprintf("+++ Loading X2C library Math\n");
funcprot(0);
jimport("at.lcm.x2c.utils.Utils");
X2CRootDir = jinvoke(jinvoke(Utils, "getRootDirectory"), "toString");
X2CRootDir = strsubst(X2CRootDir, "\", "/");
curDir = strsubst(pwd(), "\", "... |
cae847768b61038d625c18078e78faaf9c487e54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH10/EX10.3.3/Example_10_3_3.sce | 82b3e0c361e046f9c4631ae2263627133e0bf435 | [] | 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 | 524 | sce | Example_10_3_3.sce | //Example 10.3.2 Page 358
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
r=0:0.1:5;
size1=length(r);
x=zeros(601,size1);
x(1,1:size1)=0.1;
for r1=1:size1
for n=1:600
x(n+1,r1)=r(r1... |
af8ebd61dd84059eb3ab694170a2a840c3d72c52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH3/EX3.2/3_2.sce | fb4cab769f1e06065b794c4add61eea2830bd849 | [] | 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 | 236 | sce | 3_2.sce | clc;
clear;
S=108;//slot
m=3;
p=8;
disp('for 16 pole 3 phase machine :')
g1=S/(p*m);
disp(g1,'The integral slot winding is:')
disp('For 10 pole 3 phase machine :')
p1=5;
g2=S/(p1*m);
disp(g2,'The integral slot winding is:')
|
c4e08e71eed3b1c6f13bf971589f8cabcde3f388 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH22/EX22.5/22_5.sce | bfc474112b1f33761b438044f718a0c82d3abbab | [] | 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 | 595 | sce | 22_5.sce | //Example 22.5
//RBF Network
//Page no. 773
clc;clear;close;
deff('y=f(x)','y=10*sin(x)')
printf('Input\t\tDesired\t\tNetwork\t\tError\n\t\t Output\t\t Output\n---------------------------------------------------------\n')
in=[0.7053,0.7060,0.7097,1.5056,1.5103,1.5377,2.2481,2.2514,2.2599,3.7076,3.7229,3.7364,5.... |
7539829a2af69f0d49d9b44e5aaaedd5c21731eb | df82401a4fbb64f37b3ed00aa17d82600996f811 | /integracao - trapezio.sce | c3abcc6e58e7803f88e11cbee6851871b9595e51 | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 375 | sce | integracao - trapezio.sce | clear;
clc;
// Definição da função f(x)
function y = f(x)
y = log(x) - 1
endfunction
// Implementação Trapézio
function [I] = Trapezio(a, b, n)
h = (b-a)/n;
x = a:h:b;
y = f(x);
I = y(1);
for i=2:n
I = I + 2*y(i);
end
I = (h/2)*(I+y(n+1));
endfunction
... |
ef3e41d019cc8ce4fce4ca398aaf58bdb6abedd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH7/EX7.2/example72.sce | fbfbcf00e0e67884436d1e7cb3c7683e5d697c48 | [] | 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 | 209 | sce | example72.sce | //Example 7.2
//Convolution of two periodic signals
clc;
x1=[1,2,3,4];
x2=[3,1,1,3];
X1=fft(x1,-1);
X2=fft(x2,-1);
X3=X1.*X2;
x3=fft(X3,1);
disp(x3,'Convolution of the two given periodic signals is'); |
1f5b8e3618e0af03702ce7061c7ba36a73136fb3 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony8.sce | 6656f3e313fbce8c964a7da39812c6a802be10d5 | [] | 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 | 346 | sce | prony8.sce | //check o/p when less than 3 i/p args are passed to the function
impr=[1 2 3 4 56 6 6];
den_ord=4;
[num,den]=prony(impr,num_ord);
disp(num);
disp(den);
//output
//!--error 10000
//Not enough input arguments
//at line 3 of function narginchk called by :
//at line 2 of function prony called by :
//[num,... |
21d5afee87ed7b6b701e4929f144a11992604fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.3/Ex5_3.sce | bf507d5bc3605682b9502e0b1c0bd42fcd833e67 | [] | 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 | 543 | sce | Ex5_3.sce | clear;
clc;
d = 16;// inches
I = 618;// inch units
l = 24;// feet
f = 15/2;// tons/in^2
Z = I/(d/2);// inch-units
M_r = f*Z;// ton-inches
//If the load is uniformly spread over its span,BM = W*l/8
W1 = 8*M_r/(12*l);//tons
//If the load is concentrated at the centre,BM = W*l/4
W2 = 4*M_r/(12*l);//tons
prin... |
948da6c3692ec659983324891c7d0c0458de7e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH2/EX2.1/Ex2_1.sce | f6a4828be8aa58540832508d2cf79bb25edb2bc2 | [] | 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 | 951 | sce | Ex2_1.sce | clc
//variable initialisation
a1=0//Initial Firing Angle of Converter
Vl=460//Line to Line Voltage in Volts
Ia=170//armature Current in Ampere
Ra=0.0999//Armature Resistance in ohm
K=0.33
a2=30
N1=1750//Rotor Speed in rpm
//solution
Vm=(sqrt(2)/sqrt(3))*Vl
Va=(3*sqrt(3)/%pi)*Vm*cosd(a1)
Ia1=17
Eb1=Va-(Ia... |
0718e2536c102ad11be962661059314f4b9262cb | c28130b62911f5891f14826350089c73c907d3b5 | /exo15_cn2.sci | 1b4785858238946261924c2600fb3f2a8b75b848 | [
"MIT"
] | permissive | zyron92/Simulation_of_Cardiac_Excitation | f1709d032613f49427a72716b4e258c3b578b739 | 66813dc24128d9cb171e77d4f780b6bf54011d15 | refs/heads/master | 2021-01-19T10:25:43.810588 | 2017-02-16T12:58:38 | 2017-02-16T12:58:38 | 82,180,177 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sci | exo15_cn2.sci | //Appeler la fonction slaplacien
exec('exo7_slaplacien.sci',-1)
function[e_etoile]=cn2(e_mid,dt,D,n,L)
A = L .* (-dt/2) + eye(n*n,n*n)
b = ( L .* (dt/2) + eye(n*n,n*n))*e_mid
//factorisation ALU
A = sparse(A)
Lu_mat = umf_lufact(A);
//résoudre Ax=e_etoile
e_etoile = umf_lusolve(Lu_mat,b)
//libère la mémo... |
62b30dac29baae1f6b9ccbe76ce57e159ccff9fa | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/PointfixeSystemeCorr.sci | 8feb20415c2f0549ea1cf200cb9aeff1bc077c14 | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sci | PointfixeSystemeCorr.sci | function [x]=PointfixeSysteme(f,x0,niter)
x(:,1)=x0;
for i=1:niter,
x(:,i+1)=f(x(:,i));
end
endfunction |
2ff0f6782678d63eab5a1742f22af6ced7b8e788 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH2/EX2.3.1/Ex2_3_1.sce | dc7ee3329b9cfb663886021da1500102b39c1939 | [] | 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 | 523 | sce | Ex2_3_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 2.3.1
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
lambda=650E-9;//wavelength in meter
h=6.6E-34;//Planck's constant in SI units
c=3E8;//velocity of light in m/s
Ep=(h*c/la... |
fc249e2c75f1fd909f58b7311830c5f0882de315 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/112.tst | 8850fbbd818467c572d340e8c106ebab653dd3ec | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | tst | 112.tst | void main(void)
{
int x;
x+1=x;
}
|
44771a4ab143b09424eedb6db0a4b0ec8d8c45e7 | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/test-rest.tst | c1d4b62a533bc6435d38a4f17ea05ceb60b796f5 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 31,070 | tst | test-rest.tst | \ Test the restraint processing
\set time slow
\rele print CROUTPUT:
#LIST 1
REAL 4.9249 11.0348 15.3223 90.0000 90.0000 90.0000
END
#SPACE
SYM P 21 21 21
END
#LIST 3
READ NSCATTERERS= 4
SCAT TYPE= C 0.003300 0.001600 2.310000 20.843920
CONT 1.020000 10.207510 1.5886... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.