blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
beef3bbb79c2525e79e3151d2827bb56dbfb4145 | 04236ab1161ec860ab3b1d0c3225fcbdc54923a3 | /2012.d/3-remez.d/tcheby.sci | 8fedfa1ef128366c63995824683985941f807a02 | [
"MIT"
] | permissive | homeostasie/petits-pedestres | 957695cdb8a7823ed2e3fe79f7b441410928cba9 | 557c810e26412bc34ebe063dcd904affe5a27855 | refs/heads/master | 2023-05-31T03:35:13.365160 | 2023-04-26T21:47:56 | 2023-04-26T21:47:56 | 163,504,589 | 2 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 986 | sci | tcheby.sci | funcprot(0)
function [Coef_poly,Erreur]=F_Coef_Tcheby(fon_uti)
//Soit Coef_poly la matrice des coéfficients du polynôme
//Soit Vender la matrice de Vandermonde
for i=1:1:n+1
for j=0:1:n
Vander(i,j+1)=X_n(i)**j,
end
Vander(i,n+1)=(-1)**(i+1)
end
//Soit ColFunc1 le vecteur colonne de la... |
0b411795cf0abfe4b7a2b6d09755caddb0de9cdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH2/EX2.01/2_01.sce | 26aee15eee3005d4e77f5bf238994daf4baec372 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 2_01.sce | //pathname=get_absolute_file_path('2.01.sce')
//filename=pathname+filesep()+'2.01-data.sci'
//exec(filename)
//Temperature of human body in degree Fahrenheit:
Tf=98.6;
//Temperature of the body in degree Celcius:
Tc=(Tf-32)/1.8
printf("\n\nRESULTS\n\n")
printf("\n\nTemperature of the human body in degree Celciu... |
b37c45c681546f8693d1c61bcfeae755b7aa2b1a | 346b29127e59e672f20ebc2738580a91c78a2cb6 | /Scilab/report3/markovchain.sce | 9916bb46b7b77768b43ad7c91579bdf227be52da | [] | no_license | cygnusbeta/tokuron | b19cce6ffd61e4aee20190fd6bc28c737a7a59ae | 386957509f91508601c2981601fd39fd85c8e0e5 | refs/heads/master | 2020-11-24T13:49:38.292405 | 2020-01-12T19:15:52 | 2020-01-12T19:15:52 | 228,177,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,130 | sce | markovchain.sce | // Markov 連鎖の定常状態を遷移確率行列 P の固有値・固有ベクトルから求める。
// また、連鎖の差分方程式(漸化式)を反復して、定常状態に収束するか調べる。
clear
xdel(winsid()); // すべてのグラフィックウィンドウを閉じる
// 状態の数と行列 P を与える。
p = [ 0.3 0 0.7; ...
0 0.6 0.4; ...
0.1 0.7 0.2]; // テキスト p.43 の例
n = size(p,1); // 正方行列 p を与えたと仮定している。
disp('n')
disp(n)
// p の左固有ベクトルが欲しい。spe... |
4f4939a74615793041d361c17baef23f4a9f7bd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH15/EX15.2/Ex15_2.sce | 43ddc5fdbad57ad6ba4f2a0c15802859e11d4c9c | [] | 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 | 447 | sce | Ex15_2.sce |
// Examle 15.2
p=12; // No.Of poles
f=50; // Frequency
Ns=(120*f)/p; // Synchronous speed
disp(' The Synchronous Speed (Ns) = '+string(Ns)+' rpm');
N=485; // Speed of Motor
s=(Ns-N)/Ns; // Slip
fr=s*f; ... |
f0a3cbb644782e11ac3ca1af5743aaf8de2babc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH3/EX3.15/Example_3_15.sce | f9e2e2c48b7ff96e9af81175c7e1d8c44a875100 | [] | 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 | Example_3_15.sce | //Example 3.15 The safety limit of a crane is known to be 32 tons
clc;
clear;
m=0.3;
s_d=0.2;
n=100;
disp(n,"Sample size =",s_d,"Standard Deviation",m,"Mean");
disp(s_d/sqrt(n),"and Standard Deviation =",0.3,"Since the sample size n=100 is large, the sample mean follows normal distribution approx. with Mean=");
... |
0321e1ba5ebd7f02bbaa7b25d4173d736adbe1da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.28/Ex5_28.sce | c7e1b958373729664f006ca07b38d66e93bad423 | [] | 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 | 307 | sce | Ex5_28.sce | //Example 5_28
clc;
clear;
close;
format('v',5);
//given data :
Pmax=2.5;//W
Vf=900;//mV
If_max=Pmax/(Vf/1000);//A
disp(If_max,"(a) Maximum allowable forward current(A) : ");
Rf=Pmax/If_max^2;//ohm
format('v',7);
disp(Rf,"(b) Forward Diode Resistance(ohm)")
//Answer in the textbok is wrong.
|
e24869de8fc91d71e5b9f0258cda89d5afce198a | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamToolBox/SparamToolbox/v1.1/x86_64/src/c/loader.sce | c9236fe8ed9896be28957ccea5cf6ef183194ea8 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if ~win64() then
warning(_("This module requires a Windows x64 platform."));
return
end
//
write_tc... |
0988729a998cf73bdf57717507de8566bd46e802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/F28.sce | e79b88348bf7771fd4f2441759e7720ddc7ab5fb | [] | 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 | 189 | sce | F28.sce | function [F] = f28(x)
//f2(x) = 0, with x = [x(1);x(2)]
//represents a system of 2 non-linear equations
F(1) = x(1)^2+x(1)*x(2) + x(2)^2 - 7;
F(2) = x(1)^3+x(2)^3 -9;
endfunction
|
5c0d5fbf151f19e61e9aa9fdb41ac7c6840c902f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH13/EX13.1/eg13_1.sce | 275f91c3c33da6f0a1694e1f80cc060747e1dd85 | [] | 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 | 788 | sce | eg13_1.sce | clear;
clear;
//clc();
function [mag,theta]=c(r,i)
mag=sqrt(r*r + i*i)
theta=atand(i/r)
endfunction
previousprot = funcprot(0)
funcprot(0)
r=10;
x=30;
i=x;
vs=132;
vr=vs;
z=r + (%i)*x;
B=z;
A=1;
b=atand(x/r);
a=0;
[mag,theta]=c(r,i);
pm=(vs*vr/mag) - ((A*vr^(2)/m... |
10d6855b64471b4624e777e84a7b525e0efcb7ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH15/EX15.17/15_17.sce | 266a0f083c6abb53cada4cb6c967f92ea26f3270 | [] | 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,117 | sce | 15_17.sce | //To find radius and MI
clc
//Given:
m=55 //kg
l=850/1000, d1=75/1000, d2=100/1000 //m
tp1=1.83, tp2=1.68 //seconds
//Solution:
//Refer Fig. 15.20
//Calculating the length of equivalent simple pendulum when suspended from the top of small end bearing
L1=9.81*(tp1/(2*%pi))^2 //m
//Calculating the length of equ... |
c47fe913a39949301cb9c7c2e5a6cd2efb9d0a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH1/EX1.7/1_7.sce | f68a744891e87a95ecfad75e1cd2cf9c94873ad0 | [] | 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 | 839 | sce | 1_7.sce | b1 = 1.5 ; // width of rectangular crosssection in inch
t = 0.5 ; // thickness of rectangular crosssection in inch
b2 = 3 ; // width of enlarged rectangular crosssection in inch
d = 1 ; // diameter in inch
// Part (a)
s_1 = 16000; // maximum allowable tensile stress in Psi
P_1 = s_1*t*b1 ;
disp("lb",P_1,"The al... |
c7db1498b4979ce4cf5bc8d400a93066c90a1060 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH10/EX10.5/Ex10_5.sce | 0f6e2552a14803bb9eb07503c36718118ce1bb9d | [] | 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 | 757 | sce | Ex10_5.sce | // Exa 10.5
// To calculate the optimum diameter (DH), spacing (S) for the antenna and total length of the antenna,
// To calculate the antenna gain,
// To calculate the beam width of the antenna.
clc;
clear all;
N=12; //number of turns
fr=1.8; //frequency in GHz
//solution
lamda=3*10^8/(fr*10^9);
DH=l... |
0a78af83997715d911ed9b10b99124e9dbae4ffd | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.28/6_28.sci | 25bc2b9a48f7ab2a0086a7bcb25afef09a0911af | [] | 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 | 152 | sci | 6_28.sci | // Calculating the weight of MSB and LSB
clc;
Ra=10;
b=5;
Wmsb=Ra/2;
disp(Wmsb,'weight of MSB (V)=')
Wlsb=Ra/2^b;
disp(Wlsb,'weight of LSB (V)=') |
15bffc1c0347ade88292cc1282a8f2d6a7c5272b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH8/EX8.11/Ex8_11.sce | de1dd6847bb3158a4876ece4f24ff134e8274d60 | [] | 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 | 855 | sce | Ex8_11.sce | clc();
clear;
//Given :
T_half = 5730; // carbon 14 half life in years
Na = 6.023*10^23; // Avogadro constant in nuclei/mole
M = 25;// charcoal mass in gm
mm = 12;// molar mass of carbon 12 in gm/mole
a = 250 ; // disinitegrations per minute (Carbon 14 activity)
// 1 year = 525949 minutes
lambda = 0.693/(T_ha... |
34228a1d7d225185f19606b4f3e15a6f7f89a2b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.4/Exa2_4.sce | 8499ff3fa81b308e64c5f18905dc54c7aa4878c3 | [] | 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 | 289 | sce | Exa2_4.sce | //Exa 2.4
clc;
clear;
close;
//Given data :
P=8;//no. of poles
f=50;//in Hz
fr=1.5;//in Hz
//Formula : fr=S*f
S=fr/f;//slip(unitless)
Ns=120*f/P;//in rpm
//Formula : S=(Ns-Nr)/Ns
Nr=Ns-S*Ns;//in rpm
disp(round(Nr),"Motor running speed in rpm : ");
disp(S*100,"Slip(in %):"); |
69bb88ee6ddfcb5af4ed7600e59f5668b84ab3a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH4/EX4.2/Example_4_2.sce | 013071aa17d399a9771ada2e9a9016137e4d5d1b | [] | 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 | 925 | sce | Example_4_2.sce | //Chemical Engineering Thermodynamics
//Chapter 4
//Second Law of Thermodynamics
//Example 4.2
clear;
clc;
//Given
T1 = 373;//Temperature of the saturated steam in K
T2 = 298;//Temperature of the saturated water in K
//To calculate the total change in entropy and hence determine the reversibility of the pr... |
859225eab8aeb474f6f22be862f15ecefd120f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH1/EX1.12/Ex1_12.sce | 9e511433a877a3afa80dbff576feb57051438615 | [] | 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 | 258 | sce | Ex1_12.sce | // chapter 1 , Example1 12 , pg 25
V=13500//volume(in m^3)
T=1.2//reverberation time(in sec)
a=0.65//average absorption coefficient(in Sabine/m^2)
S=(0.165*V)/(a*T)//area of interior surface
printf("Area of interior surface\n")
printf("S=%.1f m^2",S)
|
9da325a5d3bd190b31fb702b0afe060e8d2bd626 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.19/2_19.txt | 62041e4898a25773d290a5ccc51a4d63544fa40b | [] | 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 | 466 | txt | 2_19.txt | //Capyion:find the change in back emf from no load to load
//Exam:2.19
clc;
clear;
close;
V=220;//given voltage to machine(in V)
R_a=0.5;//armature circuit resistance(in ohm)
I_1=25;//full load armature current(in Amp)
I_2=5;//no load armature current(in Amp)
E_1=V-I_1*R_a;//back emf at full load(in V)
E_2=V-... |
24aa1eb8fca55df5f23a58aa589b8dccefca738f | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH10/EX10.1/Example10_1.sce | 0cb977309f62ac3e1fd4a7a0864e1721316bd737 | [] | 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 | 3,590 | sce | Example10_1.sce | //Example 10.1. refer fig.10.8.
clc
format(6)
hie=1600
hfe=60
hre=5*10^-4
hoe=25*10^-6
hic=1600
hfc=-61
hrc=1
hoc=25*10^-6
disp("The AC equivalent circuit of the CE-CC amplifier is shown in fig.10.9(a)")
disp("The Second Stage :")
disp("Current gain :")
disp("The current gain of a particular stage is give... |
5a6acad448276b653c709f88083e8d8a448fa360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.18/2_18.sce | fcb43bd20872f2b79b17f55a3d2afb34b9640edd | [] | 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 | 382 | sce | 2_18.sce | //2.18
clc;
Vdc=100;
Vm=(Vdc+2*1.7)*%pi/(2*cosd(30));
Vrms_sec=Vm/2^0.5;
Vrms_pri=230;
Turn_ratio=Vrms_pri/Vrms_sec;
printf("\nTurn Ratio = %.2f ", Turn_ratio)
Irms_sec=15/2^0.5;
Ip=15;
Trans_rating=Vrms_sec*Ip;
printf("\nTransformer rating = %.2f VA", Trans_rating)
PIV=Vm;
printf("\nPIV = %.2f V", PIV)
p... |
0f813278577cfd60818b056b0b30367940a99a14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.25/25.sce | 4425d3e6058cf477b35cb8f2a60a3180639af138 | [] | 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,083 | sce | 25.sce | clc
clear
//Input data
M1=2.8 //Inlet mach number
sig=42 //Shock wave angle in degree
Px=1 //Pressure upstream of shock in bar(Assuming)
k=1.4 //Adiabatic constant
//Calculations
Mx=M1*sind(sig) //Mach number before the shock
My=0.601 //Mach number after the shock from gas tables @Mx
p1=3.98 //Static pr... |
c263eceddca14820a0d79158055e337cf4d0c95a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH8/EX8.8/ExA_8.sce | 3820eeb0393683d0e79c0e1cc414e818564a05ca | [] | 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 | ExA_8.sce | clc;
l=0.8; // length of conductor
B=1.2; // flux density of uniform magnetic field
v=30; // speed of conductor
disp('case a');
// conductor motion is normal to field flux
theta=90; // angle between direction of motion and field flux
e=B*l*v*sin(theta*(%pi/180));
printf('EMF induced is %f V\n',e);
disp('case ... |
1d30c8b051364fa051896c268291cce67d2645ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.4/4.sce | fd1f4d42acb358e46dfeed4595580201ff402154 | [] | 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 | 337 | sce | 4.sce | clc; funcprot(0);
//Example 8.4 Power Required by Wing
// Initialisation of variables
S = 350;
V = 80;
alpha = 6;
Cd = 0.0452; // Value of Cd from fig 8.8
rho = 0.002378;
// Calculations
D = Cd*rho/2*S*V^2;
HP = D*V/550;
//Results
disp(HP,"Horse power required to move the wing forward(hp) :"... |
0e529e3f5dc612ae1060493f67efad50230b7ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.28/10Ex28.sce | 995cd1bf6490a8d22e81417a8bb876018f4a97bf | [] | 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 | 150 | sce | 10Ex28.sce | //chapter 10 Ex 28
clc;
clear;
close;
AmoreB=100/(3*100);
BlessA=(AmoreB/(1+AmoreB))*100;
mprintf("B earns %d percent less than A",BlessA);
|
7aef7a6c696ed1ae6ad2152110b85257ce63b470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH13/EX13.16/16.sci | ca8e3587f02e8137b3a8208b14c550d32cfeecce | [] | 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 | sci | 16.sci | clc;
clear all;
disp("Nitrogen diffusion rate ")
A=1;
T=25+273;
L=12/1000;//m
G=8314;// gas constant
xB=0.2;
Dab=16*10^(-6);
xC=0.1;
Dac=14*10^(-6);
xD=0.7;
Dad=9*10^(-6);
D=1/(xB/Dab+xC/Dac+xD/Dad);//m^2/s
p=1.013;
pN1=0.15;//bar
pN2=0.08;//bar
pM1=p-pN1;
pM2=p-pN2;
Mn=28;
mn=(D*A*Mn*p*10^5/(G*T*L)... |
54c31f8f4c345bd5cf9fdf7410bae636ffba33a2 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/221.ted.sci | 5f11ff5ba20d04276d9a42cfe8558fc3e2b05c15 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 7,990 | sci | 221.ted.sci | i m a historian steve told us about the future of little technology i m going to show you some of the past of big technology this was a project to build a 4 000 ton nuclear bomb propelled spaceship and go to saturn and jupiter this took place in my childhood 1957 to 65 it was deeply classified i m going to show you som... |
63c7a528018bb34f042d87a7b2ba42236dad8461 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.38/2_38.sce | 513f4198fcfde140a885ed2e0889524c8d33f667 | [] | 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 | 498 | sce | 2_38.sce |
clc;
clear;
//Example 2.38
//Given
dia=50 //mm
dia=dia/1000 //m
r=dia/2 //radius in m
h=115 //W/sq m.K
rho=8000 //kg/cubic m
Cp=0.42 //kJ/kg.K
Cp=Cp*1000 //J/(kg*K)
A=4*%pi*r^2 //Area in sq m
V=A*r/3 //Volume in cubic m
T=423 //K
T_inf=363 //K
T0=723 //K
//(T-T_inf)/(T0-T_inf)=e^(-3ht/... |
0856b7ed6ce001db1bdc21e8ecd2e06487e4c91a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.6/Ex6_6.sce | 9e1487acd6d5436771a479dbc9ad361b0a9aeccf | [] | 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,464 | sce | Ex6_6.sce |
//Chapter 6:Induction Motor Drives
//Example 6
clc;
//Variable Initialization
//Ratings of the star connected Induction motor which operates under dynamic braking
f=50 // frequency in HZ
P=6 // number of poles
//Parameters referred to the stator
Xr_=3.01 // rotor winding reactance in ohm
... |
ca7575a9cf5afe589b1e6df109e4871bd4013dbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH18/EX18.1.d/Example18_1d.sce | b7821f4985c40a80c670f60f9bcc5f4699f282ca | [] | 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,233 | sce | Example18_1d.sce | clear;
clc;
//Caption:Calculation of change in output voltage due to change in input voltage and load current
//Given Data
Vo=25;//in V
ro=10;//in ohm
Rz = 12;//in ohm
Vo=25;//output voltage in V
Vr = 7.5 + 7.5;//because two diodes are used
Iz = 20;//in mA
Ie2=10;//in mA
Ic2 = Ie2;
Icmax=30;//in mA
Vce... |
20138ab286d0bf0e81cc82e71b81bf52c22c85c9 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.30.sci | d230189f25a4e87dbb1f9b2955659ec2f0fd7de1 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sci | Ch_6_Eg_6.30.sci | // A program to find factorial of a number using recursion.
function [y]=fact(x)
disp(sprintf('Calling fact(%d)', x));
if x == 1 then
y=1
else
y=x*fact(x-1)
end
endfunction
// Main program
y=fact(5); // calling the function
disp(sprintf("Result: fact(5)=%d", y));
|
86f5b22cb685ed7da6bc76b05b7b396f96f0dfc4 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_getRequiredOptions.tst | 6536109c085822878cfcaebe5748793dee5b61b8 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 196 | tst | ok_getRequiredOptions.tst | ; Tests whether the required options are implemented and give the correct
; default values
(get-option :print-success)
(get-option :regular-output-channel)
(get-option :diagnostic-output-channel)
|
35d5706392b8c934348146407ea4b3dc5f712917 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH14/EX14.3/ex_14_3.sce | 383debcbb714f1eb0952e19c485f347b3c6c81b9 | [] | 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 | ex_14_3.sce | //Example 14.3: output power
clc;
clear;
close;
h=0.6943*10^-6;//
lm=10;//in cm
r1=1.0;//
r2=0.8;//
t1=0.98;//
as=1;//cm^2;//
Ls=2;//cm
gth=((1/(2*lm))*log((1/(r1*r2*(t1)^8))))+(as*Ls)/lm;//
sg=1.5*10^-20;//
ndth=gth/sg;//cm^-3;//
nth=ndth*as*lm;//atoms
ni=5*nth;//atoms
ng=1.78;//
ns=2.7;//
lair=2;//
c=3*10^10;//
trt=(... |
31b7be167d65e5eac2f24a1fa6f7565999bea979 | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t52.tst | 9f8895f2ddd650723ee508f57f4b092ee677d5f3 | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t52.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e49</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e76</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e34</EventId>
<Reaching... |
431670916f2b39f6c2c94b20ecd9775d69e5dfc2 | 51a62cf6043094e32b4c75da5fe20ac31f53d711 | /Computação Gráfica/GeometricTransformation-Translation.sce | 2bbe41b414c2ddba123af7df6a3eadf7af379a4c | [
"MIT"
] | permissive | AnneLivia/CollegeProjects | 9e32c4da216caaa973ebd4e4fe472f57557a3436 | 96d33d0ed79b5efa8da4a1401acba60b0895e461 | refs/heads/master | 2022-12-23T10:13:03.503797 | 2022-12-12T16:35:29 | 2022-12-12T16:35:29 | 128,656,614 | 2 | 0 | MIT | 2022-12-12T16:36:09 | 2018-04-08T15:44:18 | PHP | UTF-8 | Scilab | false | false | 778 | sce | GeometricTransformation-Translation.sce | Q = [0, 0; 0, 2; 2, 2; 2, 0; 0, 0];
plot(Q(:, 1), Q(:, 2));
// para visualizar melhor o quadrado
plot(-4, -4);
plot(8, 8);
/*
A translation moves an object to a different position on the screen. You can translate a point in 2D by adding translation coordinate (tx, ty) to the original coordinate X,Y to get the n... |
3d6085ab0e0fcf30e301b8b2a6c14c3f972de263 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/%asn.man.tst | baf3cd5d51e3e012055de6abc412887ee5b4f09d | [
"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 | 348 | tst | %asn.man.tst | clear;lines(0);
m=0.8;z=%asn(1/sqrt(m),m);K=real(z);Ktilde=imag(z);
x2max=1/sqrt(m);
x1=0:0.05:1;x2=1:((x2max-1)/20):x2max;x3=x2max:0.05:10;
x=[x1,x2,x3];
y=%asn(x,m);
rect=[0,-Ktilde,1.1*K,2*Ktilde];
plot2d(real(y)',imag(y)',1,'011',' ',rect)
//
deff('y=f(t)','y=1/sqrt((1-t^2)*(1-m*t^2))');
intg(0,0.9,f)-%asn(0.9,m) ... |
c8abda7f0e4828389c46cf2b6c4c1fe3265be093 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/planetarium.SCI | f2269dfd0b4fb6454afd29125dd010bf07e64f0f | [
"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 | 9,782 | sci | planetarium.SCI |
codeblock readtextfile(ScriptDir+"\TOOLS.sci");
codeblock readtextfile(ScriptDir+"\SSYS.sci");
longit=(3+43/60.0)/180*Pi;
lattit=(51+3/60.0)/180*Pi;
ei=+23.4457889/180*Pi;
scfac=100000;
ssysframe=ssys_create;
ssys_createearth(1);
ssys_createluna(2);
ssys_createmilkyway;
ssys_createconstellationnames;
ssys_createst... |
4610ada32b90410f21b65ebecc402190c3fdc838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH9/EX9.1/9_1.sce | 6d4a6b32e3295d2dc496495cac2e771a98141b53 | [] | 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 | 9_1.sce | //To find inclination of track arm
clc
//Given:
c=1.2,b=2.7 //m
//Solution:
//Calculating the inclination of the track arm to the longitudinal axis
alpha=atan(c/(2*b))*180/%pi //degrees
//Results:
printf("\n\n Inclination of the track arm to the longitudinal axis, alpha = %.1f degrees.\n\n",alpha) |
4503c17341de4eddc6adb23b636c7c7063102d8b | cfac21260a4737c49982a78160361703914dac1f | /sem1/old_src/Программы и so on/lab_5/Inv_pendulum/First_way.sce | 8d6fe5da8968165206e91fb687b341722282ee00 | [] | no_license | Zenkin/courses | 680442fa57bc3b1c872e15e9bc7e98b579bfd39e | b0b0aafe0c358a611868fd764a2ad1cb71078d8d | refs/heads/master | 2020-03-23T22:19:20.542398 | 2018-07-24T13:55:20 | 2018-07-24T13:55:20 | 139,969,727 | 0 | 0 | null | 2018-07-06T10:19:48 | 2018-07-06T10:19:47 | null | UTF-8 | Scilab | false | false | 5,121 | sce | First_way.sce | mw = 0.017; //масса колес
Umax = 7.4 //управляющее напряжение (нужно только для моделирования)
mc = 0.595 - 4*mw; //масса тележки
mp = 0.051; //масса маятника
g = 9.82; //ускорение свободного падения
L = 0.68; //длина маятника
l = L/2; //расстояние до центра масс... |
f850927336886da1b7aa69ab913530098376f087 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_16.tst | 556d60882aa870ce7a06595d3f48d1d4a5e17696 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 35,052 | tst | bow.11_16.tst | 11 5:0.5 7:1.5 9:0.5 12:0.14285714285714285 15:1.0 31:0.2 41:2.0 46:0.14285714285714285 50:0.5 53:0.3333333333333333 59:0.16666666666666666 66:0.2 105:0.16666666666666666 110:0.06666666666666667 111:0.09090909090909091 153:1.0 324:1.0 330:0.5 342:0.2 348:0.25 457:1.0 508:2.0 582:1.0 618:2.0 670:0.5 960:0.5 1085:0.5 112... |
453e872f033fcdf0af762274ac33f3981505db61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.13/example2_13.sce | 863c25666c0d957ca67f7e9190f71dcbd64edf88 | [] | 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,113 | sce | example2_13.sce | //example2.13
clc
disp("Let no load,speed be N_0=1000 rpm")
disp("I_L0=Line current on no load=6 A")
disp("I_L0=(I_a0)+(I_sh)")
s=220/110
disp(s,"(I_sh)[in A]=V/(R_sh)=")
a=6-2
disp(a,"Therefore, (I_a0)[in A]=(I_L0)-(I_sh)=")
disp("Therefore, Back emf on no load E_b0 can be determined from the voltage equatio... |
8993dec2705366c5b105c881cc74dc2ed2fee025 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_flipud.sci | b031501bfcb6453528bbfb0867dd03b01e7b1539 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sci | moc_flipud.sci | function y = moc_flipud(x)
//Return a copy of X with the order of the rows reversed.
//Calling Sequence
//y = moc_fliplr(x)
//Description
// Return a copy of X with the order of the rows reversed. In
// other words, X is flipped upside-down about a horizontal axis. For
// Note that 'fliplr' only works wit... |
562e2dba752c39bcb2108ebebd212ee7139b5db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH1/EX1.4/Ex1_4.sce | 40ddc0109a815e0b189d92f870078c90dfe3d576 | [] | 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 | Ex1_4.sce | // Theory and Problems of Thermodynamics
// Chapter 1
// Basic Concepts
// Example 4
clear ;clc;
//Given data
Pf = 0.4 //Pf = pressure of the gas in MPa
Pa = 0.1 //Pa = atmospheric pressure in MPa
A = 10^-2 // A = cross-sectional area of piston in m^2
Vi = 0.1 // initial volume i... |
7df22832f4a2475dd8510c9744c8561a2f32dc42 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/generate.sci | b614cd685b42ee4b201ee76508dd86c280236deb | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,171 | sci | generate.sci | function generate()
// Generates a random point cloud.
//
// Syntax
// PointCloud(OutputPCDFilename,options,"generate")
//
// Parameters
// outputPCDFilename : PCD file where the output pointcloud had to be saved
// options are
// -distribution = the distribution to be used (options: uniform / normal)(defau... |
30018c1940bd1b9061212241475f35bfe0b77fae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH12/EX11.1/EX11_1.sce | e6de0cb1c36277ce0cad4a1f984af6e2fb1134aa | [] | 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 | 392 | sce | EX11_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 11
// Example No. 11_1
clc; clear;
// What is the area in circular mils of a wire with a diameter of 0.005 in.?
// Given data
Din = 0.005; // Diameter in Inches=0.005 in.
Dmil = 5; // Diameter in Mils=5 mil.
// 0.005 in. = 5 mil
// Therefore... |
c30dfccadd23015708cc83484a37dfa6e4b2757d | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /SciLab/gauge-oscilator.sce | c604759ed91266ab52bee20b26b3f143a3418da4 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 345 | sce | gauge-oscilator.sce | function z=GaugeOscilator(t,x)
n=32;
z(1) = x(n+1);
z(n+1) = x(n+2)-x(1);
for i=2:n-1
z(i) = x(n+i);
z(n+i) = x(n+i+1) - x(n+i-1) - x(i);
end
z(n) = x(n+n);
z(n+n) = -x(n+n-1) - x(n);
endfunction
xx=linspace(0,3*%pi,64);
y0=sin(xx);
t0=0;
t=t0:1:1000;
Z=ode(y0,t0,t,GaugeOsci... |
927744615e77d6ca4967b87b4aa157521b380ab2 | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment1_Team8/Decoder2to4bit.tst | 0c8a93aa65daf245fa9d9ac24db56f985979f176 | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | tst | Decoder2to4bit.tst | load Decoder2to4bit.hdl ,
output-file Decoder2to4bit.out ,
output-list s1%B3.1.3 s0%B3.1.3 en%B3.1.3 y0%B3.1.3 y1%B3.1.3 y2%B3.1.3 y3%B3.1.3 ;
set en 1 ;
set s0 0 , set s1 0 ,
eval ,
output ;
set s0 1 , set s1 0,
eval ,
output ;
set s0 0 , set s1 1 ,
eval ,
output ;
set s0 1 , set s1 1 ,
... |
b54da9f2e950223e16a3c3f4ff031c132f37523d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/auto/des2tf.sci | ad165e5199c3ba9d797ad01e7b16a452fa0bd547 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sci | des2tf.sci | function [Bfs,Bis,tf]=des2tf(des)
[LHS,RHS]=argn(0);
if LHS<>1 & LHS<> 3 then error('des2tf: 1 or 3 output args needed');end
A=des(2);B=des(3);C=des(4);E=des(6);
if norm(des(5),1) > 100*%eps then
warning('des2tf: D matrix is assumed to be 0!');end
s=poly(0,'s')
[Bfs,Bis,chis]=glever(E,A);
if LHS==3 then Bfs=C*Bfs*B; B... |
f72008aa5fd1994998f5f81011bf5844dd26fdc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH5/EX5.5/Ex5_5.sce | 30391c197827bb9f9397524efa262a4aa629e23a | [] | 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 | 636 | sce | Ex5_5.sce | clear;
clc;
//page no. 163
d = 1;// in
p_r = 100;//psi
T_r = 100;// degreeF
p_b = 14.7;// psi
p3 = 14.7;//psi
G = 2.03;// lb/sec
gam1 = 0.553;
gam = 1.4;
V3 = sqrt(2*32.2*(gam/(gam-1))*(p_r+p_b)*144/gam1 *(1-(p3/(p_r+p_b))^((gam-1)/gam)));
T3 = (T_r+460) - V3^2 /(2*32.2*186.5);
a3 = sqrt(gam*32.2*53.3*T3... |
c5009a8f1e3778261a8d10c0942cebe43d7adebe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH8/EX8.6/8_6.sce | 18c697601c9cc58311430d95a7db0ba31868d298 | [] | 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 | 451 | sce | 8_6.sce | //calculating required data//
//example 6//
clc
//clears the command window//;
clear
//clears//
N=(2^8)-1;//no. of steps//
M=1000/N;//no. of steps in which motor speed can varied;motor speed varies from 0 to 1000rpm//
N1=450/M;//no. of steps required to reach 450rpm//
N2=round(N1);//rounding the no. of steps//... |
26efe5c62c3461b9a53cfa7692b8a274e6efe8ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH3/EX3.4/Ex3_4.sce | 7029cd47215dcb2847c01deb8bd6d20770eaf38e | [] | 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 | 111 | sce | Ex3_4.sce | clc
y=10
Ni=10
gi=10
//(gi-Ni)!=1
z=(factorial(gi)/factorial(Ni)*factorial(gi-Ni))
printf('z=%f\n',z)
|
e8c3a13bdb53d7e8a3132e4de54c88c6eb2a4cda | 32191356107e7ecaa8d06ca11fa40c4d6b3ba749 | /code/fft-scilab/bp-1000-44100.sce | 72f85a06bfba1b8712e066ee59dfcfe26b0c443f | [] | no_license | mfkiwl/FIR-filter | 9bfd6f96d52807ae744879668ddb922cc7db8149 | bd08fa7d9f0162d7afab70a3e92ce140c7a422cb | refs/heads/master | 2021-07-08T00:02:17.849458 | 2017-10-01T18:00:28 | 2017-10-01T18:00:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,611 | sce | bp-1000-44100.sce | /**
* Script to generate filter coefficients for a linear phase, FIR bandpass filter
* centered at 5000 Hz.
*
* author: Rishi K Shukla
* website: www.technogeek310.wordpress.com
*
*/
/* n: determines the number of filter coefficients to be generated. */
n = 63;
/**
* bnd_edge: determines filter's frequency wi... |
c5f9ff5d701e22e7725c4274dc33bb21b508c3f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.1/Ex10_1.sce | 200faa2de40ad41a3729762ffd8e02249bde6a36 | [] | 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 | 336 | sce | Ex10_1.sce | clear
//
//
//
//Variable declaration
P=4.3*10^-8; //polarisation(per cm^2)
epsilon0=8.85*10^-12; //relative permeability(F/m)
E=1000; //electric field(V/m)
//Calculations
epsilonr=1+(P/(epsilon0*E)); //relative permittivity
//Result
printf("\n relative permittivity is %0.... |
18fd1017d7e918e6dcb7a7042d16ebbbb4809c37 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH12/EX12.4.3/12_4_3.sce | 5b9bd9c4d829877840069d66d821dbd5a449e510 | [] | 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 | 436 | sce | 12_4_3.sce | //CAPTION: Planar_Capacitor
//chapter_no.-12, page_no.-537
//Example_no.12-4-3
clc;
N=8;//number_of_fingers
er=13.1;//relative_dielectric_constant
h=.254;//substarte_height
l=.00254;//finger_length
w=.051;//finger_base_width
A1=.089;//contribution_of_interior_finger_for_h>w
A2=.1;//contribution_of_two_ex... |
48af7a981a684fea82e58bf92bb21ef92fb42448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH11/EX11.8/Ex11_8.sce | 0cae0067a577aa22dd32b509b6c1e5b2e53fa386 | [] | 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,100 | sce | Ex11_8.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 11- Centrifugal Pumps
//Example 11.8
//To Determine the Power Required to drive the centrifugal Pump.
clc
clear
//Given Data:-
Q=40; //Discharge, litres/s
Hst=20; //Static Head, m
D=150; //Diameter of Pipe, mm
... |
c7cbdc6b848844851b082c1a253d2b79ce4ab7cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.8/7_8.sce | 24e6b5bdde9c22c1353f3e51baffa5b6febbbaa5 | [] | 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 | 529 | sce | 7_8.sce | clc
//initialisation of variables
ps1=0.056216 //bar pressure
phi1=0.2 //relative humidity
td1=35 //temp in degrees
p=1.01325 //pressure in bar
td2=25 //temp in degrees
ps2=0.03166 //bar
//CALCULATIONS
pv1=phi1*ps1
w1=0.622*(pv1/(p-pv1))
ha=(1.005*td1+w1*(2500+1.86*td1))
w2=(ha-(1.005*td2))/(2500+1.86*td2)
... |
5b181f4b323bf82c4d663e9ac854fd2825465c02 | 351fe6e47b1edc4fa8b9333340ba914299fa1b64 | /rd7/as/pedm/backup.tst | 53eef1028ba843a2f32ecca6da368d50d500321e | [
"MIT"
] | permissive | ssavitzky/Silvermine-Resources | 80ebba26f94a746da700e99320d06f7c629f7611 | 703375ba302929ad94ebe8326e0afecd6c06d633 | refs/heads/master | 2020-03-19T13:08:45.067855 | 2018-06-08T04:17:05 | 2018-06-08T04:17:05 | 136,563,434 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25 | tst | backup.tst | Sun Sep 11 21:47:40 1988
|
f6af747b22ba7f0e28959346b1029243ef3c3efa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.18/ex6_18.sce | 97b2b39066913b6d2bfe151dd52191ec5e9a0578 | [] | 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 | 433 | sce | ex6_18.sce | // Exa 6.18
clc;
clear;
close;
format('v',7)
// Given data
D = 10/100;// distortion without feedback
Df = 1/100;// distortion with feedback
A = 200;// unit less
// Df = D/(1+(Beta*A));
Beta = ((D/Df)-1)/A;// unit less
Af = A/(1+(Beta*A));// unit less
disp(Af,"The gain voltage with feed back is");
Vs = 10;/... |
dd7ed6b31d0746545809d2253f1537690654c752 | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH3/EX3.1/Chapter3_Example1.sce | 95e4356efbda940d66a391f588c00d66a96ac0eb | [] | 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,093 | sce | Chapter3_Example1.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-3, Illustration 1, Page 54
//Title: Calculation of volume
//=======================================================================... |
f560de8eb24c4e04c1d3c0097ce01c7377965e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.13/Example7_13.sce | bcc5efe7454c1959ae92568a31412b3fb09de7fa | [] | 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 | 592 | sce | Example7_13.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.13 Page No:124
///Find Discharge through pipe
///Input data
clc;
clear;
D1=0.2; //Diameter of pipe section 1 in m
D2=0.3; //Diameter of pipe section 2 in m
V1=15; //Velocity of water in m/s
pi=3.14;
... |
706490d90d09a39229ac90803f50c6ba6e46accd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH21/EX21.15/Ex21_15.sce | 47c5f2d0eddfc0cea39109a025eccf9c057eed36 | [] | 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 | Ex21_15.sce | //example-21.15
//page no-651
//given
//length of wire
l=250*10^-3 //m
//no of turns
N=400
//current
I=15 //A
//permeability in vaccum
mu0=1.2457*10^-6 //H/m
//relative permeability
mur=1
//magnetic field strength
H=N*I/l //AT/m
//flux density is
B=mu0*mur*H //Wb/m^2
printf ("the magnetic field s... |
f04df1e83cb8221eaee830f68620e48afe0b7d50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH4/EX4.9/ex4_9.sce | 33ff823e83beff60ebba216a691e3dfaaeb8ae44 | [] | 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 | 711 | sce | ex4_9.sce | clc;
G=6.67*10^-11 //universal gravitational constant in Nm square/kg square.
m1=5.98*10^24; //mass of earth in kg
m2=7.36*10^22; //mass of moon in kg
r=3.84*10^8; //radius of moon's orbit
F=(G*m1*m2)/(r*r); //calculating gravitationalforce in Newton
v=sqrt((G*m1)/r); //calculating velocity of moon ... |
6692472b9416513b43e262fb2214e12e5057fbb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH7/EX7.2/7_2.sce | fef83fce338eb6a07183f7b56447474c1ad431d2 | [] | 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,463 | sce | 7_2.sce | //To determine the voltage drop or voltage regulation of a 3phase system
//Page 327
clc;
clear;
Vll=416; //Voltage Line to Line
Vph=Vll/(sqrt(3)); //Phase Voltage and Base Voltage
//Load Currents
Ia=30;
Ib=20;
Ic=50;
//Power Factors of the load
pfa=1;
pfb=0.5;
pfc=0.9;
//Impedances of the Sections
... |
d66950703c02641e49e77d1476fb1bb5c66c1f1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH7/EX7.4/Example7_4.sce | d4ac12bf44488bab2a6422e50110a1677b7582a6 | [] | 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 | 540 | sce | Example7_4.sce | clear ;
clc;
// Example 7.4
printf('Example 7.4\n\n');
//Page no. 180
// Solution
n_un= 7 ;// Number of unknowns in the given problem- 3 values of xi and 4 values Fi
n_ie = 5 ;// Number of independent equations
// Summary of independent equations
// Three material balances:CH4,C2H6 and N2
// One specified r... |
87f8168abc14b18cc76a95010ba0074fe9874d63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.4/EX_5_4.sce | c0d1ab1e17e3a139c842db03729f9a4803f74c4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | EX_5_4.sce | // Example 5.4:amplifier gain
clc;
clear;
close;
f=50;//frequency in hertz
Avm=150/0.707;//mid voltage gain
fh=20;//lower cut off frequency in hertz
Avh= (Avm/(sqrt(1+(f/fh)^2)));//gain at upper cut off frequency
disp(Avh,"gain at upper cut off frequency")
|
5284772029a5fca641f08754e2db095c784356c2 | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /13kasım_fonkfx.sce | ca85d5573c2cc02c39c254f591db5ca9fded0ed4 | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 13kasım_fonkfx.sce | //Çok tanımlı bir matematikse ifadenin fonksiyonu
function out=f(x)
if 0<x & x<=10 then
out=5*x;end
if 10<x & x<=100 then
out=5*(x^2);end
if x>100 then
out=0.5*(x^2);
end
endfunction
|
b414cf51a5daaeba23ed7bf236c0c79d622e0505 | 2391eec552dac38c05f9c53bae1ec612f2871f51 | /Lab 5/fucmeup.sce | 78a7fd19959b12c227b2bf440141d3899d8d8be4 | [] | no_license | Zebz13/EEE-S7-Power-Systems | fe9e00e27242fa51650bf87e46c504a716a22edf | 1fc9ab29e96a5d5f8a23d629364cadf2c70c4a40 | refs/heads/main | 2023-01-10T03:53:34.295752 | 2020-11-08T17:03:45 | 2020-11-08T17:03:45 | 309,158,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,296 | sce | fucmeup.sce | //please run or read and edit out unnecessary stuff
//start
clc ;
clear ;
//line inputs
disp("Enter the line data in the order-> From,To,Res,Reat,Half Admit,Tap")
linedata =input("Enter line data:")
Yshunt=input("Enter shunt admittance:")
// line data extraction
from= linedata(:,1)
to= linedata(:,2)
imp= l... |
74bd7bb1fb8d3845e5c95f1d35de4f9b1aaa5b88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH4/EX4.6/Ex4_6.sce | bd9bf8e6d44c07b8d6b27d709b87593da78a1479 | [] | 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 | 754 | sce | Ex4_6.sce | // Example 4_6
clc;funcprot(0);
// Given data
T_1=300;// °C
T_2=700;// °C
m=3;// kg
// Calculation
// (a)
delH=m*integrate('(2.07+((T-400)/1480))','T',T_1,T_2);
printf("\n(a)The enthalpy change,delH=%4.0f kJ",delH);
// From steam tables
h_1=3073;// kJ/kg
h_2=3928;// kJ/kg
delH=m*(h_2-h_1);// kJ/kg
print... |
f18ed72a2a44993953715118762860c6369a6182 | 7b5fc14eb97ac069fb310c30488cf43459cd667b | /LA_Assignment_1.sce | 4a03c6ad945b4789f0090a58df419669b9e06829 | [] | no_license | Araz1103/Linear-Algebra-Assignments | 97406f1e10ed80570c0bb6d404c8fbd59b769ac3 | 84644aec95bc7e430bcc01f6075d60b23e2e4a65 | refs/heads/master | 2020-12-31T10:07:47.386678 | 2020-04-10T12:01:32 | 2020-04-10T12:01:32 | 238,992,825 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | LA_Assignment_1.sce | str = input("Enter a 3x4 augmented matrix which has spaces to seperate", "string")
v = evstr(strsplit(str, " "))
init11=v(1)
init12=v(2)
init13=v(3)
init21=v(5)
init22=v(6)
init23=v(7)
init31=v(9)
init32=v(10)
init33=v(11)
sec1=v(4)
sec2=v(8)
sec3=v(12)
A=[init11,init12,init13,sec1;init21,init22,i... |
98c6f6d48d4bdf7526fd8549ce0f12b4ad831d5c | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Shoot Down Target.sce | 9f107f672f17cb2532fa7e2ffd0d6cb953de504b | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41,456 | sce | Shoot Down Target.sce | Name=Shoot Down Target
PlayerCharacters=player_char
BotCharacters=down_strafe.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_char
AddedBots=down_strafe.bot;down_strafe.bot;down_strafe.bot;down_strafe.bot;down_strafe.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2;2
MapName=shoot_down.... |
59b72afabadf8a549c1175ad6561c13dccdc9a38 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/examples/intersci-examples/ex7.sce | eb2620379d33e7c7d9b813c4580cb7e7e743f105 | [
"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 | 462 | sce | ex7.sce | //ex7 example
//1-Creating interface source file
// from ex7fi.desc file by call to intersci
// Making object files
// Interface file '/tmp/ex7fi.o'
// User's files '/tmp/ex7f.o';
files=G_make(['/tmp/ex7fi.o','/tmp/ex7f.o'],'ex7.dll');
//2-Link object files .o with addinter
//addinter(files,'intex7',intex1_funs);
exec... |
4e2add9da4b521252aae0ccab35981628921f9d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH11/EX11.3/Exa11_3.sce | 396bf6ee028ba10d7133523b4de8ffca0e999e3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | sce | Exa11_3.sce | //Exa 11.3
clc;
clear;
close;
IR=5;//in % per year
i=15;//in % per year
//Machine X :
disp("Machine X : ");
Ppx=1500000;//in Rs.
n=7;//in years
S=200000;//in Rs.
AMC=300000;//in Rs.
disp("End of year AMC InflationFactor InflatedAmount P/F PW");
format('v',9)
Pw=0;//For initialising
fo... |
b54e8db8872d3225da4f0977493b19099c97f51b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH6/EX6.12/12.sce | 9f1b9d35b8d35db2b12d11dd1df21fb86afaf7f8 | [] | 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 | 225 | sce | 12.sce | clc
clear
//input
r100=6.9//resistence of steam
r0=5.8 //resistece of ice
t=550 //temperature
//calculation
r=(t*(r100-r0))/100 +5.8//platinum resistance thermometre
//output
printf("the resistence is %3.3f ohm",r)
|
6edab78428736214f3b2601f8dd48671eb17cc54 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/condor/test1/out/fluxes.sce | 23dda5965fd3784ad96d7d5d9311697b0195fd0f | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,289 | sce | fluxes.sce | function [fxxx,fxxy,fxxz,fxyy,fxyz,fxzz,...
fyxx,fyxy,fyxz,fyyy,fyyz,fyzz,...
fzxx,fzxy,fzxz,fzyy,fzyz,fzzz...
]=fluxes(...
nx,ny,nz,...
x,y,z,r,psi,...
alp,cux,cuy,cuz,rg,...
uxx,uxy,uxz,uyy,uyz,uzz,...
gxx,gxy,gxz,gyy,gyz,gzz,...
... |
e3c59a419aae525791404386893264ddfa686746 | 777ac7fa75f240739af167655f7fab95cba80ef6 | /docs/Basics.New/Goto.tst | 8c0af2f1461af18f27651c554267fa2402664f31 | [] | no_license | Karabur/TML-project | 8d498d8133f4b1ea8e8c3fe6f6f47f7ab5de4b5c | 0bfe006b0e66628427b769bc1be903875e77d5b7 | refs/heads/master | 2021-01-02T09:20:39.055827 | 2013-12-28T22:02:15 | 2013-12-28T22:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,538 | tst | Goto.tst | Title:
TestName: Проверка примитива Goto;
Difficulty: A1;
FullTime: 0;
Questions: 3;
EndTitle.
StartTest:
Question: 1;
Weight: 1.0;
BeginText:
Тест намеренно зациклен следующим образом первый вопрос, второй вопрос.
Чтобы остановиться выберите пункт меню Файл/закрыть тест.
EndText;
Choice:
AtX: 8;
AtY: 8;
Width... |
f897698f98de7c5be96b0c8473a41bb707ed0990 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.8/exa_1_8.sce | 4aa61befabf12924bf50e71e5fb573e532f18145 | [] | 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 | exa_1_8.sce | // Exa 1.8
clc;
clear;
close;
// Given data
format('v',13)
d= 2;// in mm
d=d*10^-3;//in m
sigma= 5.8*10^7;// in s/m
miu_c= 0.0032;// in m^2/v-sec
E= 20;//in mV/m
E=E*10^-3;//in V/m
e= 1.6*10^-19;// in C
// Part (a)
n= sigma/(e*miu_c);//in /m^3
disp(n,"Charge density per meter cube is : ")
// Part (b)
... |
d8a668fb6fac456f1c22fa1364621ef5c3d50227 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoEDFAgain.sci | 2abd831f52a40ba522c9f9014c006de6df8f2dcb | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sci | SSSoEDFAgain.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [Out,P_dBm]=SSSoEDFAgain(In,G_dB)
// A simple optical amplifier
//
// Calling Sequence
// [Out,P_dBm]=SSSoEDFAgain(In,G_dB)
//
// Parameters
// In : Optical Input
// Out : Optical... |
7667d72bc135c0677cc6a4109139ca9635944614 | 397456b742a46d88c251aa168bfe794903987f93 | /Butterfly Optimization Algorithm/standard/scilab/butterfly-oa.sce | 7d7bde2de322ce94e9db0164429fbfe6a2e0e448 | [] | no_license | JonesCG/PROJECT-NIOA | b5dcc7820d818369a4115fbb34b0f7ba02d7a129 | 7e6a3aa9a5deda6aa4eec9f4d523556844593c8b | refs/heads/master | 2022-08-16T14:06:54.967718 | 2020-05-18T08:17:47 | 2020-05-18T08:17:47 | 264,872,793 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,929 | sce | butterfly-oa.sce |
clc
clear
exec('objective.sce');
disp('RUNNING...')
rand('seed',getdate('s'))
POPSIZE = 50
DIM = 2
UPPER = 100
LOWER = -100
MAXITER = 50
a = 0.1 // power exponent
c = 0.01 // sensory modality
prob = 0.5 // or 0.8 // switch probability
BUTTERFLY = rand(POPSIZE,DIM).*(UPPER-LOWER)+LOWER
FIT = F1(BUTTERFLY)
[BESTFIT ... |
d5c9a5f277e0c3638fafb50756b10d4c65ff5078 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH6/EX6.16/Ex6_16.sce | 104649b86d7eb7dbebd172dcfc987bd0d53e96e2 | [] | 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,359 | sce | Ex6_16.sce |
// Theory and Problems of Thermodynamics
// Chapter 6
// Thermodynamic Potentials and Availability
// Example 16
clear ;clc;
//Given data
Ng = 10 // moles of a gas in kmol
T1_g = 700 // initial temperature of gas in K
T2_g = 320 // final temperature of gas in K
T... |
1521b156fb3a204a4d63c17f11102126bb9cb4a7 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/struct_rename_runme.sci | 482f49c61eb44eba9dfb50eae134b21175d638f1 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | struct_rename_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:a02063d3b77def630ab140dba81444aa27034665a13b810a5111f1df520d4790
size 182
|
093555e3513e1d4400bb12acf315de19986fb454 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/langs.tst | 813ec645ab5318bd38180e97318e15f4263e207d | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | tst | langs.tst | language Spanish
$thermo = VirtualMaterials.Advanced_Peng-Robinson
. -> $thermo
cd thermo
/thermo + PROPANE ISOBUTANE n-BUTANE
language Portuguese
/thermo - ISOBUTANE n-BUTANE
/thermo + ETHANE ISOBUTANE
language French
/thermo + n-BUTANE ISOPENTANE
cd $
cd $
thermo2 = VirtualMaterials.RK
cd thermo2
$thermo2 + PROPANE ... |
5c1c7f6a6a7ce5f3e4b1b33d323cf218e827dcea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH8/EX8.4/EX8_4.sce | 76dcbc22a48dbe2560324ddc95a9a1bd3966f27b | [] | 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 | 849 | sce | EX8_4.sce | //Chapter 8, Example 8.4
funcprot()
clc
//Initialisation
p1=20 //gain
p2=30 //gain
p3=40 //gain
//initialising a function for gain
function [x]=pgain(a) //function for power gain
x=10**(a/10)
endfunction
funct... |
b9dbbbb1a22b882ef7d4e6e0959f352b62ef9762 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH3/EX3.7/Ex3_7.sce | 18f53b0be60e674339892002843cae796223fe2a | [] | 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 | Ex3_7.sce | //Example 3.7 Reduction using K-Map
clc; //clears the console window
clear; //clears the variable browser
disp('f = a''b''c + a''bc'' + a''bc + ab''c''')
disp('The mapping is shown below')
disp(' A''B'' A''B AB AB''')
disp('C'' 1 1 - 1')
disp('C - 1 - -') //The kmap for f is di... |
f056eac2a73f9dc1f9b0229fc5834ca287f7e04d | 23314c7f41e73d972d0c32ef5e7a202967e3e7fb | /Code/sacred_new_prg.sce | 98e5d1e0dce25c54adbb40a0f20d4eb060b88933 | [
"MIT"
] | permissive | eyantra/CS684_Re--Plantation-bot_2013 | aaa5742fc39d2b690816bfe75405dee0e13facc3 | 4ed104aae46ec6efd3c27ccb88783e26e49f217c | refs/heads/master | 2020-04-29T02:15:31.538554 | 2019-10-16T10:06:23 | 2019-10-16T10:06:23 | 20,951,259 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,401 | sce | sacred_new_prg.sce |
clc;
getd('./functions') //adding the functions directly. location of all my function files
h = openserial(4,"9600,n,8,1"); // open serial port
//avicloseall(); //closing all open camera ports
//n = camopen(0); ... |
cb1e6d9728adf6873c86079b17ec8a62d9b388eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH8/EX8.2/Example8_2.sce | efe8e106c2aecbf9c071c8cbac37987b48a5e094 | [] | 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 | 634 | sce | Example8_2.sce | //Given that
mass = 2 //in kg
y1 = 5 //in meter
g = 9.8 //in m/s^2
ref = [0, 3, 5, 6]
//Sample Problem 8-2a
printf("**Sample Problem 8-2a**\n")
for x = ref
U = mass* g* (y1 - x)
printf("The potential energy at y1 is %dJ if reference is assumed to be at y=%d\n", U, x)
end
//sample Probelm 8-2b
... |
375506afe13fa99ea1304c45be096b8d09cfaf9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH4/EX4.3/4_3.sce | 12d9fd69ac80d8540cc768c4a9708b4e83616ebd | [] | 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 | 202 | sce | 4_3.sce | //example 4.3
clc; funcprot(0);
// Initialization of Variable
V=10.0;//ft^3
v1=26.8;//ft^3/lb
u1=1077.6;//btu/lb
u2=1161.6;//Btu/lb;
m=V/v1;
W=-m*(u2-u1);
disp(W,"Work done in Btu");
clear()
|
1eef73b8ff170d4996dcfbe6cc9d6bed3b69fe8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH1/EX1.4/ex1_4.sce | d2a6fec3a12ae579d1a4cbdaa32459490be8448b | [] | 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 | 47 | sce | ex1_4.sce | clc;
disp((460*0.00003*100000)/(9000*0.0062)); |
77c1ebbc226e8ede82db2fad1c5e0c8c91797c96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.13/15_13.sce | 5c3ecdc55d1627ddd1c59d0ec2dcac058d87b443 | [] | 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 | 562 | sce | 15_13.sce | //Chapter 15, Problem 13
clc;
R=25; //resistance in ohm
C=45e-6; //capacitance in farad
V=240; //supply voltage
f=50; //supply frequency
Xc=1/(2*%pi*f*C); //capacitive reactance
Z=sqrt(R^2+Xc^2); //impedance
I... |
e371b493418dc87d0bee25a6047240f7e5bcc528 | 5c4a19e674d3d4c9f8714cc056d7597a0f9cab51 | /Experiment_2.sce | d0d1503c7fff069df1caaaf866435f185820cd26 | [] | no_license | idyczko/Graduate_Project | f1fa672fd22b894d16f4ec82d101e13b624b1e56 | aced90cd634af106df651dd8761744a38cd1f7a1 | refs/heads/master | 2021-01-10T10:19:25.994422 | 2016-03-01T21:42:17 | 2016-03-01T21:42:17 | 44,832,960 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,206 | sce | Experiment_2.sce | xdel(winsid());
clear;
File = mgetl("frequency_double_measurement.txt");
Vector = evstr(File);
len= size(Vector);
frequency = len(2)/20;
time_stamp = 10000/frequency;
File = mgetl("Experiment_2_top.txt");
Vector = evstr(File);
Vector=Vector(131:length(Vector));
time_axis = 0:time_stamp/10000:length(Vector)*time_stamp/... |
34ad91f13d6c827086036c2c572efa81c2cdf376 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH9/EX9.10/9_10.sce | 2a5d341b83a98752dcfc2de8d99c72d47dcbf325 | [] | 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 | 495 | sce | 9_10.sce |
fl=10*10^6
fu=40*10^6
Wu=2*%pi*40*10^6
Wl=2*%pi*10*10^6
gc=0.9662
gL=0.62425
Wo=2*%pi*20*10^6
fo=sqrt(fl*fu)
printf("\nfo=%.2e Hz",fo)
CBP1=(Wu-Wl)/(Wo^2*gL)
LBP1=gL/(Wu-Wl)
printf("\nCBP1=%.3e F\nLBP1=%.4e H",CBP1,LBP1)
CBP2=(Wu-Wl)/(Wo^2*gc)
LBP2=gc/(Wu-Wl)
printf("\nCBP2=%.3e F\nLBP2=%.4e H",CBP2... |
4b86d6665c09b363882732cb3cb1b8e821dac217 | 3a031f437fdd7426aec9731b31871506b540c723 | /Pract8_1.sce | 9c561e44ee6392e47270253733b2f6ee579b3f32 | [] | no_license | mohammedkesury/Digital-Image-Processing | 006294df3c05100912ade8f75dcadc59f518cbba | 6589dcf0f400a803862fcd2194ff4b008ceb795e | refs/heads/master | 2020-04-20T05:20:20.161398 | 2019-04-09T16:04:04 | 2019-04-09T16:04:04 | 168,653,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | Pract8_1.sce | a=imread('D:\TYCS 37\DIP\letter1.bmp')
figure
imshow(a)
b=[1 1 1;1 1 1;1 1 1]
c=imdilate(a,b)
figure
imshow(c)
d=imerode(a,b)
figure
imshow(d)
|
e945bfcce8e29f97415dd9e0f7c5c20c094c5dbf | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /predict.sci | ec84de1c27af280baee953fddd37366dcf0badfb | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,365 | sci | predict.sci | function ypred = predict(x,data,nahead)
// x is an idpoly object
[lhs,rhs] = argn(0);
if(rhs<3)
nahead = 1;
end
y = data(:,1);
// make sure that data has output signal in its first coloumn
u = data(:,2);
// make sure that data has input signal in its second colou
... |
e0bd0696f4d3dbe24fa923ecabae801c6c0707fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH6/EX6.3/example6_3.sce | 750ee3a64fe4e17ba629dfabd347e566237ea55b | [] | 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 | example6_3.sce | // To find the maximum time
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 6-3 in Page 144
clear; clc; close;
// Given data
R = 100*(10^3); // Value of res... |
de0c894e40bc11fd14bf514163d21f51b19f985c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH13/EX13.2/Ex13_2.sce | 980d10dae6e3823d889e4143c615794511d15ed0 | [] | 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,718 | sce | Ex13_2.sce | // scilab Code Exa 13.2 Mach Number and loss coefficient
t=650; // in degree C
T01=t+273; // in Kelvin
p3=1; // Exit Pressure in bar
gamma=1.4;
sigma=0.66; // blade-to-isentropic speed ratio
N=16e3; // rotor Speed in RPM
b2=5/100; // blade height at entry in m
alpha_2=20; // air angle at nozzle exit
d_r=0.4... |
6e7f7daa441b4c4c9dffe46036c07cc2e15d3353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH8/EX8.2/8_2.sce | 2c0e8fb7a62947efcdd2aabf88018b70ad79c1a6 | [] | 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 | 365 | sce | 8_2.sce | clear
clc
disp('Exa-8.2(a)');
EKa=21.990;EKb=25.145;EK=25.514 //all the values are in KeV
ELo=EKb-EKa;printf('The enrgy of La of X-ray is %.3fKeV.\n',ELo); //Energy of La X-ray
disp('Exa-8.2(b)');
EL=-EK+EKa;printf('Hence the binding energy of the L electon is ... |
d36c4b23216fe39dfd773fbfe0163b52d0c410e7 | b3c9357cd1290921e67444ae057761959fdf24f1 | /Curso de programação com Scilab/códigos/bola.sce | 2a9dc0ac99241fdbc360597aea37e39e55a068e6 | [] | no_license | joaolrneto/Scilab | 91742520422426dc8a772997ef4a5d6376008b6e | f383f87e4585955cf19d0dae1b5c29f93c3f70b4 | refs/heads/master | 2023-02-05T20:13:03.677069 | 2020-12-30T14:53:09 | 2020-12-30T14:53:09 | 264,671,730 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,803 | sce | bola.sce | clc
clear
close
conv=%pi/180; //conversão de radianos para graus
g=-9.81;//aceleração devido a gravidade
vo=20;//velocidade inicial
//cria um vetor para todas as distâncias
distancia=zeros(1,91);
//calcula as distâncias máximas
for ii=1:91
theta=ii-1;
vxo=vo*cos(theta*conv);
vyo=vo*sin(theta*conv);
max_tempo=-2*vyo/g;
... |
d1a79a3096ee9893b31ca5e7262a68e76f2a764d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH5/EX5.9/5_9.sce | c44d8a99f6f4cd8820dc53729e63b139e52df7a0 | [] | 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 | 203 | sce | 5_9.sce | clc
//initialisation of variables
v= 27 //cp
s= 0.85
d= 1 //in
//CALCULATIONS
V= v/s
V1= V*0.001552
V2= 2000*V1/(12*d)
V3= 4000*V1/(12*d)
//RESULTS
printf ('Critical velocity = %.2f fps',V3)
|
27f02c0040b131f815914b8999c7bc0435d87dbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH7/EX7.5.3/Example_7_5_3.sce | ff68835ff4f98c0083d0f16b721f48fab8472bed | [] | 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 | 516 | sce | Example_7_5_3.sce | // Example 7.5.3 page 7.24
clc;
clear;
lamda1=1300d-9;
lamda2=1600d-9;
h=6.625d-34; //plank's constant
c=3d8; //speed of light
q=1.6d-19; //charge of electron
eta=90/100; //quantum efficiency
E=0.73; //energy gap in eV
R1=eta*q*lamda1/(h*c);
R2=eta*q*lamda2/(h*c);
lamdac=1.24/E;
printf... |
f8c790837407aa62e3bfc201dd0665f3fdd7a510 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.22/Ex4_22.sce | 5de68f024cfd2b632fa2bf9eb43c3c0fd981261c | [] | 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 | Ex4_22.sce | clc
// Given that
d= 0.05 // Depth of cut in mm
f =200 // Feed rate in mm/min
theta = 850 // Surface temperature in °C
Theta = 700 // Maximum surface temperature of workpiece surface required to maintain in °C
// Sample Problem 22 on page no. 251
printf("\n # PROBLEM 4.22 # \n")
K = theta * (f^0.2)/(d^0.9)
r = Theta/K... |
8f360fcdae8ae4b1e8027582f4afdad3761e3385 | eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c | /stlfiles/demos/ship_binary.sce | 5bd52d759a2eae4885e07426afe679070101d4cf | [] | no_license | Matthieu-71/PowerSubsystemSimulation | d1a5171ff763ca42db9d701f893d3ab257a1b882 | cdcff61d4a11509f5d9023fb295af6b8092a3c66 | refs/heads/master | 2020-03-16T23:33:28.836945 | 2018-05-24T00:10:57 | 2018-05-24T00:10:57 | 133,082,402 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | ship_binary.sce | stlpath = get_absolute_file_path("ship_binary.sce")
t = stlread(fullfile(stlpath, "ship.stl"), "binary");
figure
tcolor = 2*ones(1, size(t.x,"c"))
plot3d(t.x,t.y,list(t.z,tcolor));
a = gca()
a.isoview = "on"
|
c78c383f7c957211beadc25f4a4893367c0c5b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH3/EX3.10/Ex3_10.sce | 6caa12423164a9fbc304584403d140db390a39a9 | [] | 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 | 275 | sce | Ex3_10.sce |
//Exa:3.10
clc;
clear;
close;
//Given:
mf=1.0;
Jo=0.77;
//According the bessels Function table
j1=0.44;
j2=0.11;
j3=0.02;
printf("\n Firstsideband pairs :J1 = %f",j1);
printf("\n Secondsideband pairs :J2 = %f",j2);
printf("\n Thirdsideband pairs :J3 = %f",j3); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.