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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ef80606c2f658848d4b4538fd1e458d4dbdb5b3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH3/EX3.3/Exa_3_3.sce | 18a7d8a69089de7445c538bcfbbb100ec5508ab0 | [] | 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 | 654 | sce | Exa_3_3.sce | //Example No. 3.3
clc;
clear;
close;
format('v',8);
//Given Data :
v=60;//Km/hr
w=400;//KN
friction=5;//N/KN weight
tan_theta=1/100;//inclination
g=9.81;// gravity constant
//Solution :
sin_theta=tan_theta;
W_sin_theta=w*1000*sin_theta;//N
R=friction*W_sin_theta/10;//frictional resistance in N
P=W_... |
af17b0502f7a0a586544f4b7f1902fb3ff695e22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.24/Example6_24.sce | 936d576cfaba5a2b767b4bba1353f54e3bfa427a | [] | 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,952 | sce | Example6_24.sce | //Example 6.24. refer fig.6.23(a).
clc
format(6)
disp("(i) DC load line:")
disp("Refer fig.6.23(a), we have VCC = VCE + IC*(RC+RE)")
disp("To draw the d.c. load line,we need two end points, viz. maximum VCE point(at IC = 0) and maximum IC point(at VCE = 0)")
disp("Maximum VCE = VCC = 12V, which locates the point ... |
cea824bebd73f845c9056c2497f65eb94bd60f20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH4/EX4.7/Ex4_7.sce | e4cea151e69341ab1cb97031eede5e0b3f2baaca | [] | 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 | 716 | sce | Ex4_7.sce | clc,clear
//Example 4.7
//To determine the length of the belt around the pulleys
AE= 5 //radius of first pulley in cm
BF= 8 //radius of second pulley in cm
AB=15 //distance between centre of pulleys in cm
//from the figure
CF=AE //parallel side of rectangle ACFE
BC= BF- CF
AC = sqrt(AB^2 - BC^2) //by pytha... |
51ba200330205cc3c73ae3bc9aad8e2bcf0332ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH1/EX1.10/ex1_10.sce | 9c9b8a46dc0f0c1716042eed205e48651592e966 | [] | 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 | 309 | sce | ex1_10.sce | // Exa 1.10
clc;
clear;
close;
// Given data
m = 18.2;//quantity of air supplied of coal in kg
T1 = 200;// in degree C
T2 = 18;// in degree C
del_T = T1-T2;// in degree C
Spe_heat = 1;// in kJ/kg-K
Q_C = m*Spe_heat*del_T;// in kJ
disp(Q_C,"The Quantity of heat supplied per kg of coal in kJ is");
|
4025bb97194b47c418f5b4a35acf4e59f4c16de1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH7/EX7.9/ex7_9.sce | ab53e34babbfe61580324d4ab9e912af66a275fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | ex7_9.sce | // Example 7.9, page no-278
clear
clc
e=35 //EIRP radiated by satellite in dBW
g=50 //receiver antenna gain in dB
e1=30 //EIRP of interfacing satellite in dBW
theeta=4 //line-of-sight between earth station and interfacing sattelite
x=(e-e1)+(g-32+25*log10(theeta))
printf("carrier-to-interface (C/I)... |
21bee90a286b63c3768112e015529ef9fbbfd6ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH12/EX12.9/Ex12_9.sce | f0f501f0c337ed153b5b4f134c85741356f5ae2d | [] | 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 | Ex12_9.sce |
clc
//given
N=270//rpm
ihp=35.8
k=2.25//ft
g=32.2//ft/s^2
ke=1.93//from table on p 440
E=ihp*33000/N
Ef=ke*E
w=%pi*N/30
W=1000//lb
MOI=2*W*k^2//moment of inertia of both wheel
ks=Ef*g/(MOI*w^2)//formula for ks
p=ks/2
printf("The fluctuation speed is therefore %.4f or %.3f on either side of the mean spee... |
c2104ab252297c1bc4bcbf10766131a73fa43ad7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.20/Ex1_20.sce | 5fca4d8fcb3a66027447a9a37e27d7d66bff733b | [] | 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 | 356 | sce | Ex1_20.sce | clc
//to calculate mass(m),speed(v) of an electron
K=1.5*10^6*1.6*10^-19 //kinetic energy(J)
m0=9.11*10^-31 //rest mass of an electron(kg)
c=3*10^8 // velocity of light in vacuum(m/s)
m=(K/c^2)+m0 //relativistic kinetic energy(k=(m-mo)c^2)
disp("mass is m="+string(m)+"kg ")
v=c*sqrt(1-m0^2/m^2)
disp("speed of a... |
8fb51d627704d9649306a20ec6873661d98f6db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.7/Ex11_7.sce | a92cddd06c5c505025cb96a012d5c100becdd042 | [] | 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 | 315 | sce | Ex11_7.sce | //Ex11_7
clc
RL = 3.6*10^3//output impedence of power amplifier
RL_dash = 4//resistance of speaker
n = (RL/RL_dash)^.5//turns ratio
disp("RL = "+string(RL)+"ohm")
disp("RL_dash = "+string(RL_dash)+"ohm")
disp("n = RL/RL_dash = "+string(n))
disp("turn ratio = "+string((numer(n)))+": "+string(denom(n)))
|
fe38122e046dca89651601d5f5d08550f041aca9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/sci2for/adderr.sci | ac25fd2ae1574c356dbf90c2bcd5287ee804d8fd | [
"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 | 492 | sci | adderr.sci | //[errn,nwrk]=adderr(nwrk,txt)
//Cette macro ajoute une erreur dont le texte du message est donne dans txt
// dans la table des erreurs possibles et retourne
// errn : le numero associe a cette erreur dans le sous programme fortran
// il faut alors inserer dans le code fortran les lignes suivantes
// if(...... |
1cc5b449c09eec01e12f7ae693eb4be33c37a511 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.24/Exa2_24.sce | ae8d4e8ee80ae4a65d69504d462abd93c56a4179 | [] | 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 | 437 | sce | Exa2_24.sce | //Exa 2.24
clc;
clear;
close;
//Given data :
delta=1;//relative refractive index difference in %
n1=1.47;//unitless
lambda=1.5;//in um
disp("v=2*%pi*a*n1*sqrt(2*delta)/lambda");
disp("For single mode transmission in graded index fibre, v=2.405*sqrt((alfa+2)/alfa)");
disp("Hence we have :");
alfa=2;//unitless... |
111b40a527cf126520b598f10d565433e2a73b3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH4/EX4.3/4_3.sce | 13ab355b8439d694f72455a56682c313443b9734 | [] | 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 | 319 | sce | 4_3.sce | //To calculate the relaxation time
rho = 1.54*10^-8; //resistivity, ohm-m
n = 5.8*10^28; //conduction electrons per m^3
m = 9.108*10^-31; //mass of electron, kg
e = 1.602*10^-19;
tow = m/(n*e^2*rho); //relaxation time, sec
printf("relaxation time of conduction electrons in sec is");
disp(tow);
|
7d3b072439b386f0f79c8900a1196a6583bf0fba | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH13/EX13.8/ch13_8.sce | a2b23311f0454e2464ba65ae823d1454f865b905 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | ch13_8.sce | clc
disp("Problem 13.8")
printf("\n")
s=%s;
printf("Given")
H=(10*s)/(s^2+30*s+10^6)
disp(H,"H(s)=")
//From the above transfer function
//Comparing the denominator with s^2+a*s+b with w=sqrt(b)
a=30;b=10^6;
//Therefore center frequency is
w0=sqrt(10^6)
//The lower and upper frequencies are
wl=sqrt(a^2/4+... |
85acd2bbc745878924a277d89dad4bb0331662d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.1/Ex2_1.sce | fd8b8200a8ecda90262ca51c7e024a8f82417882 | [] | 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 | Ex2_1.sce | //problem 1 pagenumber 2.86
//given
rf=10*10^3;//ohm
//vo=0.1v1+v2+10v3; 1
//determine r1,r1,r3
r1=rf/0.1;//from 1
r2=rf/1;//from 1
r3=rf/10;//from 1
format(6);
disp('R1 = '+string(r1/10^3)+' Kohm');
disp('R2 = '+string(r2/10^3)+' Kohm');
disp('R3 = '+string(r3/10^3)+' Kohm');
disp('... |
ea29d0f25eea04affe97f94f8df2ba52fbea9647 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH5/EX5.15.1/Ex5_15.sce | f6fa12ce21e9bab93cce1ff868f8964bf72cffe2 | [] | 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 | 633 | sce | Ex5_15.sce | clc
clear
Ms=7.5; //kg/kg of coal
P=11; //in bar
Tf=70; //in C
Eff=0.75; //Efficiency
FOE=1.15; //Factor of Evaporation
Cps=2.1; //in kJ/kg K
Hfw=293; //in kJ/kg
H=(FOE*2257)+Hfw;
//At 11 bar
Hg=2781.7; //in kJ/kg
Tsat=184.1; //in C
Tsup=((H... |
3df7660f2a3b2cc4af21daf880eee2b40cc4ba22 | 364f7d17c4f024c39c47c99bda284bacb913d470 | /macros/cornerEigenValsAndVecs.sci | c5968969fa8e0db17ee35ba064ad10697e2793d0 | [] | no_license | msharsha/FOSSEE-Image-Processing-Toolbox | 6ce7bafc187b99b9e01d1eedcc09a11c3a80370d | f8b16bc3329f9186a3b362f29d9a40d20b48cfd4 | refs/heads/master | 2020-12-02T07:55:57.553927 | 2017-07-10T07:41:21 | 2017-07-10T07:41:21 | 96,747,260 | 0 | 0 | null | 2017-07-10T07:14:37 | 2017-07-10T07:14:37 | null | UTF-8 | Scilab | false | false | 1,851 | sci | cornerEigenValsAndVecs.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_... |
f7a9d05ead4f46aaaed82b5b18b1d568735acb8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.3.13/Example5_13.sce | aa70e9b5ca5fa3a550c3a371a73ff9b6f17a9b6c | [] | 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 | 725 | sce | Example5_13.sce | //Chapter-5,Example5_3_13,pg 5-12
h=6.63*10^-34 //Plancks constant
c=3*10^8 //velocity of light in air
E=1.6*10^-19 //energy of photon
wavelength_ph=h*c/E ... |
7de597e3c9d3451bda882f273ee56da14a8afce0 | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/Scilab-Beginners.sce | eb4e410e199d18374cb5ed185b99482a3a24049e | [] | 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 | 2,934 | sce | Scilab-Beginners.sce | //Already defined functions (type help function)
disp(factorial(4));
//Serie definition
u(1)=1;
for n=1:10
u(n+1)=2*u(n)-3
disp([n,u(n)])
end
//Function definition
function y=f(x);
y=exp(x);
endfunction
f(3)
//Vector definition
v=[3;-2;1]
//Display comment + vector
disp("Bob won: "+string(f(3)))
//Definitio... |
41c84167d1664b158e29fb3edfa6a22acaf2d675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH7/EX7.4/Ex7_4.sce | 161dcd5febc6b155a01428838269ca8bddca6a58 | [] | 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,555 | sce | Ex7_4.sce | //Book Name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 7
//example 7.4
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
V=480;//terminal voltage in volt
p=6;//number of poles
f=60;//frequency in hertz
Tout=300;//constant load torque in Nm
N1=1;
N2=1;
Prot=1e3;//... |
6b1eccec2a0a43a5cdb71572dd958cdce76c0820 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testisnan.sce | 4e82057aec1655aec8bc2825ea146612ca4a9dca | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | testisnan.sce | %nan==%nan // returns %F instead of %T
%nan<>%nan // returns %T instead of %F
isnan(%nan) // accurately returns %T
isnan(%inf) // accurately returns %F
|
dc9517e2642a7e736d88927d49f1f4bee7594e5b | 10b625bb4f968cf83298dd40b285b6f15ab4354f | /Valaquio_Lab9.sce | cd43e651e57a85b849955c1c29d3915be42e0fd4 | [] | no_license | edvalaquio/SciLabProjects | 885b1493b1368bbdccd671a58fba6ead6da9bca1 | aa8efd42ca65d4779376e2ccaf132fd75713fe7f | refs/heads/master | 2021-09-14T20:03:14.736024 | 2018-05-18T10:42:59 | 2018-05-18T10:42:59 | 131,813,353 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,802 | sce | Valaquio_Lab9.sce | function matrix = computeMatrix(mat)
numRows = size(mat, 1)
for i = 1:1:numRows
if(mat(i, i) == 0 & i < numRows) then
mat([i, i+1], :) = mat([i+1, i], :)
end
if(mat(i, i) <> 1) then
mat(i, :) = mat(i, :)/mat(i, i)
end
prevNext = [1:(i-1) (i+1):numRows]
mat(prevNext, :) = (-mat(prevNext, i)... |
87a90e11f8c0da987f7dbbaeced5d1a6e9b8e7ff | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/li_carrays_runme.sci | 0ac157446fc04fa0888d56307d891995d02479ed | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 247 | sci | li_carrays_runme.sci | exec("swigtest.start", -1);
d = new_intArray(10);
intArray_setitem(d, 0, 7);
intArray_setitem(d, 5, intArray_getitem(d, 0) + 3);
checkequal(intArray_getitem(d, 5) + intArray_getitem(d, 0), 17, "d(5) + d(0) <> 17");
exec("swigtest.quit", -1);
|
1bbb9ee14e8fcdf13da6f65f897d83da8e33c99c | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH12/EX12.6/Example12_6.sce | 479f247bf6e3b13069406c308ca4102c123c4417 | [] | 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 | Example12_6.sce | //clear//
//Caption: Program to calculate soliton peak power
//Example12.6
//page 447
clear;
clc;
close;
Lambda = 1550e-9; //wavelength in meters
n2 = 2.6e-20; //power in square meter/w
Aeff = 50e-12; //effective area in square meter
Ldisp = 202e03; //dispersion length in meters
Ppeak = (Aeff/(2*%pi*n2))*(L... |
13d7d6d75532a8ad07fb2a9fee5815f335a329da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH1/EX1.4/exa_1_4.sce | e958f1f357525d32a132f3c566d9a7feef39a3ad | [] | 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 | 198 | sce | exa_1_4.sce | // Exa 1.4
clc;
clear;
close;
// Given data
R1= 100;// in kohm
R2= 500;// in kohm
V1= 2;// in volt
Vo= (1+R2/R1)*V1;// in volt
disp(Vo,"Output voltage for noninverting amplifier in volt")
|
3fd15f58bcc80fc757aa64b2289bbf1127e63f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.40.15/Ex1_40_15.sce | bcf1cb27a15cfae155f8ed502e574a18a1274f6b | [] | 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 | 793 | sce | Ex1_40_15.sce | //Ex 1.40.15
clc;clear;close;
format('v',9);
//Given :
ND=4.5*10^15;//per cm^3
A=1*10^-2;//cm^2
l=10;//cm
tau_p=1*10^-6;//sec
tau_n=1*10^-6;//sec
Dp=12;//cm^2/sec
Dn=30;//cm^2/sec
q=1.6*10^-19;//Coulomb
del_p=10^21;//electron hole pair/cm^3/sec
x=34.6*10^-4;//cm
Kdash=26;//mV(Kdash is taken as K*T/q)
... |
78c76736f2a25de3ce7dfd8708f6a19209af6a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.39/Ex5_39.sce | ef7c308a015a624a2d067ad0457369b1ad358257 | [] | 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 | 760 | sce | Ex5_39.sce | //Ex:5.39
clc;
clear;
close;
printf("Directivity: The max directive gain is called directivity of an antenna.");
printf("\n Directivity= max radiation intensity of test antenna/average radiation intensity of test antenna ");
printf("\n Polarization: Polarization of an antenna means the direction of electric field... |
5fc2f27b94f9669d952cfc8c899caf7eff454219 | 25b5cbd88b9b1c4dd4c6918be2a988027dee667e | /doc/scripts/controller/rootlocus_encoder.sce | f41b9bace8a6b4d4cc7bfde8047e956875236ba8 | [] | no_license | nkigen/nxtLEGO | d592720aabdd4da83f3463719135e4e6072aa6dd | 7ce91955744756bfeb32b4b619b80cc26e83afef | refs/heads/master | 2020-05-20T03:22:49.327962 | 2015-03-01T17:35:27 | 2015-03-01T17:35:27 | 17,963,092 | 0 | 0 | null | 2014-07-17T18:41:48 | 2014-03-21T00:17:33 | C | UTF-8 | Scilab | false | false | 87 | sce | rootlocus_encoder.sce | global G;
global Kc;
global C;
global LpAlpha;
global Tc;
Tc = 0.001;
LpAlpha = 0.62;
|
cb08bcd4f2f0e2c1ae6fdb7a8f69d2dc52c7cabb | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/dot, cdot, norm_dot.sce | 4c37dfe3e54fbc71901d0128fa0edc72b70099c7 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | sce | dot, cdot, norm_dot.sce | // Function Name: dot, cdot, norm_dot
|
e50b802e56a5b4357530ae253ffb1adf878f9c53 | 4ba406c1422fd1f3462feb6c2f378b17ea9175c2 | /src/functions/dump/GeoPlanet.tst | 93fffd48aaa749678a632b644619a7733d7abfe2 | [] | no_license | dwjohnston/geoplanets-model | 236670178c456a0537ee31cfb3ab931ea46c7edf | 06ff2b0ec83272f56ffe02b9ee38f1e169b41a51 | refs/heads/master | 2021-07-12T23:00:17.411355 | 2018-09-02T08:08:22 | 2018-09-02T08:08:22 | 144,376,835 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,707 | tst | GeoPlanet.tst | import Parameter from '../Parameter';
import Planet from "./Planet";
import {Circle, Polygon, Position, Color, Line, GeoUtil,AbstractPolygon} from 'blacksheep-react-canvas';
import BasePhaser from "./modules/phasers/BasePhaser";
class GeoPlanet extends Planet{
constructor(speed, distance, color, center, label,... |
588dfa3226f5c0d5a11765d0bc4b509a6031c9c5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/tests/fmlelm.tst | b7cf39c660e28358683038111532499f70d5c7a4 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,572 | tst | fmlelm.tst | mode(-1)
if addf('1','1')<>'2' then pause,end
if addf('1','0')<>'1' then pause,end
if addf('0','1')<>'1' then pause,end
if addf('0','0')<>'0' then pause,end
if addf('1','-1')<>'0' then pause,end
if addf('-1','1')<>'0' then pause,end
if addf('-1','0')<>'-1' then pause,end
if addf('0','-1')<>'-1' then pause,end
if addf(... |
0e26e6f0b57518f4f8c43809d56b6023ec9c7b53 | a50d8e086b29a65e00db43ab5df6a1b07b9a37b1 | /de_Bortoli_2018_PhD_Code.sce | eea076596756d02591537f93921b35c637a3d409 | [] | no_license | Anne2B/PhD | 25aed8f59be749f3eb57136cd3eabaa7924bba43 | dafd52898c3c51b22a87bc99eb205ac23f41e07d | refs/heads/main | 2023-04-11T22:25:54.327728 | 2022-01-15T15:11:27 | 2022-01-15T15:11:27 | 443,641,674 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 44,216 | sce | de_Bortoli_2018_PhD_Code.sce | //Les paramètres à modifier dans le code selon l'étude de cas peuvent être repérés avec un contrôle f "//Paramètre"
//Lancement du compteur de temps de calcul
tic();
//MODULE - DEFINITION DU SYSTEME DE REFERENCE
DVT_chaussee=39;//Paramètre
//Année de début d'évaluation = à laquelle on veut savoir quel entret... |
85af8c1571c6b146868de44ebc83c12d1048f232 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.3/5_3.sce | e28e6232fb20c836a5c4270c34fb87a49bd9d037 | [] | 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 | 545 | sce | 5_3.sce | //finding the inclination of the plane and coefficient of friction
//refer fig 5.7
//consider equilibrium of system
//Case (a)
//N=500*cosd(theta)
//Using law of friction
//F1=mu*N
//500*sind(theta)-500*mu*cosd(theta)=200
//Case (b)
//N=500*cosd(theta)
//usin law of friction
//F2=mu*N
//500*mu*cosd(theta)... |
fa186eb945c4d60a5a5e95d5e2f25679ccf67505 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummin/cummin11.sce | 0abdf0e4cb343ca0e19e698ec867259e0156a0c5 | [] | 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 | 222 | sce | cummin11.sce | //check o/p when no i/p args are passed to the function
m=cummin();
disp(m);
//output
//!--error 77
//cummin: Wrong number of input argument; 1-6 expected
//at line 50 of function cummin called by :
//m=cummin();
|
c533657124dd1c761649124a09f81f36006c7e60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.20/6_20.sce | 3d4b793711391eb9589db9f70497e0993ac8f22d | [] | 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,052 | sce | 6_20.sce | //pathname=get_absolute_file_path('6.20.sce')
//filename=pathname+filesep()+'6.20-data.sci'
//exec(filename)
//Pressure of the steam(in bar):
p1=10
//Temperature(in °C):
T=500
//Final pressure(in bar):
p2=1
//From steam tables:
h10bar500 = 3478.5 //kJ/kg
s10bar500 = 7.7622 //kJ/kg.K
v10bar500 = 0.3541 //m^3... |
0f2d12c3e42fc41a718cb47de05fc02d8e582496 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/vpcGuiTrmsView.sci | 08b5ca755f1a7551f39d130ad580506e9745c0bd | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,713 | sci | vpcGuiTrmsView.sci | function vpcGuiTrmsView(c1Frame,hrtConfig)
tam = 120;
for i=1:bdVpcGet('size')
varName = bdVpcGet(i,'name');
DataType = bdVpcGet(i,'type');
count = floor((i-1)/tam);
uicontrol(c1Frame,...
'tag','Text_'+string(i),...
'Style','text',...
'Margins'... |
b76763cf8ac210a6f7b6a8b6804276242ac1cfbc | a006a53d954de031fd82f26f4fc82c8fb610293c | /demos/c_sum.dem.sce | e00dc3d4cb9e1d42bc5e2653da2de1ff644dcdea | [] | no_license | Siddharth11235/CSDP-basic | cba775450ad5f7271ecc00ada0831c3ed1518958 | 97c441b8a6eea4c6b4466c03828f048e2c0fc37a | refs/heads/master | 2021-06-20T23:43:51.881537 | 2017-07-17T12:30:00 | 2017-07-17T12:30:00 | 96,966,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | c_sum.dem.sce | //
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function demo_c_sum()
mode(-1);
lines(0);
disp("c_sum(3,4)");
disp(c_sum(3,4));
endfunction
demo_c_sum();
clear demo_c_sum;
|
a44bd94366b886ec18eb51bb014c87a0aa10819c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH6/EX6.4/Ex6_4.sce | 28da67d1e0de64480199db7e2a822d40d3438545 | [] | 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 | 200 | sce | Ex6_4.sce | //Example 6.4, page 220
clc
m=9*10^-31//in kg
h=10^-34//in j-s
V=10//in ev
a=1.8*10^-10//in m
//convert v to joule
Vo=V*1.6*10^-19//in Joule
N=(2*m*Vo*a^2)/(h^2)
printf("\n Numbers given is %d ",N) |
4ea35681610f57699ac2aa92b052868823910a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH9/EX9.7/Ex9_7.sce | 5dacfa299a80c75fe1cf317a9ed7f8652834266f | [] | 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 | 502 | sce | Ex9_7.sce | //Ex9_7
clc
IIL=-1.6*10^(-3)
disp("IIL= "+string(IIL)+" A") // Input sink Current of TTL driver
IIH=40*10^(-6)
disp("IIH= "+string(IIH)+" A") // source (supply) reverse Current of TTL driver
IOL=16*10^(-3)
disp("IOL= "+string(IOL)+" A") // Specified Maximum sink Current of TTL driver
IOH=-400*10^(-6)
disp("... |
88befb3e02d7a00d12196715c21c065ad5637ffb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH2/EX2.4/Example2_4.sce | 83fe5296eb60a6f1dda4f40d997aae8a1824e0d3 | [] | 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 | 863 | sce | Example2_4.sce | //Example 2.4
clc
format(6)
disp("It is necessary to analyze each network to determine the critical frequency of the amplifier")
disp("(a) Input RC network")
fc1=1/(2*%pi*[680+1031.7]*(0.1*10^-6))
disp(fc1," f_c(input)(in Hz) = 1 / 2*pi*[RS+(R1||R2||hie)]C1 =") // in Hz
disp("(b) Output RC network")
form... |
bfd9b80751d9d8273f0d14a9aa2f30cf54377011 | b5c67ec6ca2b68ab137bf01b712c2296efa2276d | /code/tst/suite_07_reduce.tst | f45d1515287a1d2acc7d4a94142ff6dbfbd6d639 | [
"BSD-3-Clause"
] | permissive | mikekucera/MapleMIX | 32acb8ffa0af64efe9eb1367a40a099de18232f7 | 695307111fbeb360c30d8c3ef30cc182bc3678b4 | refs/heads/master | 2023-06-22T21:57:01.033953 | 2023-06-09T14:43:39 | 2023-06-09T14:43:39 | 27,238,914 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | tst | suite_07_reduce.tst | #test
# TEST SUITE 7: Reducing Expressions ##################################
with(TestTools):
kernelopts(opaquemodules=false):
#libname := libname, "/home/mike/thesis/trunk/maple/pe/current/lib":
libname := libname, "../lib":
# TEST 1: MCatenate ###################################################
m := MCatenate(... |
433cb5d8293025206072a333c61c248c19869ebc | d7087cf730b37f76170323e080c090f8094979ac | /test/parser/a2.tst | 5348c3f0a6448b453decac2dd1d37bd61ed48217 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | tst | a2.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
while ! ls;
do
while ! ls;
do
while ! ls;
do
while ! ls;
do
echo a ne pas ecrire;
done;
done;
done;
done;
echo a ecrire;
</stdin>
|
6562f04ec181ec6f3a281bf217db88022ccf1918 | 08e6015408a35a317d4d0b609af8ccae9b88a3bf | /src/03/b/RAM4K.tst | 3732dc31a4d3e2c5d102871e66580e306709b08a | [
"MIT"
] | permissive | lekhacman/nand2teris | 38c7aa44b2329ccf102333af5dc1dd542869144b | 520ca48a492b6ac8966330ddaf5174c19e5a8f7f | refs/heads/master | 2023-01-06T18:36:35.660251 | 2020-12-27T09:08:39 | 2020-12-27T09:08:39 | 209,975,266 | 1 | 0 | MIT | 2022-12-10T03:13:50 | 2019-09-21T11:41:33 | Scilab | UTF-8 | Scilab | false | false | 12,819 | tst | RAM4K.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/b/RAM4K.tst
load RAM4K.hdl,
output-file RAM4K.out,
compare-to RAM4K.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.4.2 out%D1.6.1;
set in 0,
set... |
470d00b729e737b8a961315d067173db111e9076 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Romance/lld.tst | 57656a70cf2bf0dda34fe4b9d824c79cf63594e8 | [] | 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 | 39,930 | tst | lld.tst | istituir V;IND;PL;3;PRS;LGSPEC2
cunvalider V;IND;SG;1;FUT
produjer V;IND;PL;3;PRS
adoter V;NFIN;SG;2;LGSPEC2
acrediter V;IPFV;SBJV;SG;1;PST
secuestrer V;IND;PL;1;PRS
giudicher V;SBJV;PL;3;PRS
destumer V;IND;SG;1;PRS;LGSPEC2
comprer V;IND;PL;3;PRS;LGSPEC2
cunzeder V;IPFV;SBJV;PL;2;PST
renunzier V;IND;SG;1;PRS;LGSPEC2
re... |
be18f1fb8f0f18fb4057cd6e015d38679d0c43ad | 0dd46f764213376689f04c662c7bef9c1517ae8b | /inter/inter.sci | 50c545063a7e10f5213c8ce1d73a5f51a9bdc122 | [] | no_license | hospitaler17/NumMeth | 85d174e6f8adfb488b577855b0f5b9977a87438b | 283677e9f47df559febaab33cc216e3634b95612 | refs/heads/master | 2021-09-12T12:43:55.522029 | 2018-04-16T20:09:09 | 2018-04-16T20:09:09 | 109,737,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,165 | sci | inter.sci |
x = [8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 1... |
3a794b7641a9864c2dd692a2c0ffd2d424e2630d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH4/EX4.1/example4_1.sce | 3a93d11ab1d14fa611adbb4bc3b6c8132dc40c4d | [] | 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 | 980 | sce | example4_1.sce |
clc
// Given that
lambda = 5.5e-7 // wavelength of light in meter
c = 3e+8 // speed of light in m/sec
h = 6.63e-34 // Planck constant in j/sec
e = 1.6e-19 // charge on electron in coulomb
k = 8.62e-5 // Boltzmann constant in eV/K
T = 300 // temperature in kelvin
// Sample Problem 1 on page no. 4.24
printf("\n # PROB... |
664d4a1bba3596cb5bdacd289b96d50a9d56854b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH9/EX9.26/Example9_26.sce | d8acc46e24ebb49400f452f71e2357ea2d23eb26 | [] | 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 | 871 | sce | Example9_26.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES
// EXAMPLE : 2.26 :
// Page number 120
clear ; clc ; close ; // Clear the wo... |
12ad7395766f93d09b22242f73ec98834dbb3f61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.33/Ex18_33.sce | 15f382a4a78b319a478fa10d727af44061a0c36c | [] | 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 | 697 | sce | Ex18_33.sce | //Initilization Of Variables
W1=2 //lb
W2=3 //lb
a=0 //Lower Limit oF the Integral
b=2 //Upper Limit of the Integral
n=10 //Interval of the integral
k=12/12 //lb/ft
g=32.2 //ft/s^2
//Calculation
//Work Done by the spring
//Using Trapezoidal Rule for Intergration
function[I1]=Trap_Composite1(f,a,b,n)
h=... |
6f9a77a8b312f88c7d2c71e76f1dbe812fe55143 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/scilab_shallowwater/testmet.sce | 03ad8bc1cad48c3b3dbf29f4c0e8fe6566a6dbed | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | testmet.sce | //AddMetadata('author',metadata.author,elist);
AddMetadata('date',metadata.sdate,elist);
AddMetadata('platform',metadata.platform,elist);
AddMetadata('description',metadata.desc,elist);
AddMetadata('name',metadata.name,elist);
|
63b3118811634d612a4f921591d05b94021a9308 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH10/EX10.4/10_4.sce | 67f00469f1be39b0457a6a2169389cf81158b540 | [] | 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 | 485 | sce | 10_4.sce | //Example No. 10_04
//Curve Fitting
//Pg NO. 335
clear ; close ; clc ;
x = 1:4 ;
y = [6 11 18 27 ];
n = length(x) //Number of data points
m = 2+1 //Number of unknowns
disp('Using CA = B form , we get')
for j = 1:m
for k = 1:m
C(j,k) = sum(x.^(j+k-2))
end
B(j) = sum( y.*( x.^( j-... |
d1db62354f9d0ed16cab1cfa069bb8ace581317e | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH10/EX10.1/10_1.sce | b3c2821166ddfc2a7f2b888c0fe024b1fa2b3996 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 10_1.sce | clc;
y=1.4;
p1=8.6;
pc=p1*[(2/(y+1))^{y/(y-1)}];
T1=190+273;
Tc=T1*[2/(y+1)];
R=287;
vc=R*Tc/(10^5*pc);
Cc=(y*R*Tc)^0.5;
m=4.5;
A=m*vc/Cc;
disp("mm^3",A*10^6,"Area of troat is:");
p2=1.03;
T1=463;
T2=T1/([p1/[p2]]^([y-1]/y));
v2=R*T2/(10^5*p2);
cp=1.005
C2=[2*cp*10^3*(T1-T2)]^0.5;
A2=m*v2/C2
disp("mm^3",A2*10^6,"Ex... |
c87d2f8eae4397d21b2a6ad18e0c7629fca954e8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/sci2for/gencall.sci | fc1fbee9f78068b7628b1d2d6988a30d1d63497f | [
"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 | 323 | sci | gencall.sci | //[t]=gencall(arg)
//gencall(arg) genere une instruction call fortran a partir du vecteur de
//chaine arg dont le premier element est le nom du sous programme et les
//suivants les arguments d'appels
//!
n=prod(size(arg))
t=' call '+arg(1)+'('
if n=0 then return,end
for k=2:n-1,
t=t+arg(k)+','
end
t=t+arg(n)+')'
//e... |
50be3aa2c620d85d2f3db723ef2193f6d2850fd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH9/EX9.7/ex9_7.sce | a1ad3bb3a5bf841183bca7ef545ba635c5194c48 | [] | 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 | ex9_7.sce | //Page Number: 457
//Example 9.7
clc;
//Given
S11=0.90;
S12=0;
S21=2.40;
S22=0.80;
Gmax=(S21*S21)/((1-(S11)^2)*(1-(S22)^2));
Gdb=10*log10(Gmax);
disp(Gdb,'Maximum gain:');
|
7fcfe9eda567a99e0ae64a1ca3c977ee2d2d5b6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH11/EX11.1/Chapter11_example1.sce | 0307b2e181eda9a945d4bb5c5ed00d622d2ff017 | [] | 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 | 576 | sce | Chapter11_example1.sce | clc
clear
//Input data
nsc=75;//The scavenging efficiency of the two stroke engine in percent
ns=20;//The scavenging efficiency is increased by in percent
//Calculations
Rsc=log(1/(1-(nsc/100)));//The scavenging ratio for normal efficiency
nsc1=(nsc/100)+((nsc/100)*(ns/100));//For 20% increase in scavenging e... |
7d8573a9578efd664283c97c374e5561fcf59fbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.6/Ex5_6.sce | aad9838c6df682a65e91d8fa86f40af4a46774c5 | [] | 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 | 764 | sce | Ex5_6.sce | //=============================================================
//Chapter 5 example 6
clc;clear all;
//variable declaration
R = 50; //resistance of the magnetic coil in Ω
Rt = 500; //resistance in Ω
L = 0.09; //inductance of the voltmeter in H
f = 50;
I = 1; ... |
6ebdf587b2b36930458ef9f0a8754d847f3d5d48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH12/EX12.3/Ex12_3.sce | d0d11c48be16323210490512057b67fa790495a4 | [] | 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 | 174 | sce | Ex12_3.sce | clc;
close();
clear();
//page no 403
//prob no. 12.3
B=2*10^6; //Hz
Req=6*10^6 ; //ohm
Vrms=(16*10^-21*B*Req)^0.5; //volts
mprintf('vrms=%.1f micro-V',Vrms*10^6);
|
814b9dc4a867085f85efd19e9a7f18dcaeaecf0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH13/EX13.12/exa13_12.sce | 61bbd7d430f7798afcf1d99a173897c510bcd4c0 | [] | 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 | 569 | sce | exa13_12.sce | // Example 13.12
// Calculating a Zero-Input Response
L=2;
R=20;
C=1/200;
s=%s;
// for t<0
i_L_bef=6;
v_C_bef=20*i_L_bef;
// for t>0 ,figure 13.13(b)
//Applying Mesh equation for I_L_s
I_L_s=(12+120/s)/(2*s+20+100/s);
// I_L_s has the form (Bs+C)/(s^2+2*alpha*s+omega_0^2) comparing these equations
// we ... |
3d5ef27125c79600e02124d6e71c71cee3138026 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH16/EX16.1/ex16_1.sce | e1e0ab1fffba8c9bda05e05a3142b13e0167ed0f | [] | 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 | ex16_1.sce | //Exam:16.1
clc;
clear;
close;
T_c=4.2;//critical temperature of mercury
k=1.4*10^(-23);//
E_g=3*k*T_c;//energy gap (in Joule)
e=1.6*10^(-19);//charge on the electron
E=E_g/e;//energy gap (in electron volt)
h=6.6*10^(-34)// in J-s
c=3*10^8;//in m/s
wavelength=h*c/E_g;//wavelength of a photon (in m)
disp(E,... |
70d80049e7190589b6fae5cf35667424780024a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH6/EX6.1/example6_1.sce | dda7f0b288b39c3878940e576bdab3cca1aabb08 | [] | 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 | 484 | sce | example6_1.sce | i1=10;
i2=0.5;
i3=1.5;
v=120;
disp("Part a");
i=i1+i2+i3;
disp("the total current (in A) supplied by the source is"); disp(i);
disp("Part b");
disp("voltage (in V) across the lamp is"); disp(v);
disp("Part c");
r=v/i;
disp("the combined resistance (in Ω) is");disp(r);
disp("Part d");
i4=15;
r4=v/(i4-i);
... |
01100076322c7dc3a1f47a895faaac374401120d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH5/EX5.6/Ex5_6.sce | f6a164c8e01ee0fa2cada9d724be39baebf5640b | [] | 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 | Ex5_6.sce | clc
//initialization of new variables
clear
L=10 //m
D=0.02 //m
Uav=0.15 //m/s
rho=1000 //kg/m^3
mu=10^-3
g=9.8 //m/s^2
//calculations
Re=rho*Uav*D/mu
f=64/Re
Hf=f*L*Uav^2/(D*2*g)
//results
printf('Head loss is = %.4f m',Hf)
|
8b26787ee7aa9d5117fc2bef37230256eea738ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH7/EX7.14/7_14.sce | 6effa0abec537f9931b7172ee982bef4a5f5236e | [] | 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 | 835 | sce | 7_14.sce | //solution of equations by iteration method
//example 7.14
//page 282
//jacobi's method
clc;clear;close;
C=[3.333;1.5;1.4];
X=[3.333;1.5;1.4];
B=[0 -0.1667 -0.1667;-0.25 0 0.25;-0.2 0.2 0];
for i=1:10
X1=C+B*X;
printf('X%d',i);
for k=1:3
for l=1:1
printf(' %f ',X1(k,l))
... |
0eb5e030cfd7003f722caa9bb62f9631be419c4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH6/EX6.5.13/6_5_13.sce | 208e72660d1a6abe71dc42e574fc27cbc8e66171 | [] | 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 | sce | 6_5_13.sce | disp('To determine if u is the least square solution to Ax=b')
disp('Given')
a=[3 4;-2 1;3 4]
disp(a,'A=')
b=[11;-9;5]
disp(b,'b=')
u=[5;-1]
v=[5;-2]
disp(v,'v=',u,'u=')
disp('Au=')
disp(a*u)
c=b-a*u
disp(c,'b-Au=')
disp('||b-Au||=')
disp(sqrt(c(1,1)^2+c(2,1)^2+c(3,1)^2))
disp('Av=')
disp(a*v)
d=b-a*v
... |
4f348f157cc8e9dd55b0d4b738164b0e9568c6c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH16/EX16.16/16_16.sce | 203bb32db76170930f0069ccba11d416813013b8 | [] | 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 | 222 | sce | 16_16.sce | clc;
Beta=1/303;
g=9.81;
l=1;
delta_t=327-30;
v=(5.128*10^-5);
Gr=Beta*g*l^3*delta_t/v^2
alpha=1.31*delta_t^0.33333
A=1;//m^2
delta_t=627-27;
Q=alpha*A*delta_t
disp("rate of heat loss:");
disp("kW",Q/1000);
|
24e0e1407654541d4ba8de1f56da6c23c95ee1d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.10/9_10.sce | d20b6ecd989a4cd9446725df888ff5782fe9aa5f | [] | 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 | 222 | sce | 9_10.sce | //Chapter 9, Problem 10
clc;
E=1.5*10^3; //emf
dI=4; //change in flux
dt=8*10^-3; //change in time
D=dI/dt;
L=E/D;
printf("Inductance L = %d H",L);
|
56f30095f6cb7fd633b27d48cdab05f3190e2423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH4/EX4.3/Exa4_3.sce | 10711c0a6cae9ae506b36e38840e58810dff686c | [] | 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,355 | sce | Exa4_3.sce | //Exa 4.3
clc;
clear;
close;
//given data :
disp("For a two elements arrayy the total field is given by : ");
disp("E=2*Eo*cos(psi/2)");
disp("(i) It is a case of braod side array : so, delta = 0");
disp("psi = Beta*d*cos(theta)+delta")
disp("d=3*lambda/2");
disp("Beta*d = (2*%pi/lambda)*(3*lambda/2) = 3*%pi"... |
0c434a142391d113357696fb0afdf05b34df5fae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH6/EX6.4/Ex6_4.sce | a6aca44660afca5cc6ee3f0a481d7220d1887f28 | [] | 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 | 315 | sce | Ex6_4.sce | //example 6.4
clc; funcprot(0);
Cc=0.28;
Hc=18*12;
e0=0.9;
sigmao=11*100+40*(121.5-64)+18/2*(118-62.4);
H2=5+40+18;
H1=5+40;
qo=3567;
//from table
IaH2=0.21;
IaH1=0.225;
Dsigma=qo*((H2*IaH2-H1*IaH1)/(H2-H1))*4;
Scp=Cc*Hc/(1+e0)*log10(sigmao/sigmao+Dsigma/sigmao);
disp(Scp,"settlement in inches");
|
9c74abd07277f99bfe729126e3ec223e3c4978ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.9/9_09.sce | 79b72561d9c94605e20ea7c80d19f41ac11e7cd1 | [] | 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 | 273 | sce | 9_09.sce | //Chapter 9, Problem 9
clc;
L=12; //inductance
dI=4; //change in current
dt=1; //change in time
E=-L*(dI/dt); //calculating induced emf
printf("Induced emf E = %d V",E);
|
bc30268f2688857a0b6405db8aa05e2901248feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH2/EX2.3/Ex2_3.sce | 0a261adbd6157d1f183063fe5ca48204e8490934 | [] | 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 | 318 | sce | Ex2_3.sce | h1=1
k1=0
l1=0
h2=1
k2=1
l2=0
h3=1
k3=1
l3=1
a=1
//Calculations
d1=a/(sqrt(h1**2+k1**2+l1**2))
d2=a/(sqrt(h2**2+k2**2+l2**2))
d3=a/(sqrt(h3**2+k3**2+l3**2))
//Result
printf('d1 =%0.2f\n",d1 )
printf('d2 =%0.2f\n",(d2))
printf('d3 =%0.2f\n",(d3))
printf('d1:d2:d3 =%0.2f:%0.2f:%0.2f",d1,(d2),d3)
|
39a78d6a22a7081b995b6368a8245a60cf3fa5f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH9/EX9.12/ex_12.sce | d6afbbbcb2523b9ea9bbd2e8204b9de91437742a | [] | 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 | 422 | sce | ex_12.sce | //Example 12// equation,frequency,amplitude ,wavelength and distance
clc;
clear;
close;
//y=6*(sin(2*%pi*x)/6)*cos(160*%pi*t);//given equation
a=3;//cm
T=(2*%pi)/(160*%pi);//sec
h=((2*%pi*6)/(2*%pi));//cm
disp("wave equation is 3*sin((160*%pi*t)+(2*%pi*x)/6)")
disp(a,"amplitude is ,(cm)=")
disp(1/T,"frequency is ,(Hz)=... |
b0e3faae698e8fe837a59d909db7d10d0ca6f6cc | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/sigmoid_train.sci | 181584aeea0d37ad2450a85229b4df482a0e8c82 | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 796 | sci | sigmoid_train.sci | function y =sigmoid_train(t, ranges, rc)
// Evaluate a train of sigmoid functions at T.
//Calling Sequence
//y = sigmoid_train(t, ranges, rc)
//Parameters
//t: integer
//ranges: matrix
//Description
//The number and duration of each sigmoid is determined from RANGES. Each row of RANGES represents a real interval, e.g. ... |
d20d9e86c6ef617d14db6a5a24ccf58223bfafc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.7/Ex1_7.sce | cff397a7694338f792ec21fa39fa1589616e7127 | [] | 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 | 873 | sce | Ex1_7.sce | clear all;
clc;
L = 24;//length of the bar in ft
d1 = 9/8;//diameter of the bar in inches
l1 = 6;//in ft
d2 = 1;//in inches
l2 = 12;//in ft
d3 = 5/4;//in inches
l3 = L-l1-l2;//in ft
P = 10000;//axial compression in lb-wt
E = 28*10^6;//modulus of elasticity in lb/in^2
A1 = 0.25*%pi*d1^2;//in in^2
A2 = 0.25*%... |
955ccce9e3bb7e8f8518970315c0ccc7e73b3204 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/2_53.sci | f97e569e5c5c6dcbff84e6f9060fda50c0e72709 | [] | 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 | 142 | sci | 2_53.sci | b=3//m(Breadth of rectangular surface)
l=4//m(length of rectangular surface)
h=6//m(Distance between the oil surface and the lower 3-m edge) |
8cdcacf738bf6623dba7b7a83d99105ee3e36050 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.10/Ex3_10.sce | e4cabbe6cfaa314c43f6667eba32d6242bfc2436 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex3_10.sce | //Example 3_10
clc;
clear;
close;
format('v',6);
//given data :
V=200;//V
f=50;//Hz
R=40;//ohm
L=0.0637;//H
XL=2*%pi*f*L;//ohm
IR=V/R;//A
IL=V/XL;//A
I=sqrt(IR^2+IL^2);//A
disp(I,"(a) Current drawn from supply(A)");
S=V*I/1000;//kVA
disp(S,"(b) Apparent Power(kVA)");
P=V*IR/1000;//kW
disp(P,"(c) Real ... |
b5d2336f1f80eae286cd7300bdbc8f07eac77827 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH7/EX7.2/Ex7_2.sce | c2a2fec2b2598f7711ac84efd567c6192edc92ee | [] | 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 | 456 | sce | Ex7_2.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 7.2
//Design of a peak reading voltmeter
//given data
r=1000//ratio is 1000:1
V=100*10^3//read voltage(in V)
R=10^7//value of resistance(in ohm)
//calculation
//take range as 0-10 microampere
Vc2=V/r//voltage at ... |
74a0526320233a299bf2193caad34a7b4e155e2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH6/EX6.7/Example6_7.sce | b099e98254c0ca0e404e2fdcfba85ab5b1b2be15 | [] | 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 | 696 | sce | Example6_7.sce | //Example 6.7
//Program to compare the ratio of threshold current densities at 20 C
//and 80 C for AlGaAs and InGaAsP
clear;
clc ;
close ;
//Given data
T1=293; //degree C
T2=352; //degree C
//For AlGaAs
T0=170; //degree C
Jth_20=exp(T1/T0);
Jth_80=exp(T2/T... |
aae4bd030c779dc716813358b79a89084c2eb5b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH5/EX5.17/Ex5_17.sce | ed9de46d97b23ce36343c3825df9bad661981096 | [] | 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 | 673 | sce | Ex5_17.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=(round(sd*100)/100)
dms=[d m sd]
endfunction
GMT=16+22.0/60+55.0/3600;
ET=3.0/60+43.0/3600;
c=90-42-20.0/60;
p=90-18-45.0/60-50.0/60;
z=9... |
c90468a36d3bc3edb9327bd2edec6b6480e6b55f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.1/Ex6_1.sce | 33d24470b4f495397a6b72e06c8a1806d67a2dd5 | [] | 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 | Ex6_1.sce | //Initilization of variables
H=30 //ft
F=150 //lb
theta1=10 //degrees
theta2=30 //degrees
theta3=60 //degrees
//Calculations
//Matrix solution of simultaneous equations
X=[cosd(theta3)*sind(theta2) -cosd(theta3)*sind(theta2);cosd(theta3)*cosd(theta2) cosd(theta3)*cosd(theta2)]
Y=[0;F*cosd(theta1)]
R=inv(X)*... |
42f9af078ce6bb6d8cbe1e1fbba90486cf64f158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH8/EX8.13/8_13.sce | 9d6332655ecd94dc3a5a7fe952471aafb16de288 | [] | 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 | 525 | sce | 8_13.sce | // To determine the auto tranformer ratio and starting torque
clc;
clear;
V=400;
f=50;
p=4;
sfl=4/100;
Ria=2.5; // Ratio of starting current to full load current (Auto transformer)
Rir=4; // Ratio of starting current to full load current ( For the Rated Voltage)
x=sqrt(Ria/Rir);
Rt=((x*Rir)^2)*sfl; ... |
a6b17162c0018461c15004792190e8e6b046c469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.34/EX3_34.sce | 46c518949be8f80c8eec4ccc07157d2dc86bfdb6 | [] | 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 | 622 | sce | EX3_34.sce | //EXAMPLE 3-34 PG NO-194
Vp=230.94;
Van=230.94+%i*0;
Vbn=-115.47-%i*200;
Vcn=-115.47+%i*200;
Z=8-%i*10;
Ia=Van/Z;
disp('i) CURRENT (Ia) is in rectangular form = '+string (Ia) +' A ');
Ib=Vbn/Z;
disp('ii) CURRENT (Ib) is in rectangular form = '+string (Ib) +' A ');
Ic=Vcn/Z... |
7c79e238aadee5469b3a208ad343f94fa4d209bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.13.a/data4_13.sci | f880eb8a1dcc764b2b5d31260ec6f6b3ce5341c6 | [] | 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 | 347 | sci | data4_13.sci |
//(Design against Satic Load) Example 4.13
//Refer Fig.4.40
//Force acting on the overhang crank P (kN)
P = 1
//Tensile yield strength of 45C8 material Syt (N/mm2)
Syt = 380
//Factor of safety fs
fs = 2
//Horizontal distance between the point load and A h (mm)
h = 500
//Vertical distance between the point l... |
49ecf4677816365447a3e35ef921dfcf8ed2e1a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH2/EX2.19/Ex2_19.sce | cf13084950d4c441cec89553917842a443f13f24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Ex2_19.sce | clear
//Given
l = 30 //in - The length of the rod
p_1 = 80 //kips - The Force on the end
p_2 = 125 //kips - The force on the other end
A_s = 0.5 //sq.in - The crossection of the steel rod
A_a = 0.5 //sq.in - The crossection of the aluminium
E_a = 10*(10**6) //psi - The youngs modulus of the aluminium
E_s = 30*(10**... |
cbbcd8574d1bc4d15a752b65e3df0f7eecf4880d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BXP2.prev.tst | 8b1f2bc9ec1ada425774970ac4ec806bdd74d6d5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,472 | tst | BXP2.prev.tst | 0 0 0 0 0
1 1 1 0 0
2 4 3 2 0
3 9 5 2 0
4 16 7 2 0
5 25 9 2 0
6 36 11 2 0... |
49fa355e37c4eb5840a4bbeaa614f8e19df98f4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH20/EX20.13/Ex20_13.sce | e0f5eb5549bc53020cc8b2cee604ec89a265e3e0 | [] | 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 | 220 | sce | Ex20_13.sce | clear
//Given
R=6.4*10**6 //m
hr=50 //m
ht=32 //m
//Calculation
//
d=sqrt(2*R*ht)+sqrt(2*R*hr)
//Result
printf("\n Maximum distance is %0.1f Km",d*10**-3)
|
308dec939b2961b4a1a21dad7bf22982d1695850 | 2f213caa34d1d6981b1308de71102bcc84ff38a9 | /8term/Labs/OS/Labs/os_lab6/test.sce | 09db529763f40825a8ea503c65c903ccd9555cbd | [] | no_license | kilel/Study | d38ad39aae77fef92e187b8f30891a3b642095fd | 2d270176f61aaac96d5cab3c342622f5b3b9480d | refs/heads/master | 2021-01-19T08:26:05.142277 | 2014-05-18T21:03:18 | 2014-05-18T21:03:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | test.sce | x = 10;
y = log2(10)*(1/log2(x) + 2/log2(10*x) + 3/log2(100*x));
z= 1/log2(x);
y = 2*cos(2 * x) + 2*cos(4 * x) + 3*(sin(2* x))^2 - 1; |
01caa219d8f92ccfc26c9b5cfdc75ca2cbcf775b | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH27/EX27.6/Example27_6.sce | 650f4672822f1fee1448abcf383aca1c28790e12 | [] | 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,381 | sce | Example27_6.sce | clear ;
clc;
// Example 27.6
printf('Example 27.6\n\n');
//page no. 853
// Solution
// Given
m_water = 1 ;// Mass flow rate of water -[lb/min]
P1 = 100 ;// Initial pressure - [psia]
P2 = 1000 ;// Final pressure - [psia]
T1 = 80 + 460 ;// initial temperature - [degree Rankine]
T2 = 100 + 460 ;// final temperature - [... |
7229237f6965de8435b12ed0e1ededcbeb41af87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH5/EX5.8/example8.sce | 4f5d33a268eb324a9015b42769130bdb1d6cdac0 | [] | 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 | 503 | sce | example8.sce | // find approximate ripple voltage across load
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 5-8, page 154
clear;clc; close;
// Given data
Rs=270; // series resistance in ohms
Vrin=2;// input ripple in volts
Rz=8.5;// zener resistance in ohms
V... |
1167118fe1b67b75735a92265d903af2528618c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH5/EX5.7.a/48sampleex1.sce | d46605594e6865fdb59cc78bb26eacd8938b1b72 | [] | 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 | 142 | sce | 48sampleex1.sce |
//f(x):x->3x;g(x):x->x-2;fg(5)
clear;
clc;
close;
x=poly(0,'x');
f=3*x;
g=x-2;
// fg= f(g(x))=f(x-2)=3*(x-2)
x=5;
fg=3*(x-2)
|
73c7199b6def2e3b31a6a70b2a64402e2d0fc8ed | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Power-1_Transmission_And_Distribution_Of_Electrical_Power_M._L._Anand_1802.zip/Electrical_Power-1_Transmission_And_Distribution_Of_Electrical_Power_M._L._Anand_1802/CH7/EX7.14/Exa7_14.sce | 7b4d0dd422d50bcd30de6d8f2a9636edcbba236a | [] | 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 | 359 | sce | Exa7_14.sce | errcatch(-1,"stop");mode(2);//Exa 7.14
;
;
//Given data :
format('v',7);
//Applying KVL on +ve side
V1=200-(600*0.015)-(100)*0.03;//in volt
disp(V1,"Voltage at +ve side(in V): ");
//Applying KVL on -ve side
V2=200-(-100*0.03)-500*0.0015;//in volt
disp(V2,"Voltage at -ve side(in V): ");
//Note : answer of ... |
1db65beafdb0ee9b647804c69fe86d280ef7d194 | f61fc5f9d8415f72e01ba3158422f55376e459db | /session/papyros/stages/u2t/indicators/artwork/wifi_orange.sci | 982646153682407c22ab76a1e6b3d53bf6ba200c | [] | no_license | JosephMillsAtWork/u2t | 58c226eb15710affeceb41a747ca031dbaf0e5ca | b0f0f6de19ea21648cfd692f6f8afd8b60565fc9 | refs/heads/master | 2021-01-10T16:39:13.317851 | 2016-01-27T23:01:35 | 2016-01-27T23:01:35 | 50,544,130 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sci | wifi_orange.sci | border.top: 29
border.bottom: 629
border.left: 129
border.right: 129
horizontalTileRule: Repeat
verticalTileRule: Repeat
|
6f0692c72f261116afd5ed805d4be2009997cba0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH12/EX12.01/12_01.sce | ede9ac1517de1b9d1060d12b09f499fc9485d8aa | [] | 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 | 998 | sce | 12_01.sce | //pressure and area//
pathname=get_absolute_file_path('12.01.sce')
filename=pathname+filesep()+'12.01-data.sci'
exec(filename)
//Here the stagnation quantities are constant.
// Stagnation temperature(in K):
T0=T1*(1+(k-1)/2*M1^2)
//Stagnation pressure(in kPa):
p0=p1*((1+(k-1)/2*M1^2)^(k/(k-1)))
//Finding T2/T1... |
9b7ad915f45b4a54ca602a32820c25e5febdc98d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TM21.prev.tst | 70717b95d4f489ec993b902ce1f3fbcd61d329eb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,633 | tst | TM21.prev.tst | TranspositionSet={[0,2,1],[1,0,2],[1,2,0],[2,1,0],[2,0,1]}
Expanding for base=2, level=6, reasons+features=base,transpose,same,similiar invall,norm,showfail
Refined variables=x,y,z
[0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] x²+y²-2x*y*z+z²
-> solution [0,0,0],trivial(3)
---------------- level 0
expanding queue[0]^-... |
060bfd5a87a1ca4311e3dd8cf1ae6bcedd7a5719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH10/EX10.7/Ex10_7.sce | 6c3bd0f683590cbfef6b0653caafeceaca2e12a1 | [] | 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 | 510 | sce | Ex10_7.sce | clc
T=300// K
k=1.3806*10^-23// JK^-1
e=1.6*10^-19// eV
ni=1.5*10^10// cm^-3
NE=10^18// cm^-3
pE01=(ni*ni)/NE// neglecting bandgap
disp(pE01,"pE01 the value of pE01 in cm^-3 is")
NE=10^19// cm^-3
pE03=(ni*ni)/NE// neglecting bandgap
disp(pE03,"pE03 the value of pE03 in cm^-3 is")
pE02=((ni*ni)/NE)*exp(0.03... |
e5707ac026d7e1f353b14b7a4344b8eb2f141c46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH12/EX12.15/Ex12_15.sce | 4d844a7654f8289dad1572a292173684d1be8780 | [] | 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 | 808 | sce | Ex12_15.sce | // Scilab Code Ex12.15: Page-461 (2014)
clc; clear;
u = 931.5; // Energy equivalent of 1 u, MeV
M_Fe55 = 54.938298; // Atomic mass of Fe-55, u
M_Mn55 = 54.938050; // Atomic mass of Mn-55, u
m_e = 0.000549; // Mass of the electron, u
Q = (M_Fe55 - M_Mn55 - 2*m_e)*u; // Q-value of the reaction underg... |
2ea43c70bab8922729e05e5e07ef8db8224ec858 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.2.a/1_2_a.sce | 14681b23a38428a2264ec0c4122fc89606e06503 | [] | 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 | 261 | sce | 1_2_a.sce | //example 1_2<a>
//sketch the following signal x(3t)
clc;
clear all;
t=-1/3:0.0001:1/3;
for i=1:length(t)
if t(i)<0 then
x(i)=1+3*t(i);
else
x(i)=1-3*t(i);
end
end
plot2d(t,x)
plot (t,x, 'red' );
xtitle('required figure','t','x(3*t)');
xgrid();
|
7784bad21d703c1834b85028be77d751aafac28f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.25/Example1_25.sce | 2e7f62d1d5d944720da6d02f5bc66d44f2e111ec | [] | 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,787 | sce | Example1_25.sce | //Example 1.25
clc
disp("Step 1: Identify topology")
disp("By making Vo = 0, feedback current becomes zero. Hence it is a voltage sampling. The feedback is fed in shunt with the input signal and thus the topology is voltage shunt feedback")
disp("")
disp("Step 2 and Step 3: Find input and output circuit")
disp("T... |
d29706e90e4be71bd102c89c89fd62af293b52b3 | bb594bf7e034fd91887739d60b4772027eaec9b6 | /mylu.sce | c60a6a7af0b481c0d7ccfeb52954af227e49b1ba | [] | no_license | MEGCHICHEFarid/Calcul_Numerique | 52d3b8dcfcc1a756a942349d8b080b63328cafdb | 0896b894d734d622f74bb7565fb4686920c26010 | refs/heads/main | 2023-01-29T18:56:41.930367 | 2020-12-03T02:15:06 | 2020-12-03T02:15:06 | 317,599,449 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | mylu.sce | function A= mylu3b(A)
n=size(A,1);
for k=1:n-1
for i=k+1:n
A(i,k)=A(i,k)/A(k,k);
end
for i=k+1:n
for j=k+1:n
A(i,j)=A(i,j)-A(i,k)*A(k,j);
end
end
end
endfunction
function A= mylu3b1(... |
e1479e59f2663e932794579f37126bc804058b78 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /bk/others/new concepts/oleg_20140917/create_book.tst | b15a8fe9db710513566e31f98edeaf26703d591e | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,610 | tst | create_book.tst | PL/SQL Developer Test script 3.0
179
-- Created on 15.08.2014 by ZHURAVOV_VB
declare
-- Local variables here
b xxdoo.xxdoo_bk_book_typ := xxdoo.xxdoo_bk_book_typ(p_name => 'contractors',
p_owner => 'xxdoo',
... |
4a0f0f0667c1aed25a9dc97076fe42d4b77b83f5 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/multiplicarMatrices.sci | f5a70276cc44219b40780a85a586c45a5f383fc3 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sci | multiplicarMatrices.sci | // format(10)
//size(matrizA, 1) numero de filas
//size(matrizA, 2) numero de columnas
function matrizR = multiplicarMatrices(matrizA, matrizB)
if ((size(matrizA, 2)) ~= size(matrizB, 1)) then
matrizR = %nan;
else
matrizR = matrizA*matrizB;
end
endfunction |
10ed97cf770120619ecc8258bcd7fb64f8be7dd7 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT16.prev.tst | e26199d376d64b21f11e930d3d46a34ae0b1dc49 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | tst | RT16.prev.tst | linearIndex(3,2) = 8
triangleIndex(8) = (3,2)
|
4279f658bbe34cafe670d97f446149822aad5f20 | 85796c94fc9059fcb09697ae3509fd9488d77aa8 | /initLadder.sci | d85fa71d044d7eec0b3f4ff4f6f0336d1b8aa6d0 | [] | no_license | MyCSDegree/snakenladder | 680d5cd7687da44a227c2b242765ab96e0b7534d | bedb901cbcede9ca3972514ec12686b33a9eaf85 | refs/heads/master | 2016-08-06T04:08:29.276575 | 2015-10-28T01:16:18 | 2015-10-28T01:16:18 | 42,781,425 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sci | initLadder.sci | // TODO: fix cyclic chains of snakes and ladders
global ladder_top
global ladder_bottom
ladder_top = rand(1, sizeladder);
ladder_top = ladder_top .* (85) + 15;
ladder_bottom = zeros(1, sizeladder);
idx = 0;
for i = ladder_top
idx = idx + 1;
ladder_bottom(1, idx) = rand() * (i - 10) + 5;
end
for i = 1:sizela... |
faad7fadc4582da6db79b9c4fb18b23e3cb6cb15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH17/EX17.2/Ex17_2.sce | 2141dcc5972986aa501afed986ee2e22e942b007 | [] | 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 | 395 | sce | Ex17_2.sce |
// Exa17.2
clc;
clear all;
// Given data
n=5;// 5 bit ladder
V=10;// For binary 1
// Solution
// refering table 17.4(page no. 615)-Various Output voltage for corresponding MSB
disp("The output voltage for each bit is as follows:");
disp("");
for i=1:n
MSB(i)=V/2^i; //voltage corresponding to MSB ... |
851a989c7c77f663d434288ad6e9979628b469fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH8/EX8.16.b/Ex_8_16_b.sce | 8c1f952cb00a10a949493d48d611646901515710 | [] | 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 | 228 | sce | Ex_8_16_b.sce | // Example 8.16.b //SNR improvement and bandwidth
clc;
clear;
close;
fd=400;//KHz
ba=4;//kHz
df1=fd/ba;//
snri=(1.76+20*log10(df1));//dB
disp(snri,"SNR improvement in dB is")
bm=2*ba*(df1+1);//kHz
disp(bm,"bandwidth in kHz is")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.